Class CfnEventSubscriptionProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.rds.CfnEventSubscriptionProps.Jsii$Proxy
All Implemented Interfaces:
CfnEventSubscriptionProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnEventSubscriptionProps

@Stability(Stable) @Internal public static final class CfnEventSubscriptionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEventSubscriptionProps
An implementation for CfnEventSubscriptionProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnEventSubscriptionProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnEventSubscriptionProps.Builder.
  • Method Details

    • getSnsTopicArn

      public final String getSnsTopicArn()
      Description copied from interface: CfnEventSubscriptionProps
      The Amazon Resource Name (ARN) of the SNS topic created for event notification.

      The ARN is created by Amazon SNS when you create a topic and subscribe to it.

      Specified by:
      getSnsTopicArn in interface CfnEventSubscriptionProps
    • getEnabled

      public final Object getEnabled()
      Description copied from interface: CfnEventSubscriptionProps
      A value that indicates whether to activate the subscription.

      If the event notification subscription isn't activated, the subscription is created but not active.

      Specified by:
      getEnabled in interface CfnEventSubscriptionProps
    • getEventCategories

      public final List<String> getEventCategories()
      Description copied from interface: CfnEventSubscriptionProps
      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.

      Specified by:
      getEventCategories in interface CfnEventSubscriptionProps
    • getSourceIds

      public final List<String> getSourceIds()
      Description copied from interface: CfnEventSubscriptionProps
      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:

      • If a SourceIds value is supplied, SourceType must also be provided.
      • If the source type is a DB instance, a DBInstanceIdentifier value must be supplied.
      • If the source type is a DB cluster, a DBClusterIdentifier value must be supplied.
      • If the source type is a DB parameter group, a DBParameterGroupName value must be supplied.
      • If the source type is a DB security group, a DBSecurityGroupName value must be supplied.
      • If the source type is a DB snapshot, a DBSnapshotIdentifier value must be supplied.
      • If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier value must be supplied.
      Specified by:
      getSourceIds in interface CfnEventSubscriptionProps
    • getSourceType

      public final String getSourceType()
      Description copied from interface: CfnEventSubscriptionProps
      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

      Specified by:
      getSourceType in interface CfnEventSubscriptionProps
    • getSubscriptionName

      public final String getSubscriptionName()
      Description copied from interface: CfnEventSubscriptionProps
      The name of the subscription.

      Constraints: The name must be less than 255 characters.

      Specified by:
      getSubscriptionName in interface CfnEventSubscriptionProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnEventSubscriptionProps
      An optional array of key-value pairs to apply to this subscription.
      Specified by:
      getTags in interface CfnEventSubscriptionProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object