# ReplicatorLogDeliveryProperty

Details of the log delivery for the replicator.

- Source: Generated at build time
- Type last changed: v2.251.0 · 24 Apr 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_msk as msk } from 'aws-cdk-lib';
const replicatorLogDeliveryProperty: msk.CfnReplicator.ReplicatorLogDeliveryProperty = {
  cloudWatchLogs: {
    enabled: false,

    // the properties below are optional
    logGroup: 'logGroup',
  },
  firehose: {
    enabled: false,

    // the properties below are optional
    deliveryStream: 'deliveryStream',
  },
  s3: {
    enabled: false,

    // the properties below are optional
    bucket: 'bucket',
    prefix: 'prefix',
  },
};
```

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_msk as msk

replicator_log_delivery_property = msk.CfnReplicator.ReplicatorLogDeliveryProperty(
    cloud_watch_logs=msk.CfnReplicator.CloudWatchLogsProperty(
        enabled=False,

        # the properties below are optional
        log_group="logGroup"
    ),
    firehose=msk.CfnReplicator.FirehoseProperty(
        enabled=False,

        # the properties below are optional
        delivery_stream="deliveryStream"
    ),
    s3=msk.CfnReplicator.S3Property(
        enabled=False,

        # the properties below are optional
        bucket="bucket",
        prefix="prefix"
    )
)
```

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

ReplicatorLogDeliveryProperty replicatorLogDeliveryProperty = ReplicatorLogDeliveryProperty.builder()
        .cloudWatchLogs(CloudWatchLogsProperty.builder()
                .enabled(false)

                // the properties below are optional
                .logGroup("logGroup")
                .build())
        .firehose(FirehoseProperty.builder()
                .enabled(false)

                // the properties below are optional
                .deliveryStream("deliveryStream")
                .build())
        .s3(S3Property.builder()
                .enabled(false)

                // the properties below are optional
                .bucket("bucket")
                .prefix("prefix")
                .build())
        .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.MSK;

var replicatorLogDeliveryProperty = new ReplicatorLogDeliveryProperty {
    CloudWatchLogs = new CloudWatchLogsProperty {
        Enabled = false,

        // the properties below are optional
        LogGroup = "logGroup"
    },
    Firehose = new FirehoseProperty {
        Enabled = false,

        // the properties below are optional
        DeliveryStream = "deliveryStream"
    },
    S3 = new S3Property {
        Enabled = false,

        // the properties below are optional
        Bucket = "bucket",
        Prefix = "prefix"
    }
};
```

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"

replicatorLogDeliveryProperty := &ReplicatorLogDeliveryProperty{
	CloudWatchLogs: &CloudWatchLogsProperty{
		Enabled: jsii.Boolean(false),

		// the properties below are optional
		LogGroup: jsii.String("logGroup"),
	},
	Firehose: &FirehoseProperty{
		Enabled: jsii.Boolean(false),

		// the properties below are optional
		DeliveryStream: jsii.String("deliveryStream"),
	},
	S3: &S3Property{
		Enabled: jsii.Boolean(false),

		// the properties below are optional
		Bucket: jsii.String("bucket"),
		Prefix: jsii.String("prefix"),
	},
}
```

## Properties

- `cloudWatchLogs`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnReplicator.CloudWatchLogsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_msk.CfnReplicator.CloudWatchLogsProperty.html) — Details about delivering logs to CloudWatch Logs.

- `firehose`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnReplicator.FirehoseProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_msk.CfnReplicator.FirehoseProperty.html) — Details about delivering logs to Firehose.

- `s3`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnReplicator.S3Property](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_msk.CfnReplicator.S3Property.html) — Details about delivering logs to S3.
