AWS Native v0.63.0, May 25 23
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:
- Subscription
Name 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.
- 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.
- 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
Type Pulumi.Aws Native. Redshift. Event Subscription Source Type The type of source that will be generating the events.
- List<Pulumi.
Aws Native. Redshift. Inputs. Event Subscription Tag Args> An array of key-value pairs to apply to this resource.
- Subscription
Name 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.
- Event
Categories []EventSubscription Event Categories Item Specifies the Amazon Redshift event categories to be published by 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
Type EventSubscription Source Type The type of source that will be generating the events.
- []Event
Subscription Tag Args An array of key-value pairs to apply to this resource.
- subscription
Name 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.
- event
Categories List<EventSubscription Event Categories Item> Specifies the Amazon Redshift event categories to be published by 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
Type EventSubscription Source Type The type of source that will be generating the events.
- List<Event
Subscription Tag Args> An array of key-value pairs to apply to this resource.
- subscription
Name 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.
- event
Categories EventSubscription Event Categories Item[] Specifies the Amazon Redshift event categories to be published by 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
Type EventSubscription Source Type The type of source that will be generating the events.
- Event
Subscription Tag Args[] 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[EventSubscription Event Categories Item] Specifies the Amazon Redshift event categories to be published by 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_
type EventSubscription Source Type The type of source that will be generating the events.
- Sequence[Event
Subscription Tag Args] An array of key-value pairs to apply to this resource.
- subscription
Name 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.
- event
Categories 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.
- 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
Type "cluster" | "cluster-parameter-group" | "cluster-security-group" | "cluster-snapshot" | "scheduled-action" The type of source that will be generating the events.
- 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:
- 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.
- Event
Categories List<string>List The list of Amazon Redshift event categories specified in the event notification subscription.
- Id string
The provider-assigned unique ID for this managed resource.
- Source
Ids List<string>List A list of the sources that publish events to the Amazon Redshift event notification subscription.
- 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.
- Event
Categories []stringList The list of Amazon Redshift event categories specified in the event notification subscription.
- Id string
The provider-assigned unique ID for this managed resource.
- Source
Ids []stringList A list of the sources that publish events to the Amazon Redshift event notification subscription.
- 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.
- event
Categories List<String>List The list of Amazon Redshift event categories specified in the event notification subscription.
- id String
The provider-assigned unique ID for this managed resource.
- source
Ids List<String>List A list of the sources that publish events to the Amazon Redshift event notification subscription.
- 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.
- event
Categories string[]List The list of Amazon Redshift event categories specified in the event notification subscription.
- id string
The provider-assigned unique ID for this managed resource.
- source
Ids string[]List A list of the sources that publish events to the Amazon Redshift event notification subscription.
- 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.
- event_
categories_ Sequence[str]list 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_ Sequence[str]list A list of the sources that publish events to the Amazon Redshift event notification subscription.
- 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.
- event
Categories List<String>List The list of Amazon Redshift event categories specified in the event notification subscription.
- id String
The provider-assigned unique ID for this managed resource.
- source
Ids List<String>List 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.
- subscription
Creation StringTime 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
- Event
Subscription Event Categories Item Configuration - configuration
- Event
Subscription Event Categories Item Management - management
- Event
Subscription Event Categories Item Monitoring - monitoring
- Event
Subscription Event Categories Item Security - security
- Event
Subscription Event Categories Item 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
- "configuration"
- configuration
- "management"
- management
- "monitoring"
- monitoring
- "security"
- security
- "pending"
- pending
EventSubscriptionSeverity
- Error
- ERROR
- Info
- INFO
- Event
Subscription Severity Error - ERROR
- Event
Subscription Severity Info - INFO
- Error
- ERROR
- Info
- INFO
- Error
- ERROR
- Info
- INFO
- ERROR
- ERROR
- INFO
- INFO
- "ERROR"
- ERROR
- "INFO"
- INFO
EventSubscriptionSourceType
- Cluster
- cluster
- Cluster
Parameter Group - cluster-parameter-group
- Cluster
Security Group - cluster-security-group
- Cluster
Snapshot - cluster-snapshot
- Scheduled
Action - scheduled-action
- Event
Subscription Source Type Cluster - cluster
- Event
Subscription Source Type Cluster Parameter Group - cluster-parameter-group
- Event
Subscription Source Type Cluster Security Group - cluster-security-group
- Event
Subscription Source Type Cluster Snapshot - cluster-snapshot
- Event
Subscription Source Type 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
- 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
- "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
- No
Permission - no-permission
- Topic
Not Exist - topic-not-exist
- Event
Subscription Status Active - active
- Event
Subscription Status No Permission - no-permission
- Event
Subscription Status Topic Not Exist - 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
- 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