interface EventApiAttributes
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppSync.EventApiAttributes |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappsync#EventApiAttributes |
![]() | software.amazon.awscdk.services.appsync.EventApiAttributes |
![]() | aws_cdk.aws_appsync.EventApiAttributes |
![]() | aws-cdk-lib » aws_appsync » EventApiAttributes |
Attributes for Event API imports.
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 eventApiAttributes: appsync.EventApiAttributes = {
apiArn: 'apiArn',
apiId: 'apiId',
apiName: 'apiName',
httpDns: 'httpDns',
realtimeDns: 'realtimeDns',
// the properties below are optional
authProviderTypes: [appsync.AppSyncAuthorizationType.API_KEY],
};
Properties
Name | Type | Description |
---|---|---|
api | string | the ARN of the Event API. |
api | string | an unique AWS AppSync Event API identifier i.e. 'lxz775lwdrgcndgz3nurvac7oa'. |
api | string | the name of the Event API. |
http | string | the domain name of the Api's HTTP endpoint. |
realtime | string | the domain name of the Api's real-time endpoint. |
auth | App [] | The Authorization Types for this Event Api. |
apiArn
Type:
string
the ARN of the Event API.
apiId
Type:
string
an unique AWS AppSync Event API identifier i.e. 'lxz775lwdrgcndgz3nurvac7oa'.
apiName
Type:
string
the name of the Event API.
httpDns
Type:
string
the domain name of the Api's HTTP endpoint.
realtimeDns
Type:
string
the domain name of the Api's real-time endpoint.
authProviderTypes?
Type:
App
[]
(optional, default: none, required to construct event rules from imported APIs)
The Authorization Types for this Event Api.