CfnTypeProps
- class aws_cdk.aws_appsync.CfnTypeProps(*, api_id, definition, format)
Bases:
objectProperties for defining a
CfnType.- Parameters:
api_id (
str) – The API ID.definition (
str) – The type definition, in GraphQL Schema Definition Language (SDL) format.format (
str) – The type format: SDL or JSON.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-type.html
- 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 import aws_appsync as appsync cfn_type_props = appsync.CfnTypeProps( api_id="apiId", definition="definition", format="format" )
Attributes
- api_id
The API ID.
- definition
The type definition, in GraphQL Schema Definition Language (SDL) format.
- format
SDL or JSON.