EventSubscription

Provides a DMS (Data Migration Service) event subscription resource.

Create a EventSubscription Resource

def EventSubscription(resource_name, opts=None, enabled=None, event_categories=None, name=None, sns_topic_arn=None, source_ids=None, source_type=None, tags=None, __props__=None);
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.
opts ResourceOptions
A bag of options that control this 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.

EventSubscription Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The EventSubscription resource accepts the following input properties:

EventCategories List<string>

List of event categories to listen for, see DescribeEventCategories for a canonical list.

SnsTopicArn string

SNS topic arn to send events on.

Enabled bool

Whether the event subscription should be enabled.

Name string

Name of event subscription.

SourceIds List<string>

Ids of sources to listen to.

SourceType string

Type of source for events. Valid values: replication-instance or replication-task

Tags Dictionary<string, string>
EventCategories []string

List of event categories to listen for, see DescribeEventCategories for a canonical list.

SnsTopicArn string

SNS topic arn to send events on.

Enabled bool

Whether the event subscription should be enabled.

Name string

Name of event subscription.

SourceIds []string

Ids of sources to listen to.

SourceType string

Type of source for events. Valid values: replication-instance or replication-task

Tags map[string]string
eventCategories string[]

List of event categories to listen for, see DescribeEventCategories for a canonical list.

snsTopicArn string

SNS topic arn to send events on.

enabled boolean

Whether the event subscription should be enabled.

name string

Name of event subscription.

sourceIds string[]

Ids of sources to listen to.

sourceType string

Type of source for events. Valid values: replication-instance or replication-task

tags {[key: string]: string}
event_categories List[str]

List of event categories to listen for, see DescribeEventCategories for a canonical list.

sns_topic_arn str

SNS topic arn to send events on.

enabled bool

Whether the event subscription should be enabled.

name str

Name of event subscription.

source_ids List[str]

Ids of sources to listen to.

source_type str

Type of source for events. Valid values: replication-instance or replication-task

tags Dict[str, str]

Outputs

All input properties are implicitly available as output properties. Additionally, the EventSubscription resource produces the following output properties:

Arn string
Id string
The provider-assigned unique ID for this managed resource.
Arn string
Id string
The provider-assigned unique ID for this managed resource.
arn string
id string
The provider-assigned unique ID for this managed resource.
arn str
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing EventSubscription Resource

Get an existing EventSubscription resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: EventSubscriptionState, opts?: CustomResourceOptions): EventSubscription
static get(resource_name, id, opts=None, arn=None, enabled=None, event_categories=None, name=None, sns_topic_arn=None, source_ids=None, source_type=None, tags=None, __props__=None);
func GetEventSubscription(ctx *Context, name string, id IDInput, state *EventSubscriptionState, opts ...ResourceOption) (*EventSubscription, error)
public static EventSubscription Get(string name, Input<string> id, EventSubscriptionState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Arn string
Enabled bool

Whether the event subscription should be enabled.

EventCategories List<string>

List of event categories to listen for, see DescribeEventCategories for a canonical list.

Name string

Name of event subscription.

SnsTopicArn string

SNS topic arn to send events on.

SourceIds List<string>

Ids of sources to listen to.

SourceType string

Type of source for events. Valid values: replication-instance or replication-task

Tags Dictionary<string, string>
Arn string
Enabled bool

Whether the event subscription should be enabled.

EventCategories []string

List of event categories to listen for, see DescribeEventCategories for a canonical list.

Name string

Name of event subscription.

SnsTopicArn string

SNS topic arn to send events on.

SourceIds []string

Ids of sources to listen to.

SourceType string

Type of source for events. Valid values: replication-instance or replication-task

Tags map[string]string
arn string
enabled boolean

Whether the event subscription should be enabled.

eventCategories string[]

List of event categories to listen for, see DescribeEventCategories for a canonical list.

name string

Name of event subscription.

snsTopicArn string

SNS topic arn to send events on.

sourceIds string[]

Ids of sources to listen to.

sourceType string

Type of source for events. Valid values: replication-instance or replication-task

tags {[key: string]: string}
arn str
enabled bool

Whether the event subscription should be enabled.

event_categories List[str]

List of event categories to listen for, see DescribeEventCategories for a canonical list.

name str

Name of event subscription.

sns_topic_arn str

SNS topic arn to send events on.

source_ids List[str]

Ids of sources to listen to.

source_type str

Type of source for events. Valid values: replication-instance or replication-task

tags Dict[str, str]

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.