createReplicationInstance

Creates the replication instance using the specified parameters.

DMS requires that your account have certain roles with appropriate permissions before you can create a replication instance. For information on the required roles, see Creating the IAM Roles to Use With the CLI and DMS API. For information on the required permissions, see IAM Permissions Needed to Use DMS.

If you don't specify a version when creating a replication instance, DMS will create the instance using the default engine version. For information about the default engine version, see Release Notes.

Samples

import aws.sdk.kotlin.services.databasemigrationservice.model.Tag
fun main() { 
   //sampleStart 
   // Creates the replication instance using the specified parameters.
val resp = databaseMigrationClient.createReplicationInstance {
    replicationInstanceIdentifier = ""
    allocatedStorage = 123
    replicationInstanceClass = ""
    vpcSecurityGroupIds = listOf<String>(
    )
    availabilityZone = ""
    replicationSubnetGroupIdentifier = ""
    preferredMaintenanceWindow = ""
    multiAz = true
    engineVersion = ""
    autoMinorVersionUpgrade = true
    tags = listOf<Tag>(
        Tag {
            key = "string"
            value = "string"
        }            
    )
    kmsKeyId = ""
    publiclyAccessible = true
} 
   //sampleEnd
}