Paws::DMS::CreateReplicationInstance - Arguments for method CreateReplicationInstance on Paws::DMS


This class represents the parameters used for calling the method CreateReplicationInstance on the AWS Database Migration Service service. Use the attributes of this class as arguments to method CreateReplicationInstance.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateReplicationInstance.


    my $dms = Paws->service('DMS');
    my $CreateReplicationInstanceResponse = $dms->CreateReplicationInstance(
      ReplicationInstanceClass         => 'MyString',
      ReplicationInstanceIdentifier    => 'MyString',
      AllocatedStorage                 => 1,             # OPTIONAL
      AutoMinorVersionUpgrade          => 1,             # OPTIONAL
      AvailabilityZone                 => 'MyString',    # OPTIONAL
      DnsNameServers                   => 'MyString',    # OPTIONAL
      EngineVersion                    => 'MyString',    # OPTIONAL
      KmsKeyId                         => 'MyString',    # OPTIONAL
      MultiAZ                          => 1,             # OPTIONAL
      PreferredMaintenanceWindow       => 'MyString',    # OPTIONAL
      PubliclyAccessible               => 1,             # OPTIONAL
      ReplicationSubnetGroupIdentifier => 'MyString',    # OPTIONAL
      Tags                             => [
          Key   => 'MyString',
          Value => 'MyString',
      ],                                                 # OPTIONAL
      VpcSecurityGroupIds => [ 'MyString', ... ],        # OPTIONAL

    # Results:
    my $ReplicationInstance =

    # Returns a L<Paws::DMS::CreateReplicationInstanceResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


AllocatedStorage => Int

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

AutoMinorVersionUpgrade => Bool

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

Default: true

AvailabilityZone => Str

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 => Str

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

EngineVersion => Str

The engine version number of the replication instance.

KmsKeyId => Str

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 => 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 => Str

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 => 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.

REQUIRED ReplicationInstanceClass => Str

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

REQUIRED ReplicationInstanceIdentifier => Str

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


  • 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

ReplicationSubnetGroupIdentifier => Str

A subnet group to associate with the replication instance.

Tags => ArrayRef[Paws::DMS::Tag]

Tags to be associated with the replication instance.

VpcSecurityGroupIds => ArrayRef[Str|Undef]

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.


This class forms part of Paws, documenting arguments for method CreateReplicationInstance in Paws::DMS


The source code is located here:

Please report bugs to: