Class CfnEventSubscriptionProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.redshift.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

    • getSubscriptionName

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

      Constraints:

      • Cannot be null, empty, or blank.
      • Must contain from 1 to 255 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.
      Specified by:
      getSubscriptionName in interface CfnEventSubscriptionProps
    • getEnabled

      public final Object getEnabled()
      Description copied from interface: CfnEventSubscriptionProps
      A boolean value;

      set to true to activate the subscription, and set to false to create the subscription but not activate it.

      Specified by:
      getEnabled in interface CfnEventSubscriptionProps
    • getEventCategories

      public final List<String> getEventCategories()
      Description copied from interface: CfnEventSubscriptionProps
      Specifies the Amazon Redshift event categories to be published by the event notification subscription.

      Values: configuration, management, monitoring, security, pending

      Specified by:
      getEventCategories in interface CfnEventSubscriptionProps
    • getSeverity

      public final String getSeverity()
      Description copied from interface: CfnEventSubscriptionProps
      Specifies the Amazon Redshift event severity to be published by the event notification subscription.

      Values: ERROR, INFO

      Specified by:
      getSeverity in interface CfnEventSubscriptionProps
    • getSnsTopicArn

      public final String getSnsTopicArn()
      Description copied from interface: CfnEventSubscriptionProps
      The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications.

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

      Specified by:
      getSnsTopicArn in interface CfnEventSubscriptionProps
    • getSourceIds

      public final List<String> getSourceIds()
      Description copied from interface: CfnEventSubscriptionProps
      A list of one or more identifiers of Amazon Redshift source objects.

      All of the objects must be of the same type as was specified in the source type parameter. The event subscription will return only events generated by the specified objects. If not specified, then events are returned for all objects within the source type specified.

      Example: my-cluster-1, my-cluster-2

      Example: my-snapshot-20131010

      Specified by:
      getSourceIds in interface CfnEventSubscriptionProps
    • getSourceType

      public final String getSourceType()
      Description copied from interface: CfnEventSubscriptionProps
      The type of source that will be generating the events.

      For example, if you want to be notified of events generated by a cluster, you would set this parameter to cluster. If this value is not specified, events are returned for all Amazon Redshift objects in your AWS account . You must specify a source type in order to specify source IDs.

      Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and scheduled-action.

      Specified by:
      getSourceType in interface CfnEventSubscriptionProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnEventSubscriptionProps
      A list of tag instances.
      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