Skip to content

Commit

Permalink
chore: added filter to fix broken link (#7382)
Browse files Browse the repository at this point in the history
  • Loading branch information
khatruong2009 committed May 4, 2024
1 parent 6b05e17 commit e7d8ffb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/fragments/lib-v1/graphqlapi/existing-resources.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,27 @@ Existing AWS AppSync resources can be used with the Amplify Libraries by referen
}
```

<InlineFilter filters={
[
'ios',
'android',
]
}>
- **API NAME**: Friendly name for the API (e.g., _api_)
- **endpoint**: The HTTPS endpoint of the AWS AppSync API (e.g. `https://aaaaaaaaaaaaaaaaaaaaaaaaaa.appsync-api.us-east-1.amazonaws.com/graphql`). [Custom domain names](https://docs.aws.amazon.com/appsync/latest/devguide/custom-domain-name.html) can also be supplied here (e.g. `https://api.yourdomain.com/graphql`). Custom domain names can have any format, but must end with `/graphql` (see https://graphql.org/learn/serving-over-http/#uris-routes).
- **region**: AWS Region where the resources are provisioned (e.g. _us-east-1_)
- **authorizationType**: Authorization mode for accessing the API. This can be one of: `AMAZON_COGNITO_USER_POOLS`, `AWS_IAM`, `OPENID_CONNECT`, or `API_KEY`. Each mode requires additional configuration parameters. See [Configure authorization modes](/gen1/[platform]/prev/build-a-backend/graphqlapi/customize-authz-modes) for details.
</InlineFilter>

<InlineFilter filters={
[
'flutter',
]
}>
- **API NAME**: Friendly name for the API (e.g., _api_)
- **endpoint**: The HTTPS endpoint of the AWS AppSync API (e.g. `https://aaaaaaaaaaaaaaaaaaaaaaaaaa.appsync-api.us-east-1.amazonaws.com/graphql`). [Custom domain names](https://docs.aws.amazon.com/appsync/latest/devguide/custom-domain-name.html) can also be supplied here (e.g. `https://api.yourdomain.com/graphql`). Custom domain names can have any format, but must end with `/graphql` (see https://graphql.org/learn/serving-over-http/#uris-routes).
- **region**: AWS Region where the resources are provisioned (e.g. _us-east-1_)
- **authorizationType**: Authorization mode for accessing the API. This can be one of: `AMAZON_COGNITO_USER_POOLS`, `AWS_IAM`, `OPENID_CONNECT`, or `API_KEY`. Each mode requires additional configuration parameters. See [Configure authorization modes](/gen1/[platform]/prev/build-a-backend/graphqlapi/customize-authorization-modes) for details.
</InlineFilter>

Note that before you can add an AWS resource to your application, the application must have the Amplify libraries installed. If you need to perform this step, see [Install Amplify Libraries](/gen1/[platform]/prev/start/project-setup/create-application/#n2-install-amplify-libraries).

0 comments on commit e7d8ffb

Please sign in to comment.