AWS::AppSync::ApiThe `AWS::AppSync::Api` resource creates an AWS AppSync API that you can use for an AWS AppSync API with your preferred configuration, such as an Event API that provides real-time message publishing and message subscriptions over WebSockets.
import { CfnApi } from 'aws-cdk-lib/aws-appsync';Or use the module namespace:
import * as appsync from 'aws-cdk-lib/aws-appsync';
// appsync.CfnApiConfiguration passed to the constructor as CfnApiProps.
nameRequiredstringThe name of the `Api` .
eventConfigOptionalIResolvable | EventConfigPropertyDescribes the authorization configuration for connections, message publishing, message subscriptions, and logging for an Event API.
ownerContactOptionalstringThe owner contact information for an API resource. This field accepts any string input with a length of 0 - 256 characters.
tagsOptionalCfnTag[]A set of tags (key-value pairs) for this API.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about AWS AppSync on one page. HD quality, print-friendly.
Download Free Infographicaws-appsyncAWS::AppSync::Api