Interface CfnCluster.ExecuteCommandLogConfigurationProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnCluster.ExecuteCommandLogConfigurationProperty extends
The log configuration for the results of the execute command actions.

The logs can be sent to CloudWatch Logs or an Amazon S3 bucket.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 ExecuteCommandLogConfigurationProperty executeCommandLogConfigurationProperty = ExecuteCommandLogConfigurationProperty.builder()
  • Method Details

    • getCloudWatchEncryptionEnabled

      @Stability(Stable) @Nullable default Object getCloudWatchEncryptionEnabled()
      Determines whether to use encryption on the CloudWatch logs.

      If not specified, encryption will be off.

    • getCloudWatchLogGroupName

      @Stability(Stable) @Nullable default String getCloudWatchLogGroupName()
      The name of the CloudWatch log group to send logs to.

      The CloudWatch log group must already be created.

    • getS3BucketName

      @Stability(Stable) @Nullable default String getS3BucketName()
      The name of the S3 bucket to send logs to.

      The S3 bucket must already be created.

    • getS3EncryptionEnabled

      @Stability(Stable) @Nullable default Object getS3EncryptionEnabled()
      Determines whether to use encryption on the S3 logs.

      If not specified, encryption is not used.

    • getS3KeyPrefix

      @Stability(Stable) @Nullable default String getS3KeyPrefix()
      An optional folder in the S3 bucket to place logs in.
    • builder

      @Stability(Stable) static CfnCluster.ExecuteCommandLogConfigurationProperty.Builder builder()
      a CfnCluster.ExecuteCommandLogConfigurationProperty.Builder of CfnCluster.ExecuteCommandLogConfigurationProperty