Skip to content
v2.278.0

CfnReplicationConfigProps Struct ​

Properties for defining a CfnReplicationConfig.

Example ​

ts
// 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',
  }],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_dms as dms

# replication_settings: Any
# supplemental_settings: Any
# table_mappings: Any

cfn_replication_config_props = dms.CfnReplicationConfigProps(
    compute_config=dms.CfnReplicationConfig.ComputeConfigProperty(
        max_capacity_units=123,

        # the properties below are optional
        availability_zone="availabilityZone",
        dns_name_servers="dnsNameServers",
        kms_key_id="kmsKeyId",
        min_capacity_units=123,
        multi_az=False,
        preferred_maintenance_window="preferredMaintenanceWindow",
        replication_subnet_group_id="replicationSubnetGroupId",
        vpc_security_group_ids=["vpcSecurityGroupIds"]
    ),
    replication_config_identifier="replicationConfigIdentifier",
    replication_type="replicationType",
    source_endpoint_arn="sourceEndpointArn",
    table_mappings=table_mappings,
    target_endpoint_arn="targetEndpointArn",

    # the properties below are optional
    replication_settings=replication_settings,
    resource_identifier="resourceIdentifier",
    supplemental_settings=supplemental_settings,
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.dms.*;

Object replicationSettings;
Object supplementalSettings;
Object tableMappings;

CfnReplicationConfigProps cfnReplicationConfigProps = CfnReplicationConfigProps.builder()
        .computeConfig(ComputeConfigProperty.builder()
                .maxCapacityUnits(123)

                // the properties below are optional
                .availabilityZone("availabilityZone")
                .dnsNameServers("dnsNameServers")
                .kmsKeyId("kmsKeyId")
                .minCapacityUnits(123)
                .multiAz(false)
                .preferredMaintenanceWindow("preferredMaintenanceWindow")
                .replicationSubnetGroupId("replicationSubnetGroupId")
                .vpcSecurityGroupIds(List.of("vpcSecurityGroupIds"))
                .build())
        .replicationConfigIdentifier("replicationConfigIdentifier")
        .replicationType("replicationType")
        .sourceEndpointArn("sourceEndpointArn")
        .tableMappings(tableMappings)
        .targetEndpointArn("targetEndpointArn")

        // the properties below are optional
        .replicationSettings(replicationSettings)
        .resourceIdentifier("resourceIdentifier")
        .supplementalSettings(supplementalSettings)
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 replicationSettings;
var supplementalSettings;
var tableMappings;

var cfnReplicationConfigProps = new CfnReplicationConfigProps {
    ComputeConfig = 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" }
    },
    ReplicationConfigIdentifier = "replicationConfigIdentifier",
    ReplicationType = "replicationType",
    SourceEndpointArn = "sourceEndpointArn",
    TableMappings = tableMappings,
    TargetEndpointArn = "targetEndpointArn",

    // the properties below are optional
    ReplicationSettings = replicationSettings,
    ResourceIdentifier = "resourceIdentifier",
    SupplementalSettings = supplementalSettings,
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var replicationSettings interface{}
var supplementalSettings interface{}
var tableMappings interface{}

cfnReplicationConfigProps := &CfnReplicationConfigProps{
	ComputeConfig: &ComputeConfigProperty{
		MaxCapacityUnits: jsii.Number(123),

		// the properties below are optional
		AvailabilityZone: jsii.String("availabilityZone"),
		DnsNameServers: jsii.String("dnsNameServers"),
		KmsKeyId: jsii.String("kmsKeyId"),
		MinCapacityUnits: jsii.Number(123),
		MultiAz: jsii.Boolean(false),
		PreferredMaintenanceWindow: jsii.String("preferredMaintenanceWindow"),
		ReplicationSubnetGroupId: jsii.String("replicationSubnetGroupId"),
		VpcSecurityGroupIds: []*string{
			jsii.String("vpcSecurityGroupIds"),
		},
	},
	ReplicationConfigIdentifier: jsii.String("replicationConfigIdentifier"),
	ReplicationType: jsii.String("replicationType"),
	SourceEndpointArn: jsii.String("sourceEndpointArn"),
	TableMappings: tableMappings,
	TargetEndpointArn: jsii.String("targetEndpointArn"),

	// the properties below are optional
	ReplicationSettings: replicationSettings,
	ResourceIdentifier: jsii.String("resourceIdentifier"),
	SupplementalSettings: supplementalSettings,
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

computeConfigIResolvable | CfnReplicationConfig.ComputeConfigPropertycompute_configtyping.Union[IResolvable, ComputeConfigProperty]computeConfigIResolvableComputeConfigIResolvableComputeConfiginterface{} required #
Configuration parameters for provisioning an AWS DMS Serverless replication.
replicationConfigIdentifierstringreplication_config_identifierstrreplicationConfigIdentifierStringReplicationConfigIdentifierstringReplicationConfigIdentifier*string required #
A unique identifier that you want to use to create a `ReplicationConfigArn` that is returned as part of the output from this action.
notes

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.

replicationSettingsoptionalanyreplication_settingsoptionalAnyreplicationSettingsoptionalObjectReplicationSettingsoptionalobjectReplicationSettingsoptionalinterface{} #
Optional JSON settings for AWS DMS Serverless replications that are provisioned using this replication configuration.
replicationTypestringreplication_typestrreplicationTypeStringReplicationTypestringReplicationType*string required #
The type of AWS DMS Serverless replication to provision using this replication configuration.

Possible values:

  • "full-load"
  • "cdc"
  • "full-load-and-cdc"
resourceIdentifieroptionalstringresource_identifieroptionalstrresourceIdentifieroptionalStringResourceIdentifieroptionalstringResourceIdentifieroptional*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.
sourceEndpointArnstringsource_endpoint_arnstrsourceEndpointArnStringSourceEndpointArnstringSourceEndpointArn*string required #
The Amazon Resource Name (ARN) of the source endpoint for this AWS DMS Serverless replication configuration.
supplementalSettingsoptionalanysupplemental_settingsoptionalAnysupplementalSettingsoptionalObjectSupplementalSettingsoptionalobjectSupplementalSettingsoptionalinterface{} #
Optional JSON settings for specifying supplemental data.
tableMappingsanytable_mappingsAnytableMappingsObjectTableMappingsobjectTableMappingsinterface{} required #
JSON table mappings for AWS DMS Serverless replications that are provisioned using this replication configuration.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
One or more optional tags associated with resources used by the AWS DMS Serverless replication.
targetEndpointArnstringtarget_endpoint_arnstrtargetEndpointArnStringTargetEndpointArnstringTargetEndpointArn*string required #
The Amazon Resource Name (ARN) of the target endpoint for this AWS DMS serverless replication configuration.