aws-native logo
AWS Native v0.63.0, May 25 23

aws-native.redshift.EventSubscription

Explore with Pulumi AI

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

Create EventSubscription Resource

new EventSubscription(name: string, args: EventSubscriptionArgs, opts?: CustomResourceOptions);
@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[EventSubscriptionTagArgs]] = None)
@overload
def EventSubscription(resource_name: str,
                      args: EventSubscriptionArgs,
                      opts: Optional[ResourceOptions] = None)
func NewEventSubscription(ctx *Context, name string, args EventSubscriptionArgs, opts ...ResourceOption) (*EventSubscription, error)
public EventSubscription(string name, EventSubscriptionArgs args, 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.

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.

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:

SubscriptionName string

The name of 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.

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.

Tags List<Pulumi.AwsNative.Redshift.Inputs.EventSubscriptionTagArgs>

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

SubscriptionName string

The name of 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.

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.

Tags []EventSubscriptionTagArgs

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

subscriptionName String

The name of 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.

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.

tags List<EventSubscriptionTagArgs>

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

subscriptionName string

The name of 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.

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.

tags EventSubscriptionTagArgs[]

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

subscription_name str

The name of 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.

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.

tags Sequence[EventSubscriptionTagArgs]

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

subscriptionName String

The name of 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.

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.

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

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

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

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

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

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
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0