Interface IEventApi.Jsii$Default
- All Superinterfaces:
IApi,IApi.Jsii$Default,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEventApi,IResource,IResource.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IEventApi.Jsii$Proxy
- Enclosing interface:
IEventApi
IEventApi.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.appsync.IApi
IApi.Jsii$Default, IApi.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.appsync.IEventApi
IEventApi.Jsii$Default, IEventApi.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault ChannelNamespaceaddChannelNamespace(String id, ChannelNamespaceOptions options) add a new channel namespace.default voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.default StringThe ARN of the AWS AppSync Api.default StringgetApiId()The unique identifier for the AWS AppSync Api generated by the service.default List<AppSyncAuthorizationType>The Authorization Types for this Event Api.default ResourceEnvironmentgetEnv()The environment this resource belongs to.default StringThe domain name of the Api's HTTP endpoint.default software.constructs.NodegetNode()The tree node.default StringThe domain name of the Api's real-time endpoint.default StackgetStack()The stack in which this resource is defined.default Grantgrant(IGrantable grantee, AppSyncEventResource resources, @NotNull String... actions) Adds an IAM policy statement associated with this Event API to an IAM principal's policy.default GrantgrantConnect(IGrantable grantee) Adds an IAM policy statement for EventConnect access to this EventApi to an IAM principal's policy.default GrantgrantPublish(IGrantable grantee) Adds an IAM policy statement for EventPublish access to this EventApi to an IAM principal's policy.default GrantgrantPublishAndSubscribe(IGrantable grantee) Adds an IAM policy statement to publish and subscribe to this API for an IAM principal's policy.default GrantgrantSubscribe(IGrantable grantee) Adds an IAM policy statement for EventSubscribe access to this EventApi to an IAM principal's policy.Methods inherited from interface software.amazon.awscdk.services.appsync.IEventApi
addChannelNamespaceMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNode
@Stability(Stable) @NotNull default software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfaceIApi.Jsii$Default- Specified by:
getNodein interfacesoftware.constructs.IConstruct- Specified by:
getNodein interfacesoftware.constructs.IConstruct.Jsii$Default- Specified by:
getNodein interfaceIResource.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
- Specified by:
getEnvin interfaceIApi.Jsii$Default- Specified by:
getEnvin interfaceIResource- Specified by:
getEnvin interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceIApi.Jsii$Default- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default
-
getApiArn
The ARN of the AWS AppSync Api.- Specified by:
getApiArnin interfaceIApi- Specified by:
getApiArnin interfaceIApi.Jsii$Default
-
getApiId
The unique identifier for the AWS AppSync Api generated by the service.- Specified by:
getApiIdin interfaceIApi- Specified by:
getApiIdin interfaceIApi.Jsii$Default
-
getAuthProviderTypes
The Authorization Types for this Event Api.- Specified by:
getAuthProviderTypesin interfaceIEventApi
-
getHttpDns
The domain name of the Api's HTTP endpoint.- Specified by:
getHttpDnsin interfaceIEventApi
-
getRealtimeDns
The domain name of the Api's real-time endpoint.- Specified by:
getRealtimeDnsin interfaceIEventApi
-
applyRemovalPolicy
Apply the given removal policy to this resource.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).- Specified by:
applyRemovalPolicyin interfaceIApi.Jsii$Default- Specified by:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin interfaceIResource.Jsii$Default- Parameters:
policy- This parameter is required.
-
addChannelNamespace
@Stability(Stable) @NotNull default ChannelNamespace addChannelNamespace(@NotNull String id, @Nullable ChannelNamespaceOptions options) add a new channel namespace.- Specified by:
addChannelNamespacein interfaceIEventApi- Parameters:
id- the id of the channel namespace. This parameter is required.options- the options for the channel namespace.- Returns:
- the channel namespace
-
grant
@Stability(Stable) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull AppSyncEventResource resources, @NotNull @NotNull String... actions) Adds an IAM policy statement associated with this Event API to an IAM principal's policy.- Specified by:
grantin interfaceIEventApi- Parameters:
grantee- The principal. This parameter is required.resources- The set of resources to allow (i.e. ...:[region]:[accountId]:apis/EventApiId/...). This parameter is required.actions- The actions that should be granted to the principal (i.e. appsync:EventPublish ). This parameter is required.
-
grantConnect
Adds an IAM policy statement for EventConnect access to this EventApi to an IAM principal's policy.- Specified by:
grantConnectin interfaceIEventApi- Parameters:
grantee- The principal. This parameter is required.
-
grantPublish
Adds an IAM policy statement for EventPublish access to this EventApi to an IAM principal's policy.- Specified by:
grantPublishin interfaceIEventApi- Parameters:
grantee- The principal. This parameter is required.
-
grantPublishAndSubscribe
Adds an IAM policy statement to publish and subscribe to this API for an IAM principal's policy.- Specified by:
grantPublishAndSubscribein interfaceIEventApi- Parameters:
grantee- The principal. This parameter is required.
-
grantSubscribe
Adds an IAM policy statement for EventSubscribe access to this EventApi to an IAM principal's policy.- Specified by:
grantSubscribein interfaceIEventApi- Parameters:
grantee- The principal. This parameter is required.
-