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.

CreateReplicationInstanceInput

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

type CreateReplicationInstanceInput struct { AllocatedStorage *int64 `type:"integer"` AutoMinorVersionUpgrade *bool `type:"boolean"` AvailabilityZone *string `type:"string"` DnsNameServers *string `type:"string"` EngineVersion *string `type:"string"` KmsKeyId *string `type:"string"` MultiAZ *bool `type:"boolean"` PreferredMaintenanceWindow *string `type:"string"` PubliclyAccessible *bool `type:"boolean"` ReplicationInstanceClass *string `type:"string" required:"true"` ReplicationInstanceIdentifier *string `type:"string" required:"true"` ReplicationSubnetGroupIdentifier *string `type:"string"` Tags []*Tag `type:"list"` VpcSecurityGroupIds []*string `type:"list"` }

AllocatedStorage

Type: *int64

The amount of storage (in gigabytes) to be initially allocated for the replication instance.

AutoMinorVersionUpgrade

Type: *bool

Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.

Default: true

AvailabilityZone

Type: *string

The EC2 Availability Zone that the replication instance will be created in.

Default: A random, system-chosen Availability Zone in the endpoint's region.

Example: us-east-1d

DnsNameServers

Type: *string

A list of DNS name servers supported for the replication instance.

EngineVersion

Type: *string

The engine version number of the replication instance.

KmsKeyId

Type: *string

The AWS KMS key identifier that is used to encrypt the content on the replication instance. If you don't specify a value for the KmsKeyId parameter, then AWS DMS uses your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region.

MultiAZ

Type: *bool

Specifies if the replication instance is a Multi-AZ deployment. You cannot set the AvailabilityZone parameter if the Multi-AZ parameter is set to true.

PreferredMaintenanceWindow

Type: *string

The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week.

Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

Constraints: Minimum 30-minute window.

PubliclyAccessible

Type: *bool

Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address. The default value is true.

ReplicationInstanceClass

Type: *string

The compute and memory capacity of the replication instance as specified by the replication instance class.

Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge

ReplicationInstanceClass is a required field

ReplicationInstanceIdentifier

Type: *string

The replication instance identifier. This parameter is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 alphanumeric characters or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

Example: myrepinstance

ReplicationInstanceIdentifier is a required field

ReplicationSubnetGroupIdentifier

Type: *string

A subnet group to associate with the replication instance.

Tags
VpcSecurityGroupIds

Type: []*string

Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.

Method

GoString

func (s CreateReplicationInstanceInput) GoString() string

GoString returns the string representation

SetAllocatedStorage

func (s *CreateReplicationInstanceInput) SetAllocatedStorage(v int64) *CreateReplicationInstanceInput

SetAllocatedStorage sets the AllocatedStorage field's value.

SetAutoMinorVersionUpgrade

func (s *CreateReplicationInstanceInput) SetAutoMinorVersionUpgrade(v bool) *CreateReplicationInstanceInput

SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.

SetAvailabilityZone

func (s *CreateReplicationInstanceInput) SetAvailabilityZone(v string) *CreateReplicationInstanceInput

SetAvailabilityZone sets the AvailabilityZone field's value.

SetDnsNameServers

func (s *CreateReplicationInstanceInput) SetDnsNameServers(v string) *CreateReplicationInstanceInput

SetDnsNameServers sets the DnsNameServers field's value.

SetEngineVersion

func (s *CreateReplicationInstanceInput) SetEngineVersion(v string) *CreateReplicationInstanceInput

SetEngineVersion sets the EngineVersion field's value.

SetKmsKeyId

func (s *CreateReplicationInstanceInput) SetKmsKeyId(v string) *CreateReplicationInstanceInput

SetKmsKeyId sets the KmsKeyId field's value.

SetMultiAZ

func (s *CreateReplicationInstanceInput) SetMultiAZ(v bool) *CreateReplicationInstanceInput

SetMultiAZ sets the MultiAZ field's value.

SetPreferredMaintenanceWindow

func (s *CreateReplicationInstanceInput) SetPreferredMaintenanceWindow(v string) *CreateReplicationInstanceInput

SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.

SetPubliclyAccessible

func (s *CreateReplicationInstanceInput) SetPubliclyAccessible(v bool) *CreateReplicationInstanceInput

SetPubliclyAccessible sets the PubliclyAccessible field's value.

SetReplicationInstanceClass

func (s *CreateReplicationInstanceInput) SetReplicationInstanceClass(v string) *CreateReplicationInstanceInput

SetReplicationInstanceClass sets the ReplicationInstanceClass field's value.

SetReplicationInstanceIdentifier

func (s *CreateReplicationInstanceInput) SetReplicationInstanceIdentifier(v string) *CreateReplicationInstanceInput

SetReplicationInstanceIdentifier sets the ReplicationInstanceIdentifier field's value.

SetReplicationSubnetGroupIdentifier

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

SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value.

SetTags

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

SetTags sets the Tags field's value.

SetVpcSecurityGroupIds

func (s *CreateReplicationInstanceInput) SetVpcSecurityGroupIds(v []*string) *CreateReplicationInstanceInput

SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.

String

func (s CreateReplicationInstanceInput) String() string

String returns the string representation

Validate

func (s *CreateReplicationInstanceInput) Validate() error

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

On this page: