Interface CfnConnector.WorkerLogDeliveryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnector.WorkerLogDeliveryProperty.Jsii$Proxy
- Enclosing class:
CfnConnector
@Stability(Stable)
public static interface CfnConnector.WorkerLogDeliveryProperty
extends software.amazon.jsii.JsiiSerializable
Workers can send worker logs to different destination types.
This configuration specifies the details of these destinations.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kafkaconnect.*;
WorkerLogDeliveryProperty workerLogDeliveryProperty = WorkerLogDeliveryProperty.builder()
.cloudWatchLogs(CloudWatchLogsLogDeliveryProperty.builder()
.enabled(false)
// the properties below are optional
.logGroup("logGroup")
.build())
.firehose(FirehoseLogDeliveryProperty.builder()
.enabled(false)
// the properties below are optional
.deliveryStream("deliveryStream")
.build())
.s3(S3LogDeliveryProperty.builder()
.enabled(false)
// the properties below are optional
.bucket("bucket")
.prefix("prefix")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnector.WorkerLogDeliveryPropertystatic final classAn implementation forCfnConnector.WorkerLogDeliveryProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCloudWatchLogs
Details about delivering logs to Amazon CloudWatch Logs.Returns union: either
IResolvableorCfnConnector.CloudWatchLogsLogDeliveryProperty- See Also:
-
getFirehose
Details about delivering logs to Amazon Kinesis Data Firehose.Returns union: either
IResolvableorCfnConnector.FirehoseLogDeliveryProperty- See Also:
-
getS3
Details about delivering logs to Amazon S3.Returns union: either
IResolvableorCfnConnector.S3LogDeliveryProperty- See Also:
-
builder
-