1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. redshift
  5. getEventSubscription

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.redshift.getEventSubscription

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

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

    Using getEventSubscription

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getEventSubscription(args: GetEventSubscriptionArgs, opts?: InvokeOptions): Promise<GetEventSubscriptionResult>
    function getEventSubscriptionOutput(args: GetEventSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetEventSubscriptionResult>
    def get_event_subscription(subscription_name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetEventSubscriptionResult
    def get_event_subscription_output(subscription_name: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetEventSubscriptionResult]
    func LookupEventSubscription(ctx *Context, args *LookupEventSubscriptionArgs, opts ...InvokeOption) (*LookupEventSubscriptionResult, error)
    func LookupEventSubscriptionOutput(ctx *Context, args *LookupEventSubscriptionOutputArgs, opts ...InvokeOption) LookupEventSubscriptionResultOutput

    > Note: This function is named LookupEventSubscription in the Go SDK.

    public static class GetEventSubscription 
    {
        public static Task<GetEventSubscriptionResult> InvokeAsync(GetEventSubscriptionArgs args, InvokeOptions? opts = null)
        public static Output<GetEventSubscriptionResult> Invoke(GetEventSubscriptionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEventSubscriptionResult> getEventSubscription(GetEventSubscriptionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:redshift:getEventSubscription
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SubscriptionName string
    The name of the Amazon Redshift event notification subscription
    SubscriptionName string
    The name of the Amazon Redshift event notification subscription
    subscriptionName String
    The name of the Amazon Redshift event notification subscription
    subscriptionName string
    The name of the Amazon Redshift event notification subscription
    subscription_name str
    The name of the Amazon Redshift event notification subscription
    subscriptionName String
    The name of the Amazon Redshift event notification subscription

    getEventSubscription Result

    The following output properties are available:

    CustSubscriptionId string
    The name of the Amazon Redshift event notification subscription.
    CustomerAwsId string
    The AWS account associated with the Amazon Redshift event notification subscription.
    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.
    EventCategoriesList List<string>
    The list of Amazon Redshift event categories specified in 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.
    SourceIdsList List<string>
    A list of the sources that publish events to the Amazon Redshift event notification subscription.
    SourceType Pulumi.AwsNative.Redshift.EventSubscriptionSourceType
    The type of source that will be generating the events.
    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.
    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.
    EventCategoriesList []string
    The list of Amazon Redshift event categories specified in 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.
    SourceIdsList []string
    A list of the sources that publish events to the Amazon Redshift event notification subscription.
    SourceType EventSubscriptionSourceType
    The type of source that will be generating the events.
    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.
    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.
    eventCategoriesList List<String>
    The list of Amazon Redshift event categories specified in 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.
    sourceIdsList List<String>
    A list of the sources that publish events to the Amazon Redshift event notification subscription.
    sourceType EventSubscriptionSourceType
    The type of source that will be generating the events.
    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.
    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.
    eventCategoriesList string[]
    The list of Amazon Redshift event categories specified in 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.
    sourceIdsList string[]
    A list of the sources that publish events to the Amazon Redshift event notification subscription.
    sourceType EventSubscriptionSourceType
    The type of source that will be generating the events.
    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.
    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.
    event_categories_list Sequence[str]
    The list of Amazon Redshift event categories specified in 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_ids_list Sequence[str]
    A list of the sources that publish events to the Amazon Redshift event notification subscription.
    source_type EventSubscriptionSourceType
    The type of source that will be generating the events.
    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.
    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.
    eventCategoriesList List<String>
    The list of Amazon Redshift event categories specified in 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.
    sourceIdsList List<String>
    A list of the sources that publish events to the Amazon Redshift event notification subscription.
    sourceType "cluster" | "cluster-parameter-group" | "cluster-security-group" | "cluster-snapshot" | "scheduled-action"
    The type of source that will be generating the events.
    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

    EventSubscriptionSeverity

    EventSubscriptionSourceType

    EventSubscriptionStatus

    Package Details

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

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi