1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. dms
  6. getEventSubscription

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi

    Resource Type definition for AWS::DMS::EventSubscription

    Using getEventSubscription

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getEventSubscription(args: GetEventSubscriptionArgs, opts?: InvokeOptions): Promise<GetEventSubscriptionResult>
    function getEventSubscriptionOutput(args: GetEventSubscriptionOutputArgs, opts?: InvokeOutputOptions): Output<GetEventSubscriptionResult>
    def get_event_subscription(subscription_name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetEventSubscriptionResult
    def get_event_subscription_output(subscription_name: pulumi.Input[Optional[str]] = None,
                               opts: Optional[InvokeOutputOptions] = None) -> Output[GetEventSubscriptionResult]
    func LookupEventSubscription(ctx *Context, args *LookupEventSubscriptionArgs, opts ...InvokeOption) (*LookupEventSubscriptionResult, error)
    func LookupEventSubscriptionOutput(ctx *Context, args *LookupEventSubscriptionOutputArgs, opts ...InvokeOption) LookupEventSubscriptionResultOutput

    > Note: This function is named LookupEventSubscription in the Go SDK.

    public static class GetEventSubscription 
    {
        public static Task<GetEventSubscriptionResult> InvokeAsync(GetEventSubscriptionArgs args, InvokeOptions? opts = null)
        public static Output<GetEventSubscriptionResult> Invoke(GetEventSubscriptionInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetEventSubscriptionResult> Invoke(GetEventSubscriptionInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetEventSubscriptionResult> getEventSubscription(GetEventSubscriptionArgs args, InvokeOptions options)
    public static Output<GetEventSubscriptionResult> getEventSubscription(GetEventSubscriptionArgs args, InvokeOptions options)
    public static Output<GetEventSubscriptionResult> getEventSubscription(GetEventSubscriptionArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:dms:getEventSubscription
      arguments:
        # arguments dictionary
    data "aws-native_dms_get_event_subscription" "name" {
        # arguments
    }

    The following arguments are supported:

    SubscriptionName string
    The name of the AWS DMS event notification subscription. This name must be less than 255 characters.
    SubscriptionName string
    The name of the AWS DMS event notification subscription. This name must be less than 255 characters.
    subscription_name string
    The name of the AWS DMS event notification subscription. This name must be less than 255 characters.
    subscriptionName String
    The name of the AWS DMS event notification subscription. This name must be less than 255 characters.
    subscriptionName string
    The name of the AWS DMS event notification subscription. This name must be less than 255 characters.
    subscription_name str
    The name of the AWS DMS event notification subscription. This name must be less than 255 characters.
    subscriptionName String
    The name of the AWS DMS event notification subscription. This name must be less than 255 characters.

    getEventSubscription Result

    The following output properties are available:

    Enabled bool
    Indicates whether to activate the subscription. If you don't specify this property, CloudFormation activates the subscription.
    EventCategories List<string>
    A list of event categories for a source type that you want to subscribe to. If you don't specify this property, you are notified about all event categories.
    SnsTopicArn string
    The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
    SourceType string
    The type of AWS DMS resource that generates the events. For example, if you want to be notified of events generated by a replication instance, you set this parameter to replication-instance. If this value isn't specified, all events are returned.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    One or more tags to be assigned to the event subscription.
    Enabled bool
    Indicates whether to activate the subscription. If you don't specify this property, CloudFormation activates the subscription.
    EventCategories []string
    A list of event categories for a source type that you want to subscribe to. If you don't specify this property, you are notified about all event categories.
    SnsTopicArn string
    The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
    SourceType string
    The type of AWS DMS resource that generates the events. For example, if you want to be notified of events generated by a replication instance, you set this parameter to replication-instance. If this value isn't specified, all events are returned.
    Tags Tag
    One or more tags to be assigned to the event subscription.
    enabled bool
    Indicates whether to activate the subscription. If you don't specify this property, CloudFormation activates the subscription.
    event_categories list(string)
    A list of event categories for a source type that you want to subscribe to. If you don't specify this property, you are notified about all event categories.
    sns_topic_arn string
    The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
    source_type string
    The type of AWS DMS resource that generates the events. For example, if you want to be notified of events generated by a replication instance, you set this parameter to replication-instance. If this value isn't specified, all events are returned.
    tags list(object)
    One or more tags to be assigned to the event subscription.
    enabled Boolean
    Indicates whether to activate the subscription. If you don't specify this property, CloudFormation activates the subscription.
    eventCategories List<String>
    A list of event categories for a source type that you want to subscribe to. If you don't specify this property, you are notified about all event categories.
    snsTopicArn String
    The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
    sourceType String
    The type of AWS DMS resource that generates the events. For example, if you want to be notified of events generated by a replication instance, you set this parameter to replication-instance. If this value isn't specified, all events are returned.
    tags List<Tag>
    One or more tags to be assigned to the event subscription.
    enabled boolean
    Indicates whether to activate the subscription. If you don't specify this property, CloudFormation activates the subscription.
    eventCategories string[]
    A list of event categories for a source type that you want to subscribe to. If you don't specify this property, you are notified about all event categories.
    snsTopicArn string
    The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
    sourceType string
    The type of AWS DMS resource that generates the events. For example, if you want to be notified of events generated by a replication instance, you set this parameter to replication-instance. If this value isn't specified, all events are returned.
    tags Tag[]
    One or more tags to be assigned to the event subscription.
    enabled bool
    Indicates whether to activate the subscription. If you don't specify this property, CloudFormation activates the subscription.
    event_categories Sequence[str]
    A list of event categories for a source type that you want to subscribe to. If you don't specify this property, you are notified about all event categories.
    sns_topic_arn str
    The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
    source_type str
    The type of AWS DMS resource that generates the events. For example, if you want to be notified of events generated by a replication instance, you set this parameter to replication-instance. If this value isn't specified, all events are returned.
    tags Sequence[root_Tag]
    One or more tags to be assigned to the event subscription.
    enabled Boolean
    Indicates whether to activate the subscription. If you don't specify this property, CloudFormation activates the subscription.
    eventCategories List<String>
    A list of event categories for a source type that you want to subscribe to. If you don't specify this property, you are notified about all event categories.
    snsTopicArn String
    The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
    sourceType String
    The type of AWS DMS resource that generates the events. For example, if you want to be notified of events generated by a replication instance, you set this parameter to replication-instance. If this value isn't specified, all events are returned.
    tags List<Property Map>
    One or more tags to be assigned to the event subscription.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.76.0
    published on Monday, Aug 24, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial