aws-amplify / aws-amplify/docs

The CDK example with alpha version is broken

Open
#6,965 0 comments 0 reactions 0 assignees View on GitHub
amplify/js
Dominant language
MDX
Stars
506
Forks
1.1k
Avg merge
3h 14m
Merged PRs (30d)
1

Description

**Describe the content issue**:
The example with alpha version of a library is broken. The way to create an identity pool has changed.

```typescript
const identityPool = new cognito_identitypool.IdentityPool(stack, 'MyNewIdentityPool', {
allowUnauthenticatedIdentities: true,
authenticationProviders: { userPools: [new cognito_identitypool.UserPoolAuthenticationProvider({
userPool: ,
userPoolClient: ,
})] },
});

```

I would use an example with a stable library instead.

**URL page where content issue is**:
https://docs.amplify.aws/react/build-a-backend/graphqlapi/customize-authorization-rules/#public-data-access

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.