AWS::DMS::ReplicationInstance
The AWS::DMS::ReplicationInstance resource creates an AWS DMS replication instance.
Topics
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type": "AWS::DMS::ReplicationInstance", "Properties": { "AllocatedStorage":Integer, "AutoMinorVersionUpgrade":Boolean, "AvailabilityZone":String, "EngineVersion":String, "KmsKeyId":String, "MultiAZ":Boolean, "PreferredMaintenanceWindow":String, "PubliclyAccessible":Boolean, "ReplicationInstanceClass":String, "ReplicationInstanceIdentifier":String, "ReplicationSubnetGroupIdentifier":String, "Tags": [Resource Tag, ...], "VpcSecurityGroupIds": [String, ...] } }
YAML
Type: AWS::DMS::ReplicationInstance Properties: AllocatedStorage:IntegerAutoMinorVersionUpgrade:BooleanAvailabilityZone:StringEngineVersion:StringKmsKeyId:StringMultiAZ:BooleanPreferredMaintenanceWindow:StringPubliclyAccessible:BooleanReplicationInstanceClass:StringReplicationInstanceIdentifier:StringReplicationSubnetGroupIdentifier:StringTags: -Resource TagVpcSecurityGroupIds: -String
Properties
AllocatedStorage-
The amount of storage (in gigabytes) to be initially allocated for the replication instance.
Required: No
Type: Integer
Update requires: No interruption
AutoMinorVersionUpgrade-
Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.
Required: No
Type: Boolean
Update requires: No interruption
AvailabilityZone-
The EC2 Availability Zone that the replication instance will be created in. The default value is a random, system-chosen Availability Zone in the endpoint's region.
Example:
us-east-1dRequired: No
Type: String
Update requires: Replacement
EngineVersion-
The engine version number of the replication instance.
Required: No
Type: String
Update requires: Some interruptions
KmsKeyId-
The KMS key identifier that will be used to encrypt the content on the replication instance. If you do not specify a value for the
KmsKeyIdparameter, then AWS DMS will use 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.Required: No
Type: String
Update requires: Replacement
MultiAZ-
Specifies if the replication instance is a Multi-AZ deployment. You cannot set the
AvailabilityZoneparameter if theMultiAZparameter is set totrue.Required: No
Type: Boolean
Update requires: No interruption
PreferredMaintenanceWindow-
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format:
ddd:hh24:mi-ddd:hh24:miDefault: 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 Values:
Mon,Tue,Wed,Thu,Fri,Sat,SunConstraints: Minimum 30-minute window
Required: No
Type: String
Update requires: No interruption
PubliclyAccessible-
Specifies the accessibility options for the replication instance. A value of
truerepresents an instance with a public IP address. A value offalserepresents an instance with a private IP address. The default value istrue.Required: No
Type: Boolean
Update requires: Replacement
ReplicationInstanceClass-
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.4xlargeRequired: Yes
Type: String
Update requires: Some interruptions
ReplicationInstanceIdentifier-
A name for the replication instance. If you specify a name, AWS CloudFormation converts it to lower case. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the replication instance identifier. For more information, see Name Type.
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:
myrepinstanceRequired: No
Type: String
Update requires: No interruption
-
ReplicationSubnetGroupIdentifier-
A subnet group to associate with the replication instance.
Required: No
Type: String
Update requires: Replacement
Tags-
The tags that you want to attach to the DMS endpoint.
Required: No
Type: List of resource tags in key-value format
Update requires: Replacement
- VpcSecurityGroupIds
-
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.
Required: No
Type: List of String values
Update requires: No interruption
Return Value
Ref
When you pass the logical ID of an AWS::DMS::ReplicationInstance
resource to the intrinsic Ref function, the function returns the
replication instance ARN.
For more information about using the Ref function, see Ref.
Example
JSON
{ "AWSTemplateFormatVersion": "2010-09-09", "Resources": { "BasicReplicationInstance": { "Type": "AWS::DMS::ReplicationInstance", "Properties": { "ReplicationInstanceClass": "dms.t2.small" } } } }
YAML
AWSTemplateFormatVersion: 2010-09-09 Resources: BasicReplicationInstance: Type: AWS::DMS::ReplicationInstance Properties: ReplicationInstanceClass: dms.t2.small
See Also
-
CreateReplicationInstance in the AWS Database Migration Service API Reference.
