@Stability(value=Stable) public static final class CfnEventSubscriptionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnEventSubscriptionProps>
CfnEventSubscriptionProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnEventSubscriptionProps.Builder snsTopicArn(String snsTopicArn)
CfnEventSubscriptionProps.getSnsTopicArn()snsTopicArn - The Amazon Resource Name (ARN) of the SNS topic created for event notification. This parameter is required.
The ARN is created by Amazon SNS when you create a topic and subscribe to it.this@Stability(value=Stable) public CfnEventSubscriptionProps.Builder enabled(Boolean enabled)
CfnEventSubscriptionProps.getEnabled()enabled - A value that indicates whether to activate the subscription.
If the event notification subscription isn't activated, the subscription is created but not active.this@Stability(value=Stable) public CfnEventSubscriptionProps.Builder enabled(IResolvable enabled)
CfnEventSubscriptionProps.getEnabled()enabled - A value that indicates whether to activate the subscription.
If the event notification subscription isn't activated, the subscription is created but not active.this@Stability(value=Stable) public CfnEventSubscriptionProps.Builder eventCategories(List<String> eventCategories)
CfnEventSubscriptionProps.getEventCategories()eventCategories - A list of event categories for a particular source type ( `SourceType` ) that you want to subscribe to.
You can see a list of the categories for a given source type in the "Amazon RDS event categories and event messages" section of the Amazon RDS User Guide or the Amazon Aurora User Guide . You can also see this list by using the DescribeEventCategories operation.this@Stability(value=Stable) public CfnEventSubscriptionProps.Builder sourceIds(List<String> sourceIds)
CfnEventSubscriptionProps.getSourceIds()sourceIds - The list of identifiers of the event sources for which events are 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 can't end with a hyphen or contain two consecutive hyphens.
Constraints:
SourceIds value is supplied, SourceType must also be provided.DBInstanceIdentifier value must be supplied.DBClusterIdentifier value must be supplied.DBParameterGroupName value must be supplied.DBSecurityGroupName value must be supplied.DBSnapshotIdentifier value must be supplied.DBClusterSnapshotIdentifier value must be supplied.this@Stability(value=Stable) public CfnEventSubscriptionProps.Builder sourceType(String sourceType)
CfnEventSubscriptionProps.getSourceType()sourceType - The type of source that is generating the events.
For example, if you want to be notified of events generated by a DB instance, set this parameter to db-instance . If this value isn't specified, all events are returned.
Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot
this@Stability(value=Stable) public CfnEventSubscriptionProps.Builder subscriptionName(String subscriptionName)
CfnEventSubscriptionProps.getSubscriptionName()subscriptionName - `AWS::RDS::EventSubscription.SubscriptionName`.this@Stability(value=Stable) public CfnEventSubscriptionProps.Builder tags(List<? extends CfnTag> tags)
CfnEventSubscriptionProps.getTags()tags - `AWS::RDS::EventSubscription.Tags`.this@Stability(value=Stable) public CfnEventSubscriptionProps build()
build in interface software.amazon.jsii.Builder<CfnEventSubscriptionProps>CfnEventSubscriptionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.