We recommend new projects start with resources from the AWS provider.
aws-native.redshift.EventSubscription
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::Redshift::EventSubscription resource creates an Amazon Redshift Event Subscription.
Create EventSubscription Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventSubscription(name: string, args?: EventSubscriptionArgs, opts?: CustomResourceOptions);@overload
def EventSubscription(resource_name: str,
                      args: Optional[EventSubscriptionArgs] = None,
                      opts: Optional[ResourceOptions] = None)
@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[_root_inputs.TagArgs]] = None)func NewEventSubscription(ctx *Context, name string, args *EventSubscriptionArgs, opts ...ResourceOption) (*EventSubscription, error)public EventSubscription(string name, EventSubscriptionArgs? args = null, 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.
Parameters
- 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EventSubscription resource accepts the following input properties:
- 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.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.
- SnsTopic stringArn 
- 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.Aws Native. Redshift. Event Subscription Source Type 
- The type of source that will be generating the events.
- SubscriptionName string
- The name of the Amazon Redshift event notification subscription
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this resource.
- 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 []EventSubscription Event Categories Item 
- Specifies the Amazon Redshift event categories to be published by the event notification subscription.
- Severity
EventSubscription Severity 
- Specifies the Amazon Redshift event severity to be published by the event notification subscription.
- SnsTopic stringArn 
- 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 EventSubscription Source Type 
- The type of source that will be generating the events.
- SubscriptionName string
- The name of the Amazon Redshift event notification subscription
- 
TagArgs 
- An array of key-value pairs to apply to this resource.
- 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<EventSubscription Event Categories Item> 
- Specifies the Amazon Redshift event categories to be published by the event notification subscription.
- severity
EventSubscription Severity 
- Specifies the Amazon Redshift event severity to be published by the event notification subscription.
- snsTopic StringArn 
- 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 EventSubscription Source Type 
- The type of source that will be generating the events.
- subscriptionName String
- The name of the Amazon Redshift event notification subscription
- List<Tag>
- An array of key-value pairs to apply to this resource.
- 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 EventSubscription Event Categories Item[] 
- Specifies the Amazon Redshift event categories to be published by the event notification subscription.
- severity
EventSubscription Severity 
- Specifies the Amazon Redshift event severity to be published by the event notification subscription.
- snsTopic stringArn 
- 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 EventSubscription Source Type 
- The type of source that will be generating the events.
- subscriptionName string
- The name of the Amazon Redshift event notification subscription
- Tag[]
- An array of key-value pairs to apply to this resource.
- 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
EventSubscription 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.
- subscription_name str
- The name of the Amazon Redshift event notification subscription
- 
Sequence[TagArgs] 
- An array of key-value pairs to apply to this resource.
- 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.
- snsTopic StringArn 
- 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.
- subscriptionName String
- The name of the Amazon Redshift event notification subscription
- 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:
- CustSubscription stringId 
- The name of the Amazon Redshift event notification subscription.
- CustomerAws stringId 
- The AWS account associated with the Amazon Redshift event notification subscription.
- EventCategories 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.
- SourceIds 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.
- SubscriptionCreation stringTime 
- The date and time the Amazon Redshift event notification subscription was created.
- CustSubscription stringId 
- The name of the Amazon Redshift event notification subscription.
- CustomerAws stringId 
- The AWS account associated with the Amazon Redshift event notification subscription.
- EventCategories []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.
- SourceIds []stringList 
- A list of the sources that publish events to the Amazon Redshift event notification subscription.
- Status
EventSubscription Status 
- The status of the Amazon Redshift event notification subscription.
- SubscriptionCreation stringTime 
- The date and time the Amazon Redshift event notification subscription was created.
- custSubscription StringId 
- The name of the Amazon Redshift event notification subscription.
- customerAws StringId 
- The AWS account associated with the Amazon Redshift event notification subscription.
- eventCategories 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.
- sourceIds List<String>List 
- A list of the sources that publish events to the Amazon Redshift event notification subscription.
- status
EventSubscription Status 
- The status of the Amazon Redshift event notification subscription.
- subscriptionCreation StringTime 
- The date and time the Amazon Redshift event notification subscription was created.
- custSubscription stringId 
- The name of the Amazon Redshift event notification subscription.
- customerAws stringId 
- The AWS account associated with the Amazon Redshift event notification subscription.
- eventCategories 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.
- sourceIds string[]List 
- A list of the sources that publish events to the Amazon Redshift event notification subscription.
- status
EventSubscription Status 
- The status of the Amazon Redshift event notification subscription.
- subscriptionCreation 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
EventSubscription 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.
- custSubscription StringId 
- The name of the Amazon Redshift event notification subscription.
- customerAws StringId 
- The AWS account associated with the Amazon Redshift event notification subscription.
- eventCategories 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.
- sourceIds 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.
- subscriptionCreation StringTime 
- The date and time the Amazon Redshift event notification subscription was created.
Supporting Types
EventSubscriptionEventCategoriesItem, EventSubscriptionEventCategoriesItemArgs          
- Configuration
- configuration
- Management
- management
- Monitoring
- monitoring
- Security
- security
- Pending
- pending
- EventSubscription Event Categories Item Configuration 
- configuration
- EventSubscription Event Categories Item Management 
- management
- EventSubscription Event Categories Item Monitoring 
- monitoring
- EventSubscription Event Categories Item Security 
- security
- EventSubscription 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, EventSubscriptionSeverityArgs      
- Error
- ERROR
- Info
- INFO
- EventSubscription Severity Error 
- ERROR
- EventSubscription Severity Info 
- INFO
- Error
- ERROR
- Info
- INFO
- Error
- ERROR
- Info
- INFO
- ERROR
- ERROR
- INFO
- INFO
- "ERROR"
- ERROR
- "INFO"
- INFO
EventSubscriptionSourceType, EventSubscriptionSourceTypeArgs        
- Cluster
- cluster
- ClusterParameter Group 
- cluster-parameter-group
- ClusterSecurity Group 
- cluster-security-group
- ClusterSnapshot 
- cluster-snapshot
- ScheduledAction 
- scheduled-action
- EventSubscription Source Type Cluster 
- cluster
- EventSubscription Source Type Cluster Parameter Group 
- cluster-parameter-group
- EventSubscription Source Type Cluster Security Group 
- cluster-security-group
- EventSubscription Source Type Cluster Snapshot 
- cluster-snapshot
- EventSubscription Source Type Scheduled Action 
- scheduled-action
- Cluster
- cluster
- ClusterParameter Group 
- cluster-parameter-group
- ClusterSecurity Group 
- cluster-security-group
- ClusterSnapshot 
- cluster-snapshot
- ScheduledAction 
- scheduled-action
- Cluster
- cluster
- ClusterParameter Group 
- cluster-parameter-group
- ClusterSecurity Group 
- 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, EventSubscriptionStatusArgs      
- Active
- active
- NoPermission 
- no-permission
- TopicNot Exist 
- topic-not-exist
- EventSubscription Status Active 
- active
- EventSubscription Status No Permission 
- no-permission
- EventSubscription Status Topic Not Exist 
- topic-not-exist
- Active
- active
- NoPermission 
- no-permission
- TopicNot Exist 
- topic-not-exist
- Active
- active
- NoPermission 
- no-permission
- TopicNot 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
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.