AWS Native

Pulumi Official
Package maintained by Pulumi
v0.16.1 published on Saturday, Apr 30, 2022 by Pulumi

getEventSubscription

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.

Tags List<Pulumi.AwsNative.Redshift.Outputs.EventSubscriptionTag>

An array of key-value pairs to apply to this resource.

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.

Tags []EventSubscriptionTag

An array of key-value pairs to apply to this resource.

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 ListSubscriptionEventCategoriesItem>

Specifies the Amazon Redshift event categories to be published by the event notification subscription.

eventCategoriesList List

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

A list of one or more identifiers of Amazon Redshift source objects.

sourceIdsList List

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.

tags ListSubscriptionTag>

An array of key-value pairs to apply to this resource.

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.

tags EventSubscriptionTag[]

An array of key-value pairs to apply to this resource.

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.

tags Sequence[EventSubscriptionTag]

An array of key-value pairs to apply to this resource.

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

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

A list of one or more identifiers of Amazon Redshift source objects.

sourceIdsList List

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.

tags List

An array of key-value pairs to apply to this resource.

Supporting Types

EventSubscriptionEventCategoriesItem

EventSubscriptionSeverity

EventSubscriptionSourceType

EventSubscriptionStatus

EventSubscriptionTag

Key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value string

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key str

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value str

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0