Interface IEventApi.Jsii$Default
- All Superinterfaces:
IApi,IApi.Jsii$Default,IApiRef,IApiRef.Jsii$Default,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IEventApi,IResource,IResource.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IEventApi.Jsii$Proxy
- Enclosing interface:
IEventApi
Internal default implementation for
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.amazon.awscdk.interfaces.appsync.IApiRef
IApiRef.Jsii$Default, IApiRef.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.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.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 ChannelNamespaceadd a new channel namespace.default ChannelNamespaceaddChannelNamespace(String id, ChannelNamespaceOptions options) add a new channel namespace.default AppSyncDynamoDbDataSourceaddDynamoDbDataSource(String id, ITable table) Add a new DynamoDB data source to this API.default AppSyncDynamoDbDataSourceaddDynamoDbDataSource(String id, ITable table, AppSyncDataSourceOptions options) Add a new DynamoDB data source to this API.default AppSyncEventBridgeDataSourceaddEventBridgeDataSource(String id, IEventBus eventBus) Add an EventBridge data source to this api.default AppSyncEventBridgeDataSourceaddEventBridgeDataSource(String id, IEventBus eventBus, AppSyncDataSourceOptions options) Add an EventBridge data source to this api.default AppSyncHttpDataSourceaddHttpDataSource(String id, String endpoint) add a new http data source to this API.default AppSyncHttpDataSourceaddHttpDataSource(String id, String endpoint, AppSyncHttpDataSourceOptions options) add a new http data source to this API.default AppSyncLambdaDataSourceaddLambdaDataSource(String id, IFunction lambdaFunction) add a new Lambda data source to this API.default AppSyncLambdaDataSourceaddLambdaDataSource(String id, IFunction lambdaFunction, AppSyncDataSourceOptions options) add a new Lambda data source to this API.default AppSyncOpenSearchDataSourceaddOpenSearchDataSource(String id, IDomain domain) Add a new OpenSearch data source to this API.default AppSyncOpenSearchDataSourceaddOpenSearchDataSource(String id, IDomain domain, AppSyncDataSourceOptions options) Add a new OpenSearch data source to this API.default AppSyncRdsDataSourceaddRdsDataSource(String id, Object serverlessCluster, ISecret secretStore) add a new Rds data source to this API.default AppSyncRdsDataSourceaddRdsDataSource(String id, Object serverlessCluster, ISecret secretStore, String databaseName) add a new Rds data source to this API.default AppSyncRdsDataSourceaddRdsDataSource(String id, Object serverlessCluster, ISecret secretStore, String databaseName, AppSyncDataSourceOptions options) add a new Rds data source to this API.default List<AppSyncAuthorizationType> The Authorization Types for this Event Api.default StringThe domain name of the Api's HTTP endpoint.default StringThe domain name of the Api's real-time endpoint.default Grantgrant(IGrantable grantee, AppSyncEventResource resources, 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.IApi.Jsii$Default
getApiArn, getApiIdMethods inherited from interface software.amazon.awscdk.interfaces.appsync.IApiRef.Jsii$Default
getApiRefMethods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
-
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
-
addChannelNamespace
add a new channel namespace.- Specified by:
addChannelNamespacein interfaceIEventApi- Parameters:
id- the id of the channel namespace. This parameter is required.- Returns:
- the channel namespace
-
addDynamoDbDataSource
@Stability(Stable) @NotNull default AppSyncDynamoDbDataSource addDynamoDbDataSource(@NotNull String id, @NotNull ITable table, @Nullable AppSyncDataSourceOptions options) Add a new DynamoDB data source to this API.- Specified by:
addDynamoDbDataSourcein interfaceIEventApi- Parameters:
id- The data source's id. This parameter is required.table- The DynamoDB table backing this data source. This parameter is required.options- The optional configuration for this data source.
-
addDynamoDbDataSource
@Stability(Stable) @NotNull default AppSyncDynamoDbDataSource addDynamoDbDataSource(@NotNull String id, @NotNull ITable table) Add a new DynamoDB data source to this API.- Specified by:
addDynamoDbDataSourcein interfaceIEventApi- Parameters:
id- The data source's id. This parameter is required.table- The DynamoDB table backing this data source. This parameter is required.
-
addEventBridgeDataSource
@Stability(Stable) @NotNull default AppSyncEventBridgeDataSource addEventBridgeDataSource(@NotNull String id, @NotNull IEventBus eventBus, @Nullable AppSyncDataSourceOptions options) Add an EventBridge data source to this api.- Specified by:
addEventBridgeDataSourcein interfaceIEventApi- Parameters:
id- The data source's id. This parameter is required.eventBus- The EventBridge EventBus on which to put events. This parameter is required.options- The optional configuration for this data source.
-
addEventBridgeDataSource
@Stability(Stable) @NotNull default AppSyncEventBridgeDataSource addEventBridgeDataSource(@NotNull String id, @NotNull IEventBus eventBus) Add an EventBridge data source to this api.- Specified by:
addEventBridgeDataSourcein interfaceIEventApi- Parameters:
id- The data source's id. This parameter is required.eventBus- The EventBridge EventBus on which to put events. This parameter is required.
-
addHttpDataSource
@Stability(Stable) @NotNull default AppSyncHttpDataSource addHttpDataSource(@NotNull String id, @NotNull String endpoint, @Nullable AppSyncHttpDataSourceOptions options) add a new http data source to this API.- Specified by:
addHttpDataSourcein interfaceIEventApi- Parameters:
id- The data source's id. This parameter is required.endpoint- The http endpoint. This parameter is required.options- The optional configuration for this data source.
-
addHttpDataSource
@Stability(Stable) @NotNull default AppSyncHttpDataSource addHttpDataSource(@NotNull String id, @NotNull String endpoint) add a new http data source to this API.- Specified by:
addHttpDataSourcein interfaceIEventApi- Parameters:
id- The data source's id. This parameter is required.endpoint- The http endpoint. This parameter is required.
-
addLambdaDataSource
@Stability(Stable) @NotNull default AppSyncLambdaDataSource addLambdaDataSource(@NotNull String id, @NotNull IFunction lambdaFunction, @Nullable AppSyncDataSourceOptions options) add a new Lambda data source to this API.- Specified by:
addLambdaDataSourcein interfaceIEventApi- Parameters:
id- The data source's id. This parameter is required.lambdaFunction- The Lambda function to call to interact with this data source. This parameter is required.options- The optional configuration for this data source.
-
addLambdaDataSource
@Stability(Stable) @NotNull default AppSyncLambdaDataSource addLambdaDataSource(@NotNull String id, @NotNull IFunction lambdaFunction) add a new Lambda data source to this API.- Specified by:
addLambdaDataSourcein interfaceIEventApi- Parameters:
id- The data source's id. This parameter is required.lambdaFunction- The Lambda function to call to interact with this data source. This parameter is required.
-
addOpenSearchDataSource
@Stability(Stable) @NotNull default AppSyncOpenSearchDataSource addOpenSearchDataSource(@NotNull String id, @NotNull IDomain domain, @Nullable AppSyncDataSourceOptions options) Add a new OpenSearch data source to this API.- Specified by:
addOpenSearchDataSourcein interfaceIEventApi- Parameters:
id- The data source's id. This parameter is required.domain- The OpenSearch domain for this data source. This parameter is required.options- The optional configuration for this data source.
-
addOpenSearchDataSource
@Stability(Stable) @NotNull default AppSyncOpenSearchDataSource addOpenSearchDataSource(@NotNull String id, @NotNull IDomain domain) Add a new OpenSearch data source to this API.- Specified by:
addOpenSearchDataSourcein interfaceIEventApi- Parameters:
id- The data source's id. This parameter is required.domain- The OpenSearch domain for this data source. This parameter is required.
-
addRdsDataSource
@Stability(Stable) @NotNull default AppSyncRdsDataSource addRdsDataSource(@NotNull String id, @NotNull Object serverlessCluster, @NotNull ISecret secretStore, @Nullable String databaseName, @Nullable AppSyncDataSourceOptions options) add a new Rds data source to this API.- Specified by:
addRdsDataSourcein interfaceIEventApi- Parameters:
id- The data source's id. This parameter is required.serverlessCluster- The database cluster to interact with this data source. Takes union: eitherIDatabaseClusterorIServerlessCluster. This parameter is required.secretStore- The secret store that contains the username and password for the database cluster. This parameter is required.databaseName- The optional name of the database to use within the cluster.options- The optional configuration for this data source.
-
addRdsDataSource
@Stability(Stable) @NotNull default AppSyncRdsDataSource addRdsDataSource(@NotNull String id, @NotNull Object serverlessCluster, @NotNull ISecret secretStore, @Nullable String databaseName) add a new Rds data source to this API.- Specified by:
addRdsDataSourcein interfaceIEventApi- Parameters:
id- The data source's id. This parameter is required.serverlessCluster- The database cluster to interact with this data source. Takes union: eitherIDatabaseClusterorIServerlessCluster. This parameter is required.secretStore- The secret store that contains the username and password for the database cluster. This parameter is required.databaseName- The optional name of the database to use within the cluster.
-
addRdsDataSource
@Stability(Stable) @NotNull default AppSyncRdsDataSource addRdsDataSource(@NotNull String id, @NotNull Object serverlessCluster, @NotNull ISecret secretStore) add a new Rds data source to this API.- Specified by:
addRdsDataSourcein interfaceIEventApi- Parameters:
id- The data source's id. This parameter is required.serverlessCluster- The database cluster to interact with this data source. Takes union: eitherIDatabaseClusterorIServerlessCluster. This parameter is required.secretStore- The secret store that contains the username and password for the database cluster. This parameter is required.
-
grant
@Stability(Stable) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull AppSyncEventResource resources, @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.
-