| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ECS.Types.ExecuteCommandLogConfiguration
Description
Synopsis
- data ExecuteCommandLogConfiguration = ExecuteCommandLogConfiguration' {}
- newExecuteCommandLogConfiguration :: ExecuteCommandLogConfiguration
- executeCommandLogConfiguration_cloudWatchEncryptionEnabled :: Lens' ExecuteCommandLogConfiguration (Maybe Bool)
- executeCommandLogConfiguration_cloudWatchLogGroupName :: Lens' ExecuteCommandLogConfiguration (Maybe Text)
- executeCommandLogConfiguration_s3BucketName :: Lens' ExecuteCommandLogConfiguration (Maybe Text)
- executeCommandLogConfiguration_s3EncryptionEnabled :: Lens' ExecuteCommandLogConfiguration (Maybe Bool)
- executeCommandLogConfiguration_s3KeyPrefix :: 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.
Constructors
| ExecuteCommandLogConfiguration' | |
Fields
| |
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:cloudWatchEncryptionEnabled:ExecuteCommandLogConfiguration', executeCommandLogConfiguration_cloudWatchEncryptionEnabled - Determines whether to use encryption on the CloudWatch logs. If not
specified, encryption will be disabled.
$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:s3BucketName:ExecuteCommandLogConfiguration', executeCommandLogConfiguration_s3BucketName - The name of the S3 bucket to send logs to.
The S3 bucket must already be created.
$sel:s3EncryptionEnabled:ExecuteCommandLogConfiguration', executeCommandLogConfiguration_s3EncryptionEnabled - Determines whether to use encryption on the S3 logs. If not specified,
encryption is not used.
$sel:s3KeyPrefix:ExecuteCommandLogConfiguration', executeCommandLogConfiguration_s3KeyPrefix - An optional folder in the S3 bucket to place logs in.
executeCommandLogConfiguration_cloudWatchEncryptionEnabled :: Lens' ExecuteCommandLogConfiguration (Maybe Bool) Source #
Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be disabled.
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_s3BucketName :: Lens' ExecuteCommandLogConfiguration (Maybe Text) Source #
The name of the S3 bucket to send logs to.
The S3 bucket must already be created.
executeCommandLogConfiguration_s3EncryptionEnabled :: Lens' ExecuteCommandLogConfiguration (Maybe Bool) Source #
Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.
executeCommandLogConfiguration_s3KeyPrefix :: Lens' ExecuteCommandLogConfiguration (Maybe Text) Source #
An optional folder in the S3 bucket to place logs in.