We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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:
- Replication
Subnet stringGroup Description - 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 stringGroup Identifier - The name for the replication subnet group. This value is stored as a lowercase string.
-
List<Pulumi.
Aws Native. Inputs. Tag> - One or more tags to be assigned to the replication subnet group
- Replication
Subnet stringGroup Description - The description for the subnet group.
- Subnet
Ids []string - One or more subnet IDs to be assigned to the replication subnet group.
- Replication
Subnet stringGroup Identifier - The name for the replication subnet group. This value is stored as a lowercase string.
-
Tag
Args - One or more tags to be assigned to the replication subnet group
- replication_
subnet_ stringgroup_ description - 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_ stringgroup_ identifier - The name for the replication subnet group. This value is stored as a lowercase string.
- list(object)
- One or more tags to be assigned to the replication subnet group
- replication
Subnet StringGroup Description - 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 StringGroup Identifier - The name for the replication subnet group. This value is stored as a lowercase string.
- List<Tag>
- One or more tags to be assigned to the replication subnet group
- replication
Subnet stringGroup Description - The description for the subnet group.
- subnet
Ids string[] - One or more subnet IDs to be assigned to the replication subnet group.
- replication
Subnet stringGroup Identifier - The name for the replication subnet group. This value is stored as a lowercase string.
- Tag[]
- One or more tags to be assigned to the replication subnet group
- replication_
subnet_ strgroup_ description - 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_ strgroup_ identifier - The name for the replication subnet group. This value is stored as a lowercase string.
-
Sequence[Tag
Args] - One or more tags to be assigned to the replication subnet group
- replication
Subnet StringGroup Description - 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 StringGroup Identifier - The name for the replication subnet group. This value is stored as a lowercase string.
- 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.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi