interface CfnTypeProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppSync.CfnTypeProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappsync#CfnTypeProps |
Java | software.amazon.awscdk.services.appsync.CfnTypeProps |
Python | aws_cdk.aws_appsync.CfnTypeProps |
TypeScript | aws-cdk-lib » aws_appsync » CfnTypeProps |
Properties for defining a CfnType.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-type.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appsync as appsync } from 'aws-cdk-lib';
const cfnTypeProps: appsync.CfnTypeProps = {
apiId: 'apiId',
definition: 'definition',
format: 'format',
};
Properties
| Name | Type | Description |
|---|---|---|
| api | string | The API ID. |
| definition | string | The type definition, in GraphQL Schema Definition Language (SDL) format. |
| format | string | The type format: SDL or JSON. |
apiId
Type:
string
The API ID.
definition
Type:
string
The type definition, in GraphQL Schema Definition Language (SDL) format.
format
Type:
string
The type format: SDL or JSON.

.NET
Go
Java
Python
TypeScript