Skip to content

Commit 24dc656

Browse files
committed
updates
1 parent d4c5428 commit 24dc656

File tree

1 file changed

+2
-2
lines changed
  • src/pages/[platform]/build-a-backend/auth/use-existing-cognito-resources

1 file changed

+2
-2
lines changed

src/pages/[platform]/build-a-backend/auth/use-existing-cognito-resources/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Configuring the mobile client libraries directly is not supported, however you c
112112

113113
## Use auth resources with an Amplify backend
114114

115-
If you have created Amazon Cognito resources outside of the context of your Amplify app such as creating resources through the AWS Console or consuming resources created by a separate team, you can use `referenceAuth` to reference the existing resources.
115+
If you have created Amazon Cognito resources outside of the context of your Amplify app such as creating resources through the AWS Console or consuming resources created by a separate team, you can use `referenceAuth` to reference the existing resources. It requires a user pool, a user pool client, identity pool, and an authenticated & unauthenticated IAM role configured on your identity pool.
116116

117117
```ts title="amplify/auth/resource.ts"
118118
import { referenceAuth } from '@aws-amplify/backend';
@@ -128,7 +128,7 @@ export const auth = referenceAuth({
128128

129129
<Callout info>
130130

131-
Referenced resources cannot be modified. IAM policies specific to your Amplify application will be appended to your authenticated and unauthenticated roles, and applications using the referenced resource will be able to create users in the Cognito user pool and identities in the Cognito identity pool.
131+
The configuration of your referenced resources cannot be modified. IAM policies specific to your Amplify application will be appended to your authenticated and unauthenticated roles, and applications using the referenced resource will be able to create users in the Cognito user pool and identities in the Cognito identity pool.
132132

133133
</Callout>
134134

0 commit comments

Comments
 (0)