Interface CfnApplication.CloudWatchLoggingConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplication.CloudWatchLoggingConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnApplication
@Stability(Stable)
public static interface CfnApplication.CloudWatchLoggingConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The Amazon CloudWatch configuration for monitoring logs.
You can configure your jobs to send log information to CloudWatch.
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.emrserverless.*; CloudWatchLoggingConfigurationProperty cloudWatchLoggingConfigurationProperty = CloudWatchLoggingConfigurationProperty.builder() .enabled(false) .encryptionKeyArn("encryptionKeyArn") .logGroupName("logGroupName") .logStreamNamePrefix("logStreamNamePrefix") .logTypeMap(List.of(LogTypeMapKeyValuePairProperty.builder() .key("key") .value(List.of("value")) .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnApplication.CloudWatchLoggingConfigurationProperty
static final class
An implementation forCfnApplication.CloudWatchLoggingConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Enables CloudWatch logging.default String
The AWS Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.default String
The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.default String
Prefix for the CloudWatch log stream name.default Object
The specific log-streams which need to be uploaded to CloudWatch.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
Enables CloudWatch logging.Default: - false
- See Also:
-
getEncryptionKeyArn
The AWS Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.- See Also:
-
getLogGroupName
The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.- See Also:
-
getLogStreamNamePrefix
Prefix for the CloudWatch log stream name.- See Also:
-
getLogTypeMap
The specific log-streams which need to be uploaded to CloudWatch.- See Also:
-
builder
-