public static interface CloudWatchLoggingConfiguration.Builder extends SdkPojo, CopyableBuilder<CloudWatchLoggingConfiguration.Builder,CloudWatchLoggingConfiguration>
| Modifier and Type | Method and Description |
|---|---|
CloudWatchLoggingConfiguration.Builder |
enabled(Boolean enabled)
Enables CloudWatch logging.
|
CloudWatchLoggingConfiguration.Builder |
encryptionKeyArn(String encryptionKeyArn)
The Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.
|
CloudWatchLoggingConfiguration.Builder |
logGroupName(String logGroupName)
The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.
|
CloudWatchLoggingConfiguration.Builder |
logStreamNamePrefix(String logStreamNamePrefix)
Prefix for the CloudWatch log stream name.
|
CloudWatchLoggingConfiguration.Builder |
logTypes(Map<String,? extends Collection<String>> logTypes)
The types of logs that you want to publish to CloudWatch.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCloudWatchLoggingConfiguration.Builder enabled(Boolean enabled)
Enables CloudWatch logging.
enabled - Enables CloudWatch logging.CloudWatchLoggingConfiguration.Builder logGroupName(String logGroupName)
The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.
logGroupName - The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.CloudWatchLoggingConfiguration.Builder logStreamNamePrefix(String logStreamNamePrefix)
Prefix for the CloudWatch log stream name.
logStreamNamePrefix - Prefix for the CloudWatch log stream name.CloudWatchLoggingConfiguration.Builder encryptionKeyArn(String encryptionKeyArn)
The Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.
encryptionKeyArn - The Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.CloudWatchLoggingConfiguration.Builder logTypes(Map<String,? extends Collection<String>> logTypes)
The types of logs that you want to publish to CloudWatch. If you don't specify any log types, driver STDOUT and STDERR logs will be published to CloudWatch Logs by default. For more information including the supported worker types for Hive and Spark, see Logging for EMR Serverless with CloudWatch.
Key Valid Values: SPARK_DRIVER, SPARK_EXECUTOR, HIVE_DRIVER,
TEZ_TASK
Array Members Valid Values: STDOUT, STDERR, HIVE_LOG,
TEZ_AM, SYSTEM_LOGS
logTypes - The types of logs that you want to publish to CloudWatch. If you don't specify any log types, driver
STDOUT and STDERR logs will be published to CloudWatch Logs by default. For more information including
the supported worker types for Hive and Spark, see Logging for EMR Serverless with CloudWatch.
Key Valid Values: SPARK_DRIVER, SPARK_EXECUTOR,
HIVE_DRIVER, TEZ_TASK
Array Members Valid Values: STDOUT, STDERR, HIVE_LOG,
TEZ_AM, SYSTEM_LOGS
Copyright © 2023. All rights reserved.