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.

ModifyReplicationInstanceInput

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

type ModifyReplicationInstanceInput struct { AllocatedStorage *int64 `type:"integer"` AllowMajorVersionUpgrade *bool `type:"boolean"` ApplyImmediately *bool `type:"boolean"` AutoMinorVersionUpgrade *bool `type:"boolean"` EngineVersion *string `type:"string"` MultiAZ *bool `type:"boolean"` PreferredMaintenanceWindow *string `type:"string"` ReplicationInstanceArn *string `type:"string" required:"true"` ReplicationInstanceClass *string `type:"string"` ReplicationInstanceIdentifier *string `type:"string"` VpcSecurityGroupIds []*string `type:"list"` }

AllocatedStorage

Type: *int64

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

AllowMajorVersionUpgrade

Type: *bool

Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible.

Constraints: This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the replication instance's current version.

ApplyImmediately

Type: *bool

Indicates whether the changes should be applied immediately or during the next maintenance window.

AutoMinorVersionUpgrade

Type: *bool

Indicates that minor version upgrades will be applied automatically to the replication instance during the maintenance window. Changing this parameter does not result in an outage except in the following case and the change is asynchronously applied as soon as possible. An outage will result if this parameter is set to true during the maintenance window, and a newer minor version is available, and AWS DMS has enabled auto patching for that engine version.

EngineVersion

Type: *string

The engine version number of the replication instance.

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 (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter does not result in an outage, except in the following situation, and the change is asynchronously applied as soon as possible. If moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure pending changes are applied.

Default: Uses existing setting

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

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

Constraints: Must be at least 30 minutes

ReplicationInstanceArn

Type: *string

The Amazon Resource Name (ARN) of the replication instance.

ReplicationInstanceArn is a required field

ReplicationInstanceClass

Type: *string

The compute and memory capacity of the replication instance.

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

ReplicationInstanceIdentifier

Type: *string

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

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 ModifyReplicationInstanceInput) GoString() string

GoString returns the string representation

SetAllocatedStorage

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

SetAllocatedStorage sets the AllocatedStorage field's value.

SetAllowMajorVersionUpgrade

func (s *ModifyReplicationInstanceInput) SetAllowMajorVersionUpgrade(v bool) *ModifyReplicationInstanceInput

SetAllowMajorVersionUpgrade sets the AllowMajorVersionUpgrade field's value.

SetApplyImmediately

func (s *ModifyReplicationInstanceInput) SetApplyImmediately(v bool) *ModifyReplicationInstanceInput

SetApplyImmediately sets the ApplyImmediately field's value.

SetAutoMinorVersionUpgrade

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

SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.

SetEngineVersion

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

SetEngineVersion sets the EngineVersion field's value.

SetMultiAZ

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

SetMultiAZ sets the MultiAZ field's value.

SetPreferredMaintenanceWindow

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

SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.

SetReplicationInstanceArn

func (s *ModifyReplicationInstanceInput) SetReplicationInstanceArn(v string) *ModifyReplicationInstanceInput

SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.

SetReplicationInstanceClass

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

SetReplicationInstanceClass sets the ReplicationInstanceClass field's value.

SetReplicationInstanceIdentifier

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

SetReplicationInstanceIdentifier sets the ReplicationInstanceIdentifier field's value.

SetVpcSecurityGroupIds

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

SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.

String

func (s ModifyReplicationInstanceInput) String() string

String returns the string representation

Validate

func (s *ModifyReplicationInstanceInput) Validate() error

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

On this page: