Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ExecuteCommandLogConfiguration = ExecuteCommandLogConfiguration' {}
- newExecuteCommandLogConfiguration :: ExecuteCommandLogConfiguration
- executeCommandLogConfiguration_cloudWatchLogGroupName :: Lens' ExecuteCommandLogConfiguration (Maybe Text)
- executeCommandLogConfiguration_s3KeyPrefix :: Lens' ExecuteCommandLogConfiguration (Maybe Text)
- executeCommandLogConfiguration_cloudWatchEncryptionEnabled :: Lens' ExecuteCommandLogConfiguration (Maybe Bool)
- executeCommandLogConfiguration_s3EncryptionEnabled :: Lens' ExecuteCommandLogConfiguration (Maybe Bool)
- executeCommandLogConfiguration_s3BucketName :: Lens' ExecuteCommandLogConfiguration (Maybe Text)
Documentation
data ExecuteCommandLogConfiguration Source #
The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket.
See: newExecuteCommandLogConfiguration
smart constructor.
ExecuteCommandLogConfiguration' | |
|
Instances
newExecuteCommandLogConfiguration :: ExecuteCommandLogConfiguration Source #
Create a value of ExecuteCommandLogConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cloudWatchLogGroupName:ExecuteCommandLogConfiguration'
, executeCommandLogConfiguration_cloudWatchLogGroupName
- The name of the CloudWatch log group to send logs to.
The CloudWatch log group must already be created.
$sel:s3KeyPrefix:ExecuteCommandLogConfiguration'
, executeCommandLogConfiguration_s3KeyPrefix
- An optional folder in the S3 bucket to place logs in.
$sel:cloudWatchEncryptionEnabled:ExecuteCommandLogConfiguration'
, executeCommandLogConfiguration_cloudWatchEncryptionEnabled
- Whether or not to enable encryption on the CloudWatch logs. If not
specified, encryption will be disabled.
$sel:s3EncryptionEnabled:ExecuteCommandLogConfiguration'
, executeCommandLogConfiguration_s3EncryptionEnabled
- Whether or not to enable encryption on the CloudWatch logs. If not
specified, encryption will be disabled.
$sel:s3BucketName:ExecuteCommandLogConfiguration'
, executeCommandLogConfiguration_s3BucketName
- The name of the S3 bucket to send logs to.
The S3 bucket must already be created.
executeCommandLogConfiguration_cloudWatchLogGroupName :: Lens' ExecuteCommandLogConfiguration (Maybe Text) Source #
The name of the CloudWatch log group to send logs to.
The CloudWatch log group must already be created.
executeCommandLogConfiguration_s3KeyPrefix :: Lens' ExecuteCommandLogConfiguration (Maybe Text) Source #
An optional folder in the S3 bucket to place logs in.
executeCommandLogConfiguration_cloudWatchEncryptionEnabled :: Lens' ExecuteCommandLogConfiguration (Maybe Bool) Source #
Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
executeCommandLogConfiguration_s3EncryptionEnabled :: Lens' ExecuteCommandLogConfiguration (Maybe Bool) Source #
Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
executeCommandLogConfiguration_s3BucketName :: Lens' ExecuteCommandLogConfiguration (Maybe Text) Source #
The name of the S3 bucket to send logs to.
The S3 bucket must already be created.