interface CfnReplicationConfigProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.DMS.CfnReplicationConfigProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdms#CfnReplicationConfigProps |
Java | software.amazon.awscdk.services.dms.CfnReplicationConfigProps |
Python | aws_cdk.aws_dms.CfnReplicationConfigProps |
TypeScript | aws-cdk-lib » aws_dms » CfnReplicationConfigProps |
Properties for defining a CfnReplicationConfig
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dms as dms } from 'aws-cdk-lib';
declare const replicationSettings: any;
declare const supplementalSettings: any;
declare const tableMappings: any;
const cfnReplicationConfigProps: dms.CfnReplicationConfigProps = {
computeConfig: {
maxCapacityUnits: 123,
// the properties below are optional
availabilityZone: 'availabilityZone',
dnsNameServers: 'dnsNameServers',
kmsKeyId: 'kmsKeyId',
minCapacityUnits: 123,
multiAz: false,
preferredMaintenanceWindow: 'preferredMaintenanceWindow',
replicationSubnetGroupId: 'replicationSubnetGroupId',
vpcSecurityGroupIds: ['vpcSecurityGroupIds'],
},
replicationConfigIdentifier: 'replicationConfigIdentifier',
replicationType: 'replicationType',
sourceEndpointArn: 'sourceEndpointArn',
tableMappings: tableMappings,
targetEndpointArn: 'targetEndpointArn',
// the properties below are optional
replicationSettings: replicationSettings,
resourceIdentifier: 'resourceIdentifier',
supplementalSettings: supplementalSettings,
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
compute | IResolvable | Compute | Configuration parameters for provisioning an AWS DMS Serverless replication. |
replication | string | A unique identifier that you want to use to create a ReplicationConfigArn that is returned as part of the output from this action. |
replication | string | The type of AWS DMS Serverless replication to provision using this replication configuration. |
source | string | The Amazon Resource Name (ARN) of the source endpoint for this AWS DMS Serverless replication configuration. |
table | any | JSON table mappings for AWS DMS Serverless replications that are provisioned using this replication configuration. |
target | string | The Amazon Resource Name (ARN) of the target endpoint for this AWS DMS serverless replication configuration. |
replication | any | Optional JSON settings for AWS DMS Serverless replications that are provisioned using this replication configuration. |
resource | string | Optional unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. |
supplemental | any | Optional JSON settings for specifying supplemental data. |
tags? | Cfn [] | One or more optional tags associated with resources used by the AWS DMS Serverless replication. |
computeConfig
Type:
IResolvable
|
Compute
Configuration parameters for provisioning an AWS DMS Serverless replication.
replicationConfigIdentifier
Type:
string
A unique identifier that you want to use to create a ReplicationConfigArn
that is returned as part of the output from this action.
You can then pass this output ReplicationConfigArn
as the value of the ReplicationConfigArn
option for other actions to identify both AWS DMS Serverless replications and replication configurations that you want those actions to operate on. For some actions, you can also use either this unique identifier or a corresponding ARN in action filters to identify the specific replication and replication configuration to operate on.
replicationType
Type:
string
The type of AWS DMS Serverless replication to provision using this replication configuration.
Possible values:
"full-load"
"cdc"
"full-load-and-cdc"
sourceEndpointArn
Type:
string
The Amazon Resource Name (ARN) of the source endpoint for this AWS DMS Serverless replication configuration.
tableMappings
Type:
any
JSON table mappings for AWS DMS Serverless replications that are provisioned using this replication configuration.
For more information, see Specifying table selection and transformations rules using JSON .
targetEndpointArn
Type:
string
The Amazon Resource Name (ARN) of the target endpoint for this AWS DMS serverless replication configuration.
replicationSettings?
Type:
any
(optional)
Optional JSON settings for AWS DMS Serverless replications that are provisioned using this replication configuration.
For example, see Change processing tuning settings .
resourceIdentifier?
Type:
string
(optional)
Optional unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource.
For more information, see Fine-grained access control using resource names and tags .
supplementalSettings?
Type:
any
(optional)
Optional JSON settings for specifying supplemental data.
For more information, see Specifying supplemental data for task settings .
tags?
Type:
Cfn
[]
(optional)
One or more optional tags associated with resources used by the AWS DMS Serverless replication.
For more information, see Tagging resources in AWS Database Migration Service .