Interface CfnPipeline.LogPublishingOptionsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnPipeline.LogPublishingOptionsProperty.Jsii$Proxy
Enclosing class:
CfnPipeline

@Stability(Stable) public static interface CfnPipeline.LogPublishingOptionsProperty extends software.amazon.jsii.JsiiSerializable
Container for the values required to configure logging for the pipeline.

If you don't specify these values, OpenSearch Ingestion will not publish logs from your application to CloudWatch Logs.

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.osis.*;
 LogPublishingOptionsProperty logPublishingOptionsProperty = LogPublishingOptionsProperty.builder()
         .cloudWatchLogDestination(CloudWatchLogDestinationProperty.builder()
                 .logGroup("logGroup")
                 .build())
         .isLoggingEnabled(false)
         .build();