interface IntermediateTypeOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppSync.IntermediateTypeOptions |
Java | software.amazon.awscdk.services.appsync.IntermediateTypeOptions |
Python | aws_cdk.aws_appsync.IntermediateTypeOptions |
TypeScript (source) | @aws-cdk/aws-appsync » IntermediateTypeOptions |
Properties for configuring an Intermediate Type.
Example
const node = new appsync.InterfaceType('Node', {
definition: {
id: appsync.GraphqlType.string({ isRequired: true }),
},
});
const demo = new appsync.ObjectType('Demo', {
interfaceTypes: [ node ],
definition: {
version: appsync.GraphqlType.string({ isRequired: true }),
},
});
Properties
| Name | Type | Description |
|---|---|---|
| definition | { [string]: IField } | the attributes of this type. |
| directives? | Directive[] | the directives for this object type. |
definition
Type:
{ [string]: IField }
the attributes of this type.
directives?
Type:
Directive[]
(optional, default: no directives)
the directives for this object type.

.NET
Java
Python
TypeScript (