# ReplicationConfigurationProperty

Provides replication configuration details for objects stored in the Amazon Security Lake data lake.

- Source: Generated at build time
- Type last changed: v2.135.0 · 2 Apr 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_securitylake as securitylake } from 'aws-cdk-lib';
const replicationConfigurationProperty: securitylake.CfnDataLake.ReplicationConfigurationProperty = {
  regions: ['regions'],
  roleArn: 'roleArn',
};
```

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_securitylake as securitylake

replication_configuration_property = securitylake.CfnDataLake.ReplicationConfigurationProperty(
    regions=["regions"],
    role_arn="roleArn"
)
```

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

ReplicationConfigurationProperty replicationConfigurationProperty = ReplicationConfigurationProperty.builder()
        .regions(List.of("regions"))
        .roleArn("roleArn")
        .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.SecurityLake;

var replicationConfigurationProperty = new ReplicationConfigurationProperty {
    Regions = new [] { "regions" },
    RoleArn = "roleArn"
};
```

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"

replicationConfigurationProperty := &ReplicationConfigurationProperty{
	Regions: []*string{
		jsii.String("regions"),
	},
	RoleArn: jsii.String("roleArn"),
}
```

## Properties

- `regions`: string[] — Specifies one or more centralized rollup Regions.

  The AWS Region specified in the region parameter of the `CreateDataLake` or `UpdateDataLake` operations contributes data to the rollup Region or Regions specified in this parameter.

  Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. S3 buckets that are configured for object replication can be owned by the same AWS account or by different accounts. You can replicate objects to a single destination bucket or to multiple destination buckets. The destination buckets can be in different Regions or within the same Region as the source bucket.

- `roleArn`: string — Replication settings for the Amazon S3 buckets.

  This parameter uses the AWS Identity and Access Management (IAM) role you created that is managed by Security Lake , to ensure the replication setting is correct.
