interface CfnEventSubscriptionProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Neptune.CfnEventSubscriptionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsneptune#CfnEventSubscriptionProps |
Java | software.amazon.awscdk.services.neptune.CfnEventSubscriptionProps |
Python | aws_cdk.aws_neptune.CfnEventSubscriptionProps |
TypeScript | aws-cdk-lib » aws_neptune » CfnEventSubscriptionProps |
Properties for defining a CfnEventSubscription
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_neptune as neptune } from 'aws-cdk-lib';
const cfnEventSubscriptionProps: neptune.CfnEventSubscriptionProps = {
enabled: false,
eventCategories: ['eventCategories'],
snsTopicArn: 'snsTopicArn',
sourceIds: ['sourceIds'],
sourceType: 'sourceType',
};
Properties
Name | Type | Description |
---|---|---|
enabled? | boolean | IResolvable | A Boolean value indicating if the subscription is enabled. |
event | string[] | |
sns | string | The topic ARN of the event notification subscription. |
source | string[] | |
source | string | The source type for the event notification subscription. |
enabled?
Type:
boolean |
IResolvable
(optional)
A Boolean value indicating if the subscription is enabled.
True indicates the subscription is enabled.
eventCategories?
Type:
string[]
(optional)
snsTopicArn?
Type:
string
(optional)
The topic ARN of the event notification subscription.
sourceIds?
Type:
string[]
(optional)
sourceType?
Type:
string
(optional)
The source type for the event notification subscription.