public static final class CfnEventSubscriptionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEventSubscriptionProps
CfnEventSubscriptionProps
CfnEventSubscriptionProps.Builder, CfnEventSubscriptionProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getEnabled()
A value that indicates whether to activate the subscription.
|
java.util.List<java.lang.String> |
getEventCategories()
A list of event categories for a particular source type ( `SourceType` ) that you want to subscribe to.
|
java.lang.String |
getSnsTopicArn()
The Amazon Resource Name (ARN) of the SNS topic created for event notification.
|
java.util.List<java.lang.String> |
getSourceIds()
The list of identifiers of the event sources for which events are returned.
|
java.lang.String |
getSourceType()
The type of source that is generating the events.
|
java.lang.String |
getSubscriptionName()
The name of the subscription.
|
java.util.List<CfnTag> |
getTags()
An optional array of key-value pairs to apply to this subscription.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getSnsTopicArn()
CfnEventSubscriptionProps
The ARN is created by Amazon SNS when you create a topic and subscribe to it.
getSnsTopicArn
in interface CfnEventSubscriptionProps
public final java.lang.Object getEnabled()
CfnEventSubscriptionProps
If the event notification subscription isn't activated, the subscription is created but not active.
getEnabled
in interface CfnEventSubscriptionProps
public final java.util.List<java.lang.String> getEventCategories()
CfnEventSubscriptionProps
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.
getEventCategories
in interface CfnEventSubscriptionProps
public final java.util.List<java.lang.String> getSourceIds()
CfnEventSubscriptionProps
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.getSourceIds
in interface CfnEventSubscriptionProps
public final java.lang.String getSourceType()
CfnEventSubscriptionProps
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
getSourceType
in interface CfnEventSubscriptionProps
public final java.lang.String getSubscriptionName()
CfnEventSubscriptionProps
Constraints: The name must be less than 255 characters.
getSubscriptionName
in interface CfnEventSubscriptionProps
public final java.util.List<CfnTag> getTags()
CfnEventSubscriptionProps
getTags
in interface CfnEventSubscriptionProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()