Show / Hide Table of Contents

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" },
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
ReplicationSubnetGroup
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Dms
Assembly: Pulumi.Aws.dll
Syntax
public class ReplicationSubnetGroup : CustomResource

Constructors

View Source

ReplicationSubnetGroup(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 Source

ReplicationSubnetGroupArn

Declaration
public Output<string> ReplicationSubnetGroupArn { get; }
Property Value
Type Description
Output<System.String>
View Source

ReplicationSubnetGroupDescription

The description for the subnet group.

Declaration
public Output<string> ReplicationSubnetGroupDescription { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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>>
View Source

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>>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.