Interface CfnPipelinePropsMixin.LogPublishingOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPipelinePropsMixin.LogPublishingOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnPipelinePropsMixin
@Stability(Stable)
public static interface CfnPipelinePropsMixin.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.cfnpropertymixins.services.osis.*;
LogPublishingOptionsProperty logPublishingOptionsProperty = LogPublishingOptionsProperty.builder()
.cloudWatchLogDestination(CloudWatchLogDestinationProperty.builder()
.logGroup("logGroup")
.build())
.isLoggingEnabled(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPipelinePropsMixin.LogPublishingOptionsPropertystatic final classAn implementation forCfnPipelinePropsMixin.LogPublishingOptionsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCloudWatchLogDestination
The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs.This parameter is required if
IsLoggingEnabledis set totrue.Returns union: either
IResolvableorCfnPipelinePropsMixin.CloudWatchLogDestinationProperty- See Also:
-
getIsLoggingEnabled
Whether logs should be published.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-