Class ReplicationSubnetGroup
Provides a DMS (Data Migration Service) replication subnet group resource. DMS replication subnet groups can be created, updated, deleted, and imported.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
// Create a new replication subnet group
var test = new Aws.Dms.ReplicationSubnetGroup("test", new Aws.Dms.ReplicationSubnetGroupArgs
{
ReplicationSubnetGroupDescription = "Test replication subnet group",
ReplicationSubnetGroupId = "test-dms-replication-subnet-group-tf",
SubnetIds =
{
"subnet-12345678",
},
Tags =
{
{ "Name", "test" },
},
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Dms
Assembly: Pulumi.Aws.dll
Syntax
public class ReplicationSubnetGroup : CustomResource
Constructors
View SourceReplicationSubnetGroup(String, ReplicationSubnetGroupArgs, CustomResourceOptions)
Create a ReplicationSubnetGroup resource with the given unique name, arguments, and options.
Declaration
public ReplicationSubnetGroup(string name, ReplicationSubnetGroupArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ReplicationSubnetGroupArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceReplicationSubnetGroupArn
Declaration
public Output<string> ReplicationSubnetGroupArn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ReplicationSubnetGroupDescription
The description for the subnet group.
Declaration
public Output<string> ReplicationSubnetGroupDescription { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ReplicationSubnetGroupId
The name for the replication subnet group. This value is stored as a lowercase string.
Declaration
public Output<string> ReplicationSubnetGroupId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SubnetIds
A list of the EC2 subnet IDs for the subnet group.
Declaration
public Output<ImmutableArray<string>> SubnetIds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Tags
A map of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
VpcId
The ID of the VPC the subnet group is in.
Declaration
public Output<string> VpcId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ReplicationSubnetGroupState, CustomResourceOptions)
Get an existing ReplicationSubnetGroup resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ReplicationSubnetGroup Get(string name, Input<string> id, ReplicationSubnetGroupState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ReplicationSubnetGroupState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ReplicationSubnetGroup |