AWS Native is in preview. AWS Classic is fully supported.
aws-native.redshift.EventSubscription
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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
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.
- 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.
- Subscription
Name 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.
- 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.
- Subscription
Name string - The name of the Amazon Redshift event notification subscription
- Tag
Args - 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.
- 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.
- subscription
Name 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.
- 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.
- subscription
Name 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
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.
- subscription_
name str - The name of the Amazon Redshift event notification subscription
- Sequence[Tag
Args] - 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.
- 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.
- subscription
Name 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:
- 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, EventSubscriptionEventCategoriesItemArgs
- 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, EventSubscriptionSeverityArgs
- 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, EventSubscriptionSourceTypeArgs
- 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, EventSubscriptionStatusArgs
- 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
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.