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
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:
- Subscription
Name string - The name of the Amazon Redshift event notification subscription
- Subscription
Name string - The name of the Amazon Redshift event notification subscription
- subscription
Name String - The name of the Amazon Redshift event notification subscription
- subscription
Name string - The name of the Amazon Redshift event notification subscription
- subscription_
name str - The name of the Amazon Redshift event notification subscription
- subscription
Name String - The name of the Amazon Redshift event notification subscription
getEventSubscription Result
The following output properties are available:
- Cust
Subscription stringId - The name of the Amazon Redshift event notification subscription.
- Customer
Aws stringId - 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 List<Pulumi.Aws Native. Redshift. Event Subscription Event Categories Item> - Specifies the Amazon Redshift event categories to be published by the event notification subscription.
- Event
Categories List<string>List - The list of Amazon Redshift event categories specified in the event notification subscription.
- Severity
Pulumi.
Aws Native. Redshift. Event Subscription Severity - Specifies the Amazon Redshift event severity to be published by the event notification subscription.
- Sns
Topic stringArn - The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications.
- Source
Ids List<string> - A list of one or more identifiers of Amazon Redshift source objects.
- Source
Ids List<string>List - A list of the sources that publish events to the Amazon Redshift event notification subscription.
- Source
Type Pulumi.Aws Native. Redshift. Event Subscription Source Type - The type of source that will be generating the events.
- Status
Pulumi.
Aws Native. Redshift. Event Subscription Status - The status of the Amazon Redshift event notification subscription.
- Subscription
Creation stringTime - The date and time the Amazon Redshift event notification subscription was created.
- Cust
Subscription stringId - The name of the Amazon Redshift event notification subscription.
- Customer
Aws stringId - 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 []EventSubscription Event Categories Item - Specifies the Amazon Redshift event categories to be published by the event notification subscription.
- Event
Categories []stringList - The list of Amazon Redshift event categories specified in the event notification subscription.
- Severity
Event
Subscription Severity - Specifies the Amazon Redshift event severity to be published by the event notification subscription.
- Sns
Topic stringArn - The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications.
- Source
Ids []string - A list of one or more identifiers of Amazon Redshift source objects.
- Source
Ids []stringList - A list of the sources that publish events to the Amazon Redshift event notification subscription.
- Source
Type EventSubscription Source Type - The type of source that will be generating the events.
- Status
Event
Subscription Status - The status of the Amazon Redshift event notification subscription.
- Subscription
Creation stringTime - The date and time the Amazon Redshift event notification subscription was created.
- cust
Subscription StringId - The name of the Amazon Redshift event notification subscription.
- customer
Aws StringId - 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.
- event
Categories List<EventSubscription Event Categories Item> - Specifies the Amazon Redshift event categories to be published by the event notification subscription.
- event
Categories List<String>List - The list of Amazon Redshift event categories specified in the event notification subscription.
- severity
Event
Subscription Severity - Specifies the Amazon Redshift event severity to be published by the event notification subscription.
- sns
Topic StringArn - The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications.
- source
Ids List<String> - A list of one or more identifiers of Amazon Redshift source objects.
- source
Ids List<String>List - A list of the sources that publish events to the Amazon Redshift event notification subscription.
- source
Type EventSubscription Source Type - The type of source that will be generating the events.
- status
Event
Subscription Status - The status of the Amazon Redshift event notification subscription.
- subscription
Creation StringTime - The date and time the Amazon Redshift event notification subscription was created.
- cust
Subscription stringId - The name of the Amazon Redshift event notification subscription.
- customer
Aws stringId - 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.
- event
Categories EventSubscription Event Categories Item[] - Specifies the Amazon Redshift event categories to be published by the event notification subscription.
- event
Categories string[]List - The list of Amazon Redshift event categories specified in the event notification subscription.
- severity
Event
Subscription Severity - Specifies the Amazon Redshift event severity to be published by the event notification subscription.
- sns
Topic stringArn - The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications.
- source
Ids string[] - A list of one or more identifiers of Amazon Redshift source objects.
- source
Ids string[]List - A list of the sources that publish events to the Amazon Redshift event notification subscription.
- source
Type EventSubscription Source Type - The type of source that will be generating the events.
- status
Event
Subscription Status - The status of the Amazon Redshift event notification subscription.
- subscription
Creation stringTime - The date and time the Amazon Redshift event notification subscription was created.
- cust_
subscription_ strid - The name of the Amazon Redshift event notification subscription.
- customer_
aws_ strid - 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[EventSubscription Event Categories Item] - Specifies the Amazon Redshift event categories to be published by the event notification subscription.
- event_
categories_ Sequence[str]list - The list of Amazon Redshift event categories specified in the event notification subscription.
- severity
Event
Subscription Severity - Specifies the Amazon Redshift event severity to be published by the event notification subscription.
- sns_
topic_ strarn - 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_ Sequence[str]list - A list of the sources that publish events to the Amazon Redshift event notification subscription.
- source_
type EventSubscription Source Type - The type of source that will be generating the events.
- status
Event
Subscription Status - The status of the Amazon Redshift event notification subscription.
- subscription_
creation_ strtime - The date and time the Amazon Redshift event notification subscription was created.
- cust
Subscription StringId - The name of the Amazon Redshift event notification subscription.
- customer
Aws StringId - 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.
- event
Categories List<"configuration" | "management" | "monitoring" | "security" | "pending"> - Specifies the Amazon Redshift event categories to be published by the event notification subscription.
- event
Categories List<String>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.
- sns
Topic StringArn - The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications.
- source
Ids List<String> - A list of one or more identifiers of Amazon Redshift source objects.
- source
Ids List<String>List - A list of the sources that publish events to the Amazon Redshift event notification subscription.
- source
Type "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.
- subscription
Creation StringTime - 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
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