interface CfnGraphQLSchemaMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppSync.Mixins.CfnGraphQLSchemaMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappsync/mixins#CfnGraphQLSchemaMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.appsync.mixins.CfnGraphQLSchemaMixinProps |
Python | aws_cdk.mixins_preview.aws_appsync.mixins.CfnGraphQLSchemaMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_appsync » mixins » CfnGraphQLSchemaMixinProps |
Properties for CfnGraphQLSchemaPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as appsync_mixins } from '@aws-cdk/mixins-preview/aws-appsync';
const cfnGraphQLSchemaMixinProps: appsync_mixins.CfnGraphQLSchemaMixinProps = {
apiId: 'apiId',
definition: 'definition',
definitionS3Location: 'definitionS3Location',
};
Properties
| Name | Type | Description |
|---|---|---|
| api | string | The AWS AppSync GraphQL API identifier to which you want to apply this schema. |
| definition? | string | The text representation of a GraphQL schema in SDL format. |
| definition | string | The location of a GraphQL schema file in an Amazon S3 bucket. |
apiId?
Type:
string
(optional)
The AWS AppSync GraphQL API identifier to which you want to apply this schema.
definition?
Type:
string
(optional)
The text representation of a GraphQL schema in SDL format.
For more information about using the Ref function, see Ref .
definitionS3Location?
Type:
string
(optional)
The location of a GraphQL schema file in an Amazon S3 bucket.
Use this if you want to provision with the schema living in Amazon S3 rather than embedding it in your CloudFormation template.

.NET
Go
Java
Python
TypeScript