Interface CfnClusterPropsMixin.CloudWatchLogConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnClusterPropsMixin.CloudWatchLogConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnClusterPropsMixin
@Stability(Stable)
public static interface CfnClusterPropsMixin.CloudWatchLogConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Holds CloudWatch log configuration settings and metadata that specify settings like log files to monitor and where to send them.
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.emr.*;
CloudWatchLogConfigurationProperty cloudWatchLogConfigurationProperty = CloudWatchLogConfigurationProperty.builder()
.enabled(false)
.encryptionKeyArn("encryptionKeyArn")
.logGroupName("logGroupName")
.logStreamNamePrefix("logStreamNamePrefix")
.logTypes(Map.of(
"logTypesKey", List.of("logTypes")))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnClusterPropsMixin.CloudWatchLogConfigurationPropertystatic final classAn implementation forCfnClusterPropsMixin.CloudWatchLogConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies if CloudWatch logging is enabled.default StringThe ARN of the encryption key used to encrypt the logs.default StringThe name of the CloudWatch log group where logs are published.default StringThe prefix of the log stream name.default ObjectA map of log types to file names for publishing logs to the standard output or standard error streams for CloudWatch.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
Specifies if CloudWatch logging is enabled.Returns union: either
BooleanorIResolvable- See Also:
-
getEncryptionKeyArn
The ARN of the encryption key used to encrypt the logs.- See Also:
-
getLogGroupName
The name of the CloudWatch log group where logs are published.- See Also:
-
getLogStreamNamePrefix
The prefix of the log stream name.- See Also:
-
getLogTypes
A map of log types to file names for publishing logs to the standard output or standard error streams for CloudWatch.Valid log types include STEP_LOGS, SPARK_DRIVER, and SPARK_EXECUTOR. Valid file names for each type include STDOUT and STDERR.
Returns union: either
IResolvableor Mapinvalid input: '<'String, Listinvalid input: '<'String>>- See Also:
-
builder
-