@Stability(value=Experimental) public static final class ExecuteCommandLogConfiguration.Builder extends Object implements software.amazon.jsii.Builder<ExecuteCommandLogConfiguration>
ExecuteCommandLogConfiguration| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ExecuteCommandLogConfiguration |
build()
Builds the configured instance.
|
ExecuteCommandLogConfiguration.Builder |
cloudWatchEncryptionEnabled(Boolean cloudWatchEncryptionEnabled)
Sets the value of
ExecuteCommandLogConfiguration.getCloudWatchEncryptionEnabled() |
ExecuteCommandLogConfiguration.Builder |
cloudWatchLogGroup(ILogGroup cloudWatchLogGroup)
Sets the value of
ExecuteCommandLogConfiguration.getCloudWatchLogGroup() |
ExecuteCommandLogConfiguration.Builder |
s3Bucket(IBucket s3Bucket)
Sets the value of
ExecuteCommandLogConfiguration.getS3Bucket() |
ExecuteCommandLogConfiguration.Builder |
s3EncryptionEnabled(Boolean s3EncryptionEnabled)
Sets the value of
ExecuteCommandLogConfiguration.getS3EncryptionEnabled() |
ExecuteCommandLogConfiguration.Builder |
s3KeyPrefix(String s3KeyPrefix)
Sets the value of
ExecuteCommandLogConfiguration.getS3KeyPrefix() |
@Stability(value=Experimental) public ExecuteCommandLogConfiguration.Builder cloudWatchEncryptionEnabled(Boolean cloudWatchEncryptionEnabled)
ExecuteCommandLogConfiguration.getCloudWatchEncryptionEnabled()cloudWatchEncryptionEnabled - Whether or not to enable encryption on the CloudWatch logs.this@Stability(value=Experimental) public ExecuteCommandLogConfiguration.Builder cloudWatchLogGroup(ILogGroup cloudWatchLogGroup)
ExecuteCommandLogConfiguration.getCloudWatchLogGroup()cloudWatchLogGroup - The name of the CloudWatch log group to send logs to.
The CloudWatch log group must already be created.this@Stability(value=Experimental) public ExecuteCommandLogConfiguration.Builder s3Bucket(IBucket s3Bucket)
ExecuteCommandLogConfiguration.getS3Bucket()s3Bucket - The name of the S3 bucket to send logs to.
The S3 bucket must already be created.this@Stability(value=Experimental) public ExecuteCommandLogConfiguration.Builder s3EncryptionEnabled(Boolean s3EncryptionEnabled)
ExecuteCommandLogConfiguration.getS3EncryptionEnabled()s3EncryptionEnabled - Whether or not to enable encryption on the CloudWatch logs.this@Stability(value=Experimental) public ExecuteCommandLogConfiguration.Builder s3KeyPrefix(String s3KeyPrefix)
ExecuteCommandLogConfiguration.getS3KeyPrefix()s3KeyPrefix - An optional folder in the S3 bucket to place logs in.this@Stability(value=Experimental) public ExecuteCommandLogConfiguration build()
build in interface software.amazon.jsii.Builder<ExecuteCommandLogConfiguration>ExecuteCommandLogConfigurationNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.