public static final class CfnCluster.ExecuteCommandConfigurationProperty.Builder
extends java.lang.Object
CfnCluster.ExecuteCommandConfigurationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCluster.ExecuteCommandConfigurationProperty |
build()
Builds the configured instance.
|
CfnCluster.ExecuteCommandConfigurationProperty.Builder |
kmsKeyId(java.lang.String kmsKeyId)
Sets the value of
CfnCluster.ExecuteCommandConfigurationProperty.getKmsKeyId() |
CfnCluster.ExecuteCommandConfigurationProperty.Builder |
logConfiguration(CfnCluster.ExecuteCommandLogConfigurationProperty logConfiguration)
Sets the value of
CfnCluster.ExecuteCommandConfigurationProperty.getLogConfiguration() |
CfnCluster.ExecuteCommandConfigurationProperty.Builder |
logConfiguration(IResolvable logConfiguration)
Sets the value of
CfnCluster.ExecuteCommandConfigurationProperty.getLogConfiguration() |
CfnCluster.ExecuteCommandConfigurationProperty.Builder |
logging(java.lang.String logging)
Sets the value of
CfnCluster.ExecuteCommandConfigurationProperty.getLogging() |
public CfnCluster.ExecuteCommandConfigurationProperty.Builder kmsKeyId(java.lang.String kmsKeyId)
CfnCluster.ExecuteCommandConfigurationProperty.getKmsKeyId()
kmsKeyId
- Specify an AWS Key Management Service key ID to encrypt the data between the local client and the container.this
public CfnCluster.ExecuteCommandConfigurationProperty.Builder logConfiguration(IResolvable logConfiguration)
CfnCluster.ExecuteCommandConfigurationProperty.getLogConfiguration()
logConfiguration
- The log configuration for the results of the execute command actions.
The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When logging=OVERRIDE
is specified, a logConfiguration
must be provided.this
public CfnCluster.ExecuteCommandConfigurationProperty.Builder logConfiguration(CfnCluster.ExecuteCommandLogConfigurationProperty logConfiguration)
CfnCluster.ExecuteCommandConfigurationProperty.getLogConfiguration()
logConfiguration
- The log configuration for the results of the execute command actions.
The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When logging=OVERRIDE
is specified, a logConfiguration
must be provided.this
public CfnCluster.ExecuteCommandConfigurationProperty.Builder logging(java.lang.String logging)
CfnCluster.ExecuteCommandConfigurationProperty.getLogging()
logging
- The log setting to use for redirecting logs for your execute command results. The following log settings are available.
NONE
: The execute command session is not logged.DEFAULT
: The awslogs
configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If no awslogs
log driver is configured in the task definition, the output won't be logged.OVERRIDE
: Specify the logging details as a part of logConfiguration
. If the OVERRIDE
logging option is specified, the logConfiguration
is required.this
public CfnCluster.ExecuteCommandConfigurationProperty build()
CfnCluster.ExecuteCommandConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided