Interface CfnReplicationConfig.IComputeConfigProperty
Configuration parameters for provisioning an AWS DMS Serverless replication.
Namespace: Amazon.CDK.AWS.DMS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IComputeConfigProperty
Syntax (vb)
Public Interface IComputeConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DMS;
var computeConfigProperty = new ComputeConfigProperty {
MaxCapacityUnits = 123,
// the properties below are optional
AvailabilityZone = "availabilityZone",
DnsNameServers = "dnsNameServers",
KmsKeyId = "kmsKeyId",
MinCapacityUnits = 123,
MultiAz = false,
PreferredMaintenanceWindow = "preferredMaintenanceWindow",
ReplicationSubnetGroupId = "replicationSubnetGroupId",
VpcSecurityGroupIds = new [] { "vpcSecurityGroupIds" }
};
Synopsis
Properties
Availability |
The Availability Zone where the AWS DMS Serverless replication using this configuration will run. |
Dns |
A list of custom DNS name servers supported for the AWS DMS Serverless replication to access your source or target database. |
Kms |
An AWS Key Management Service ( AWS KMS ) key Amazon Resource Name (ARN) that is used to encrypt the data during AWS DMS Serverless replication. |
Max |
Specifies the maximum value of the AWS DMS capacity units (DCUs) for which a given AWS DMS Serverless replication can be provisioned. |
Min |
Specifies the minimum value of the AWS DMS capacity units (DCUs) for which a given AWS DMS Serverless replication can be provisioned. |
Multi |
Specifies whether the AWS DMS Serverless replication is a Multi-AZ deployment. |
Preferred |
The weekly time range during which system maintenance can occur for the AWS DMS Serverless replication, in Universal Coordinated Time (UTC). |
Replication |
Specifies a subnet group identifier to associate with the AWS DMS Serverless replication. |
Vpc |
Specifies the virtual private cloud (VPC) security group to use with the AWS DMS Serverless replication. |
Properties
AvailabilityZone
The Availability Zone where the AWS DMS Serverless replication using this configuration will run.
virtual string AvailabilityZone { get; }
Property Value
System.
Remarks
The default value is a random, system-chosen Availability Zone in the configuration's AWS Region , for example, "us-west-2"
. You can't set this parameter if the MultiAZ
parameter is set to true
.
DnsNameServers
A list of custom DNS name servers supported for the AWS DMS Serverless replication to access your source or target database.
virtual string DnsNameServers { get; }
Property Value
System.
Remarks
This list overrides the default name servers supported by the AWS DMS Serverless replication. You can specify a comma-separated list of internet addresses for up to four DNS name servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"
KmsKeyId
An AWS Key Management Service ( AWS KMS ) key Amazon Resource Name (ARN) that is used to encrypt the data during AWS DMS Serverless replication.
virtual string KmsKeyId { get; }
Property Value
System.
Remarks
If you don't specify a value for the KmsKeyId
parameter, AWS DMS uses your default encryption key.
AWS KMS creates the default encryption key for your Amazon Web Services account. Your AWS account has a different default encryption key for each AWS Region .
MaxCapacityUnits
Specifies the maximum value of the AWS DMS capacity units (DCUs) for which a given AWS DMS Serverless replication can be provisioned.
double MaxCapacityUnits { get; }
Property Value
System.
Remarks
A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can specify for AWS DMS Serverless is 384. The MaxCapacityUnits
parameter is the only DCU parameter you are required to specify.
MinCapacityUnits
Specifies the minimum value of the AWS DMS capacity units (DCUs) for which a given AWS DMS Serverless replication can be provisioned.
virtual Nullable<double> MinCapacityUnits { get; }
Property Value
System.
Remarks
A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you can specify for AWS DMS Serverless is 1. If you don't set this value, AWS DMS sets this parameter to the minimum DCU value allowed, 1. If there is no current source activity, AWS DMS scales down your replication until it reaches the value specified in MinCapacityUnits
.
MultiAz
Specifies whether the AWS DMS Serverless replication is a Multi-AZ deployment.
virtual object MultiAz { get; }
Property Value
System.
Remarks
You can't set the AvailabilityZone
parameter if the MultiAZ
parameter is set to true
.
PreferredMaintenanceWindow
The weekly time range during which system maintenance can occur for the AWS DMS Serverless replication, in Universal Coordinated Time (UTC).
virtual string PreferredMaintenanceWindow { get; }
Property Value
System.
Remarks
The format is ddd:hh24:mi-ddd:hh24:mi
.
The default is a 30-minute window selected at random from an 8-hour block of time per AWS Region . This maintenance occurs on a random day of the week. Valid values for days of the week include Mon
, Tue
, Wed
, Thu
, Fri
, Sat
, and Sun
.
Constraints include a minimum 30-minute window.
ReplicationSubnetGroupId
Specifies a subnet group identifier to associate with the AWS DMS Serverless replication.
virtual string ReplicationSubnetGroupId { get; }
Property Value
System.
Remarks
VpcSecurityGroupIds
Specifies the virtual private cloud (VPC) security group to use with the AWS DMS Serverless replication.
virtual string[] VpcSecurityGroupIds { get; }
Property Value
System.
Remarks
The VPC security group must work with the VPC containing the replication.