# SourceDataSettingsProperty

- Source: Generated at build time
- Type last changed: v2.166.0 · 7 Nov 2024

## Example

TypeScript:

```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';
const sourceDataSettingsProperty: dms.CfnDataMigration.SourceDataSettingsProperty = {
  cdcStartPosition: 'cdcStartPosition',
  cdcStartTime: 'cdcStartTime',
  cdcStopTime: 'cdcStopTime',
  slotName: 'slotName',
};
```

Python:

```python
# 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

source_data_settings_property = dms.CfnDataMigration.SourceDataSettingsProperty(
    cdc_start_position="cdcStartPosition",
    cdc_start_time="cdcStartTime",
    cdc_stop_time="cdcStopTime",
    slot_name="slotName"
)
```

Java:

```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.*;

SourceDataSettingsProperty sourceDataSettingsProperty = SourceDataSettingsProperty.builder()
        .cdcStartPosition("cdcStartPosition")
        .cdcStartTime("cdcStartTime")
        .cdcStopTime("cdcStopTime")
        .slotName("slotName")
        .build();
```

C# / .NET:

```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 sourceDataSettingsProperty = new SourceDataSettingsProperty {
    CdcStartPosition = "cdcStartPosition",
    CdcStartTime = "cdcStartTime",
    CdcStopTime = "cdcStopTime",
    SlotName = "slotName"
};
```

Golang:

```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"

sourceDataSettingsProperty := &SourceDataSettingsProperty{
	CdcStartPosition: jsii.String("cdcStartPosition"),
	CdcStartTime: jsii.String("cdcStartTime"),
	CdcStopTime: jsii.String("cdcStopTime"),
	SlotName: jsii.String("slotName"),
}
```

## Properties

- `cdcStartPosition`: string — The property is a point in the database engine's log that defines a time where you can begin CDC.

- `cdcStartTime`: string — The property indicates the start time for a change data capture (CDC) operation.

  The value is server time in UTC format.

- `cdcStopTime`: string — The property indicates the stop time for a change data capture (CDC) operation.

  The value is server time in UTC format.

- `slotName`: string — The property sets the name of a previously created logical replication slot for a change data capture (CDC) load of the source instance.
