public static interface CfnCluster.ExecuteCommandLogConfigurationProperty
The logs can be sent to CloudWatch Logs or an Amazon S3 bucket.
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.ecs.*; ExecuteCommandLogConfigurationProperty executeCommandLogConfigurationProperty = ExecuteCommandLogConfigurationProperty.builder() .cloudWatchEncryptionEnabled(false) .cloudWatchLogGroupName("cloudWatchLogGroupName") .s3BucketName("s3BucketName") .s3EncryptionEnabled(false) .s3KeyPrefix("s3KeyPrefix") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnCluster.ExecuteCommandLogConfigurationProperty.Builder
A builder for
CfnCluster.ExecuteCommandLogConfigurationProperty |
static class |
CfnCluster.ExecuteCommandLogConfigurationProperty.Jsii$Proxy
An implementation for
CfnCluster.ExecuteCommandLogConfigurationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnCluster.ExecuteCommandLogConfigurationProperty.Builder |
builder() |
default java.lang.Object |
getCloudWatchEncryptionEnabled()
Determines whether to use encryption on the CloudWatch logs.
|
default java.lang.String |
getCloudWatchLogGroupName()
The name of the CloudWatch log group to send logs to.
|
default java.lang.String |
getS3BucketName()
The name of the S3 bucket to send logs to.
|
default java.lang.Object |
getS3EncryptionEnabled()
Determines whether to use encryption on the S3 logs.
|
default java.lang.String |
getS3KeyPrefix()
An optional folder in the S3 bucket to place logs in.
|
default java.lang.Object getCloudWatchEncryptionEnabled()
If not specified, encryption will be off.
default java.lang.String getCloudWatchLogGroupName()
The CloudWatch log group must already be created.
default java.lang.String getS3BucketName()
The S3 bucket must already be created.
default java.lang.Object getS3EncryptionEnabled()
If not specified, encryption is not used.
default java.lang.String getS3KeyPrefix()
static CfnCluster.ExecuteCommandLogConfigurationProperty.Builder builder()