AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CreateReplicationSubnetGroupInput

import "github.com/aws/aws-sdk-go/service/databasemigrationservice"

type CreateReplicationSubnetGroupInput struct { ReplicationSubnetGroupDescription *string `type:"string" required:"true"` ReplicationSubnetGroupIdentifier *string `type:"string" required:"true"` SubnetIds []*string `type:"list" required:"true"` Tags []*Tag `type:"list"` }

ReplicationSubnetGroupDescription

Type: *string

The description for the subnet group.

ReplicationSubnetGroupDescription is a required field

ReplicationSubnetGroupIdentifier

Type: *string

The name for the replication subnet group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".

Example: mySubnetgroup

ReplicationSubnetGroupIdentifier is a required field

SubnetIds

Type: []*string

The EC2 subnet IDs for the subnet group.

SubnetIds is a required field

Tags

Method

GoString

func (s CreateReplicationSubnetGroupInput) GoString() string

GoString returns the string representation

SetReplicationSubnetGroupDescription

func (s *CreateReplicationSubnetGroupInput) SetReplicationSubnetGroupDescription(v string) *CreateReplicationSubnetGroupInput

SetReplicationSubnetGroupDescription sets the ReplicationSubnetGroupDescription field's value.

SetReplicationSubnetGroupIdentifier

func (s *CreateReplicationSubnetGroupInput) SetReplicationSubnetGroupIdentifier(v string) *CreateReplicationSubnetGroupInput

SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value.

SetSubnetIds

func (s *CreateReplicationSubnetGroupInput) SetSubnetIds(v []*string) *CreateReplicationSubnetGroupInput

SetSubnetIds sets the SubnetIds field's value.

SetTags

func (s *CreateReplicationSubnetGroupInput) SetTags(v []*Tag) *CreateReplicationSubnetGroupInput

SetTags sets the Tags field's value.

String

func (s CreateReplicationSubnetGroupInput) String() string

String returns the string representation

Validate

func (s *CreateReplicationSubnetGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: