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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPipeline.LogPublishingOptionsPropertystatic final classAn implementation forCfnPipeline.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
IResolvableorCfnPipeline.CloudWatchLogDestinationProperty- See Also:
-
getIsLoggingEnabled
Whether logs should be published.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-