# CfnReplicationConfigProps

Properties for defining a `CfnReplicationConfig`.

- Source: Generated code
- Type last changed: v2.154.0 · 22 Aug 2024

## 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',
  }],
};
```

## Properties

- `computeConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnReplicationConfig.ComputeConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_dms.CfnReplicationConfig.ComputeConfigProperty.html) (required) — Configuration parameters for provisioning an AWS DMS Serverless replication.

- `replicationConfigIdentifier`: 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.

  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.

- `replicationSettings`: any — Optional JSON settings for AWS DMS Serverless replications that are provisioned using this replication configuration.

  For example, see [Change processing tuning settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.ChangeProcessingTuning.html) .

- `replicationType`: string (required) — The type of AWS DMS Serverless replication to provision using this replication configuration.

  Possible values:

  - `"full-load"`
  - `"cdc"`
  - `"full-load-and-cdc"`

- `resourceIdentifier`: 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.

  For more information, see [Fine-grained access control using resource names and tags](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.FineGrainedAccess) .

- `sourceEndpointArn`: string (required) — The Amazon Resource Name (ARN) of the source endpoint for this AWS DMS Serverless replication configuration.

- `supplementalSettings`: any — Optional JSON settings for specifying supplemental data.

  For more information, see [Specifying supplemental data for task settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.TaskData.html) .

- `tableMappings`: any (required) — 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](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.SelectionTransformation.html) .

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — 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](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tagging.html) .

- `targetEndpointArn`: string (required) — The Amazon Resource Name (ARN) of the target endpoint for this AWS DMS serverless replication configuration.

## Used as props by

- [`CfnReplicationConfig`](/v2/docs/aws-cdk-lib.aws_dms.CfnReplicationConfig)
