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

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::ReplicationSubnetGroup

    Example Usage

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myReplicationSubnetGroup = new AwsNative.Dms.ReplicationSubnetGroup("myReplicationSubnetGroup", new()
        {
            ReplicationSubnetGroupIdentifier = "identifier",
            ReplicationSubnetGroupDescription = "description",
            SubnetIds = new[]
            {
                "subnet-7b5b4112",
                "subnet-7b5b4115",
            },
            Tags = new[]
            {
                new AwsNative.Inputs.TagArgs
                {
                    Key = "String",
                    Value = "String",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/dms"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dms.NewReplicationSubnetGroup(ctx, "myReplicationSubnetGroup", &dms.ReplicationSubnetGroupArgs{
    			ReplicationSubnetGroupIdentifier:  pulumi.String("identifier"),
    			ReplicationSubnetGroupDescription: pulumi.String("description"),
    			SubnetIds: pulumi.StringArray{
    				pulumi.String("subnet-7b5b4112"),
    				pulumi.String("subnet-7b5b4115"),
    			},
    			Tags: aws.TagArray{
    				&aws.TagArgs{
    					Key:   pulumi.String("String"),
    					Value: pulumi.String("String"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myReplicationSubnetGroup = new aws_native.dms.ReplicationSubnetGroup("myReplicationSubnetGroup", {
        replicationSubnetGroupIdentifier: "identifier",
        replicationSubnetGroupDescription: "description",
        subnetIds: [
            "subnet-7b5b4112",
            "subnet-7b5b4115",
        ],
        tags: [{
            key: "String",
            value: "String",
        }],
    });
    
    import pulumi
    import pulumi_aws_native as aws_native
    
    my_replication_subnet_group = aws_native.dms.ReplicationSubnetGroup("myReplicationSubnetGroup",
        replication_subnet_group_identifier="identifier",
        replication_subnet_group_description="description",
        subnet_ids=[
            "subnet-7b5b4112",
            "subnet-7b5b4115",
        ],
        tags=[{
            "key": "String",
            "value": "String",
        }])
    

    Example coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myReplicationSubnetGroup = new AwsNative.Dms.ReplicationSubnetGroup("myReplicationSubnetGroup", new()
        {
            ReplicationSubnetGroupDescription = "description",
            ReplicationSubnetGroupIdentifier = "identifier",
            SubnetIds = new[]
            {
                "subnet-7b5b4112",
                "subnet-7b5b4115",
            },
            Tags = new[]
            {
                new AwsNative.Inputs.TagArgs
                {
                    Key = "String",
                    Value = "String",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/dms"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dms.NewReplicationSubnetGroup(ctx, "myReplicationSubnetGroup", &dms.ReplicationSubnetGroupArgs{
    			ReplicationSubnetGroupDescription: pulumi.String("description"),
    			ReplicationSubnetGroupIdentifier:  pulumi.String("identifier"),
    			SubnetIds: pulumi.StringArray{
    				pulumi.String("subnet-7b5b4112"),
    				pulumi.String("subnet-7b5b4115"),
    			},
    			Tags: aws.TagArray{
    				&aws.TagArgs{
    					Key:   pulumi.String("String"),
    					Value: pulumi.String("String"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myReplicationSubnetGroup = new aws_native.dms.ReplicationSubnetGroup("myReplicationSubnetGroup", {
        replicationSubnetGroupDescription: "description",
        replicationSubnetGroupIdentifier: "identifier",
        subnetIds: [
            "subnet-7b5b4112",
            "subnet-7b5b4115",
        ],
        tags: [{
            key: "String",
            value: "String",
        }],
    });
    
    import pulumi
    import pulumi_aws_native as aws_native
    
    my_replication_subnet_group = aws_native.dms.ReplicationSubnetGroup("myReplicationSubnetGroup",
        replication_subnet_group_description="description",
        replication_subnet_group_identifier="identifier",
        subnet_ids=[
            "subnet-7b5b4112",
            "subnet-7b5b4115",
        ],
        tags=[{
            "key": "String",
            "value": "String",
        }])
    

    Example coming soon!

    Create ReplicationSubnetGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ReplicationSubnetGroup(name: string, args: ReplicationSubnetGroupArgs, opts?: CustomResourceOptions);
    @overload
    def ReplicationSubnetGroup(resource_name: str,
                               args: ReplicationSubnetGroupArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def ReplicationSubnetGroup(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               replication_subnet_group_description: Optional[str] = None,
                               subnet_ids: Optional[Sequence[str]] = None,
                               replication_subnet_group_identifier: Optional[str] = None,
                               tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewReplicationSubnetGroup(ctx *Context, name string, args ReplicationSubnetGroupArgs, opts ...ResourceOption) (*ReplicationSubnetGroup, error)
    public ReplicationSubnetGroup(string name, ReplicationSubnetGroupArgs args, CustomResourceOptions? opts = null)
    public ReplicationSubnetGroup(String name, ReplicationSubnetGroupArgs args)
    public ReplicationSubnetGroup(String name, ReplicationSubnetGroupArgs args, CustomResourceOptions options)
    
    type: aws-native:dms:ReplicationSubnetGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_dms_replication_subnet_group" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ReplicationSubnetGroupArgs
    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 ReplicationSubnetGroupArgs
    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 ReplicationSubnetGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ReplicationSubnetGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ReplicationSubnetGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ReplicationSubnetGroup 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 ReplicationSubnetGroup resource accepts the following input properties:

    ReplicationSubnetGroupDescription string
    The description for the subnet group.
    SubnetIds List<string>
    One or more subnet IDs to be assigned to the replication subnet group.
    ReplicationSubnetGroupIdentifier string
    The name for the replication subnet group. This value is stored as a lowercase string.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    One or more tags to be assigned to the replication subnet group
    ReplicationSubnetGroupDescription string
    The description for the subnet group.
    SubnetIds []string
    One or more subnet IDs to be assigned to the replication subnet group.
    ReplicationSubnetGroupIdentifier string
    The name for the replication subnet group. This value is stored as a lowercase string.
    Tags TagArgs
    One or more tags to be assigned to the replication subnet group
    replication_subnet_group_description string
    The description for the subnet group.
    subnet_ids list(string)
    One or more subnet IDs to be assigned to the replication subnet group.
    replication_subnet_group_identifier string
    The name for the replication subnet group. This value is stored as a lowercase string.
    tags list(object)
    One or more tags to be assigned to the replication subnet group
    replicationSubnetGroupDescription String
    The description for the subnet group.
    subnetIds List<String>
    One or more subnet IDs to be assigned to the replication subnet group.
    replicationSubnetGroupIdentifier String
    The name for the replication subnet group. This value is stored as a lowercase string.
    tags List<Tag>
    One or more tags to be assigned to the replication subnet group
    replicationSubnetGroupDescription string
    The description for the subnet group.
    subnetIds string[]
    One or more subnet IDs to be assigned to the replication subnet group.
    replicationSubnetGroupIdentifier string
    The name for the replication subnet group. This value is stored as a lowercase string.
    tags Tag[]
    One or more tags to be assigned to the replication subnet group
    replication_subnet_group_description str
    The description for the subnet group.
    subnet_ids Sequence[str]
    One or more subnet IDs to be assigned to the replication subnet group.
    replication_subnet_group_identifier str
    The name for the replication subnet group. This value is stored as a lowercase string.
    tags Sequence[TagArgs]
    One or more tags to be assigned to the replication subnet group
    replicationSubnetGroupDescription String
    The description for the subnet group.
    subnetIds List<String>
    One or more subnet IDs to be assigned to the replication subnet group.
    replicationSubnetGroupIdentifier String
    The name for the replication subnet group. This value is stored as a lowercase string.
    tags List<Property Map>
    One or more tags to be assigned to the replication subnet group

    Outputs

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

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

    Supporting Types

    Tag, TagArgs

    A set of tags to apply to the resource.
    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