CfnGraphQLSchemaMixinProps
- class aws_cdk.mixins_preview.aws_appsync.mixins.CfnGraphQLSchemaMixinProps(*, api_id=None, definition=None, definition_s3_location=None)
Bases:
objectProperties for CfnGraphQLSchemaPropsMixin.
- Parameters:
api_id (
Optional[str]) – The AWS AppSync GraphQL API identifier to which you want to apply this schema.definition (
Optional[str]) – The text representation of a GraphQL schema in SDL format. For more information about using theReffunction, see Ref .definition_s3_location (
Optional[str]) – 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.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_appsync import mixins as appsync_mixins cfn_graph_qLSchema_mixin_props = appsync_mixins.CfnGraphQLSchemaMixinProps( api_id="apiId", definition="definition", definition_s3_location="definitionS3Location" )
Attributes
- api_id
The AWS AppSync GraphQL API identifier to which you want to apply this schema.
- definition
The text representation of a GraphQL schema in SDL format.
For more information about using the
Reffunction, see Ref .
- definition_s3_location
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.