1. Packages
  2. AWS Native
  3. API Docs
  4. redshift
  5. EventSubscription

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.redshift.EventSubscription

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    The AWS::Redshift::EventSubscription resource creates an Amazon Redshift Event Subscription.

    Create EventSubscription Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EventSubscription(name: string, args?: EventSubscriptionArgs, opts?: CustomResourceOptions);
    @overload
    def EventSubscription(resource_name: str,
                          args: Optional[EventSubscriptionArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def EventSubscription(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          enabled: Optional[bool] = None,
                          event_categories: Optional[Sequence[EventSubscriptionEventCategoriesItem]] = None,
                          severity: Optional[EventSubscriptionSeverity] = None,
                          sns_topic_arn: Optional[str] = None,
                          source_ids: Optional[Sequence[str]] = None,
                          source_type: Optional[EventSubscriptionSourceType] = None,
                          subscription_name: Optional[str] = None,
                          tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewEventSubscription(ctx *Context, name string, args *EventSubscriptionArgs, opts ...ResourceOption) (*EventSubscription, error)
    public EventSubscription(string name, EventSubscriptionArgs? args = null, CustomResourceOptions? opts = null)
    public EventSubscription(String name, EventSubscriptionArgs args)
    public EventSubscription(String name, EventSubscriptionArgs args, CustomResourceOptions options)
    
    type: aws-native:redshift:EventSubscription
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EventSubscriptionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EventSubscriptionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EventSubscriptionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventSubscriptionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EventSubscriptionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const aws_nativeEventSubscriptionResource = new aws_native.redshift.EventSubscription("aws-nativeEventSubscriptionResource", {
        enabled: false,
        eventCategories: [aws_native.redshift.EventSubscriptionEventCategoriesItem.Configuration],
        severity: aws_native.redshift.EventSubscriptionSeverity.Error,
        snsTopicArn: "string",
        sourceIds: ["string"],
        sourceType: aws_native.redshift.EventSubscriptionSourceType.Cluster,
        subscriptionName: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    Coming soon!
    

    EventSubscription Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The EventSubscription resource accepts the following input properties:

    Enabled bool
    A boolean value; set to true to activate the subscription, and set to false to create the subscription but not activate it.
    EventCategories List<Pulumi.AwsNative.Redshift.EventSubscriptionEventCategoriesItem>
    Specifies the Amazon Redshift event categories to be published by the event notification subscription.
    Severity Pulumi.AwsNative.Redshift.EventSubscriptionSeverity
    Specifies the Amazon Redshift event severity to be published by the event notification subscription.
    SnsTopicArn string
    The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications.
    SourceIds List<string>
    A list of one or more identifiers of Amazon Redshift source objects.
    SourceType Pulumi.AwsNative.Redshift.EventSubscriptionSourceType
    The type of source that will be generating the events.
    SubscriptionName string
    The name of the Amazon Redshift event notification subscription
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    An array of key-value pairs to apply to this resource.
    Enabled bool
    A boolean value; set to true to activate the subscription, and set to false to create the subscription but not activate it.
    EventCategories []EventSubscriptionEventCategoriesItem
    Specifies the Amazon Redshift event categories to be published by the event notification subscription.
    Severity EventSubscriptionSeverity
    Specifies the Amazon Redshift event severity to be published by the event notification subscription.
    SnsTopicArn string
    The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications.
    SourceIds []string
    A list of one or more identifiers of Amazon Redshift source objects.
    SourceType EventSubscriptionSourceType
    The type of source that will be generating the events.
    SubscriptionName string
    The name of the Amazon Redshift event notification subscription
    Tags TagArgs
    An array of key-value pairs to apply to this resource.
    enabled Boolean
    A boolean value; set to true to activate the subscription, and set to false to create the subscription but not activate it.
    eventCategories List<EventSubscriptionEventCategoriesItem>
    Specifies the Amazon Redshift event categories to be published by the event notification subscription.
    severity EventSubscriptionSeverity
    Specifies the Amazon Redshift event severity to be published by the event notification subscription.
    snsTopicArn String
    The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications.
    sourceIds List<String>
    A list of one or more identifiers of Amazon Redshift source objects.
    sourceType EventSubscriptionSourceType
    The type of source that will be generating the events.
    subscriptionName String
    The name of the Amazon Redshift event notification subscription
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    enabled boolean
    A boolean value; set to true to activate the subscription, and set to false to create the subscription but not activate it.
    eventCategories EventSubscriptionEventCategoriesItem[]
    Specifies the Amazon Redshift event categories to be published by the event notification subscription.
    severity EventSubscriptionSeverity
    Specifies the Amazon Redshift event severity to be published by the event notification subscription.
    snsTopicArn string
    The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications.
    sourceIds string[]
    A list of one or more identifiers of Amazon Redshift source objects.
    sourceType EventSubscriptionSourceType
    The type of source that will be generating the events.
    subscriptionName string
    The name of the Amazon Redshift event notification subscription
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    enabled bool
    A boolean value; set to true to activate the subscription, and set to false to create the subscription but not activate it.
    event_categories Sequence[EventSubscriptionEventCategoriesItem]
    Specifies the Amazon Redshift event categories to be published by the event notification subscription.
    severity EventSubscriptionSeverity
    Specifies the Amazon Redshift event severity to be published by the event notification subscription.
    sns_topic_arn str
    The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications.
    source_ids Sequence[str]
    A list of one or more identifiers of Amazon Redshift source objects.
    source_type EventSubscriptionSourceType
    The type of source that will be generating the events.
    subscription_name str
    The name of the Amazon Redshift event notification subscription
    tags Sequence[TagArgs]
    An array of key-value pairs to apply to this resource.
    enabled Boolean
    A boolean value; set to true to activate the subscription, and set to false to create the subscription but not activate it.
    eventCategories List<"configuration" | "management" | "monitoring" | "security" | "pending">
    Specifies the Amazon Redshift event categories to be published by the event notification subscription.
    severity "ERROR" | "INFO"
    Specifies the Amazon Redshift event severity to be published by the event notification subscription.
    snsTopicArn String
    The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications.
    sourceIds List<String>
    A list of one or more identifiers of Amazon Redshift source objects.
    sourceType "cluster" | "cluster-parameter-group" | "cluster-security-group" | "cluster-snapshot" | "scheduled-action"
    The type of source that will be generating the events.
    subscriptionName String
    The name of the Amazon Redshift event notification subscription
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EventSubscription resource produces the following output properties:

    CustSubscriptionId string
    The name of the Amazon Redshift event notification subscription.
    CustomerAwsId string
    The AWS account associated with the Amazon Redshift event notification subscription.
    EventCategoriesList List<string>
    The list of Amazon Redshift event categories specified in the event notification subscription.
    Id string
    The provider-assigned unique ID for this managed resource.
    SourceIdsList List<string>
    A list of the sources that publish events to the Amazon Redshift event notification subscription.
    Status Pulumi.AwsNative.Redshift.EventSubscriptionStatus
    The status of the Amazon Redshift event notification subscription.
    SubscriptionCreationTime string
    The date and time the Amazon Redshift event notification subscription was created.
    CustSubscriptionId string
    The name of the Amazon Redshift event notification subscription.
    CustomerAwsId string
    The AWS account associated with the Amazon Redshift event notification subscription.
    EventCategoriesList []string
    The list of Amazon Redshift event categories specified in the event notification subscription.
    Id string
    The provider-assigned unique ID for this managed resource.
    SourceIdsList []string
    A list of the sources that publish events to the Amazon Redshift event notification subscription.
    Status EventSubscriptionStatus
    The status of the Amazon Redshift event notification subscription.
    SubscriptionCreationTime string
    The date and time the Amazon Redshift event notification subscription was created.
    custSubscriptionId String
    The name of the Amazon Redshift event notification subscription.
    customerAwsId String
    The AWS account associated with the Amazon Redshift event notification subscription.
    eventCategoriesList List<String>
    The list of Amazon Redshift event categories specified in the event notification subscription.
    id String
    The provider-assigned unique ID for this managed resource.
    sourceIdsList List<String>
    A list of the sources that publish events to the Amazon Redshift event notification subscription.
    status EventSubscriptionStatus
    The status of the Amazon Redshift event notification subscription.
    subscriptionCreationTime String
    The date and time the Amazon Redshift event notification subscription was created.
    custSubscriptionId string
    The name of the Amazon Redshift event notification subscription.
    customerAwsId string
    The AWS account associated with the Amazon Redshift event notification subscription.
    eventCategoriesList string[]
    The list of Amazon Redshift event categories specified in the event notification subscription.
    id string
    The provider-assigned unique ID for this managed resource.
    sourceIdsList string[]
    A list of the sources that publish events to the Amazon Redshift event notification subscription.
    status EventSubscriptionStatus
    The status of the Amazon Redshift event notification subscription.
    subscriptionCreationTime string
    The date and time the Amazon Redshift event notification subscription was created.
    cust_subscription_id str
    The name of the Amazon Redshift event notification subscription.
    customer_aws_id str
    The AWS account associated with the Amazon Redshift event notification subscription.
    event_categories_list Sequence[str]
    The list of Amazon Redshift event categories specified in the event notification subscription.
    id str
    The provider-assigned unique ID for this managed resource.
    source_ids_list Sequence[str]
    A list of the sources that publish events to the Amazon Redshift event notification subscription.
    status EventSubscriptionStatus
    The status of the Amazon Redshift event notification subscription.
    subscription_creation_time str
    The date and time the Amazon Redshift event notification subscription was created.
    custSubscriptionId String
    The name of the Amazon Redshift event notification subscription.
    customerAwsId String
    The AWS account associated with the Amazon Redshift event notification subscription.
    eventCategoriesList List<String>
    The list of Amazon Redshift event categories specified in the event notification subscription.
    id String
    The provider-assigned unique ID for this managed resource.
    sourceIdsList List<String>
    A list of the sources that publish events to the Amazon Redshift event notification subscription.
    status "active" | "no-permission" | "topic-not-exist"
    The status of the Amazon Redshift event notification subscription.
    subscriptionCreationTime String
    The date and time the Amazon Redshift event notification subscription was created.

    Supporting Types

    EventSubscriptionEventCategoriesItem, EventSubscriptionEventCategoriesItemArgs

    Configuration
    configuration
    Management
    management
    Monitoring
    monitoring
    Security
    security
    Pending
    pending
    EventSubscriptionEventCategoriesItemConfiguration
    configuration
    EventSubscriptionEventCategoriesItemManagement
    management
    EventSubscriptionEventCategoriesItemMonitoring
    monitoring
    EventSubscriptionEventCategoriesItemSecurity
    security
    EventSubscriptionEventCategoriesItemPending
    pending
    Configuration
    configuration
    Management
    management
    Monitoring
    monitoring
    Security
    security
    Pending
    pending
    Configuration
    configuration
    Management
    management
    Monitoring
    monitoring
    Security
    security
    Pending
    pending
    CONFIGURATION
    configuration
    MANAGEMENT
    management
    MONITORING
    monitoring
    SECURITY
    security
    PENDING
    pending
    "configuration"
    configuration
    "management"
    management
    "monitoring"
    monitoring
    "security"
    security
    "pending"
    pending

    EventSubscriptionSeverity, EventSubscriptionSeverityArgs

    Error
    ERROR
    Info
    INFO
    EventSubscriptionSeverityError
    ERROR
    EventSubscriptionSeverityInfo
    INFO
    Error
    ERROR
    Info
    INFO
    Error
    ERROR
    Info
    INFO
    ERROR
    ERROR
    INFO
    INFO
    "ERROR"
    ERROR
    "INFO"
    INFO

    EventSubscriptionSourceType, EventSubscriptionSourceTypeArgs

    Cluster
    cluster
    ClusterParameterGroup
    cluster-parameter-group
    ClusterSecurityGroup
    cluster-security-group
    ClusterSnapshot
    cluster-snapshot
    ScheduledAction
    scheduled-action
    EventSubscriptionSourceTypeCluster
    cluster
    EventSubscriptionSourceTypeClusterParameterGroup
    cluster-parameter-group
    EventSubscriptionSourceTypeClusterSecurityGroup
    cluster-security-group
    EventSubscriptionSourceTypeClusterSnapshot
    cluster-snapshot
    EventSubscriptionSourceTypeScheduledAction
    scheduled-action
    Cluster
    cluster
    ClusterParameterGroup
    cluster-parameter-group
    ClusterSecurityGroup
    cluster-security-group
    ClusterSnapshot
    cluster-snapshot
    ScheduledAction
    scheduled-action
    Cluster
    cluster
    ClusterParameterGroup
    cluster-parameter-group
    ClusterSecurityGroup
    cluster-security-group
    ClusterSnapshot
    cluster-snapshot
    ScheduledAction
    scheduled-action
    CLUSTER
    cluster
    CLUSTER_PARAMETER_GROUP
    cluster-parameter-group
    CLUSTER_SECURITY_GROUP
    cluster-security-group
    CLUSTER_SNAPSHOT
    cluster-snapshot
    SCHEDULED_ACTION
    scheduled-action
    "cluster"
    cluster
    "cluster-parameter-group"
    cluster-parameter-group
    "cluster-security-group"
    cluster-security-group
    "cluster-snapshot"
    cluster-snapshot
    "scheduled-action"
    scheduled-action

    EventSubscriptionStatus, EventSubscriptionStatusArgs

    Active
    active
    NoPermission
    no-permission
    TopicNotExist
    topic-not-exist
    EventSubscriptionStatusActive
    active
    EventSubscriptionStatusNoPermission
    no-permission
    EventSubscriptionStatusTopicNotExist
    topic-not-exist
    Active
    active
    NoPermission
    no-permission
    TopicNotExist
    topic-not-exist
    Active
    active
    NoPermission
    no-permission
    TopicNotExist
    topic-not-exist
    ACTIVE
    active
    NO_PERMISSION
    no-permission
    TOPIC_NOT_EXIST
    topic-not-exist
    "active"
    active
    "no-permission"
    no-permission
    "topic-not-exist"
    topic-not-exist

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi