@Stability(value=Stable)
public static interface CfnStateMachine.LoggingConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
By default, the
levelis set toOFF. For more information see Log Levels in the AWS Step Functions User Guide.
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.stepfunctions.*;
LoggingConfigurationProperty loggingConfigurationProperty = LoggingConfigurationProperty.builder()
.destinations(List.of(LogDestinationProperty.builder()
.cloudWatchLogsLogGroup(CloudWatchLogsLogGroupProperty.builder()
.logGroupArn("logGroupArn")
.build())
.build()))
.includeExecutionData(false)
.level("level")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnStateMachine.LoggingConfigurationProperty.Builder
A builder for
CfnStateMachine.LoggingConfigurationProperty |
static class |
CfnStateMachine.LoggingConfigurationProperty.Jsii$Proxy
An implementation for
CfnStateMachine.LoggingConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnStateMachine.LoggingConfigurationProperty.Builder |
builder() |
default Object |
getDestinations()
An array of objects that describes where your execution history events will be logged.
|
default Object |
getIncludeExecutionData()
Determines whether execution data is included in your log.
|
default String |
getLevel()
Defines which category of execution history events are logged.
|
@Stability(value=Stable) @Nullable default Object getDestinations()
Limited to size 1. Required, if your log level is not set to OFF .
@Stability(value=Stable) @Nullable default Object getIncludeExecutionData()
When set to false , data is excluded.
@Stability(value=Stable) @Nullable default String getLevel()
@Stability(value=Stable) static CfnStateMachine.LoggingConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.