interface CfnEventSubscriptionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Neptune.Mixins.CfnEventSubscriptionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsneptune/mixins#CfnEventSubscriptionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.neptune.mixins.CfnEventSubscriptionMixinProps |
Python | aws_cdk.mixins_preview.aws_neptune.mixins.CfnEventSubscriptionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_neptune » mixins » CfnEventSubscriptionMixinProps |
Properties for CfnEventSubscriptionPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as neptune_mixins } from '@aws-cdk/mixins-preview/aws-neptune';
const cfnEventSubscriptionMixinProps: neptune_mixins.CfnEventSubscriptionMixinProps = {
enabled: false,
eventCategories: ['eventCategories'],
snsTopicArn: 'snsTopicArn',
sourceIds: ['sourceIds'],
sourceType: 'sourceType',
subscriptionName: 'subscriptionName',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| enabled? | boolean | IResolvable | A Boolean value indicating if the subscription is enabled. |
| event | string[] | A list of event categories for a SourceType that you want to subscribe to. |
| sns | string | The topic ARN of the event notification subscription. |
| source | string[] | The list of identifiers of the event sources for which events will be returned. |
| source | string | The source type for the event notification subscription. |
| subscription | string | The name of the subscription. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
enabled?
Type:
boolean | IResolvable
(optional, default: true)
A Boolean value indicating if the subscription is enabled.
True indicates the subscription is enabled.
eventCategories?
Type:
string[]
(optional)
A list of event categories for a SourceType that you want to subscribe to.
You can see a list of the categories for a given SourceType in the Events topic in the Amazon Neptune User Guide or by using the DescribeEventCategories action.
snsTopicArn?
Type:
string
(optional)
The topic ARN of the event notification subscription.
sourceIds?
Type:
string[]
(optional)
The list of identifiers of the event sources for which events will be returned.
If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.
sourceType?
Type:
string
(optional)
The source type for the event notification subscription.
subscriptionName?
Type:
string
(optional)
The name of the subscription.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.

.NET
Go
Java
Python
TypeScript