libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ECS.Types.ExecuteCommandLogConfiguration

Description

 
Synopsis

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

Instances details
Eq ExecuteCommandLogConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.ExecuteCommandLogConfiguration

Read ExecuteCommandLogConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.ExecuteCommandLogConfiguration

Show ExecuteCommandLogConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.ExecuteCommandLogConfiguration

Generic ExecuteCommandLogConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.ExecuteCommandLogConfiguration

Associated Types

type Rep ExecuteCommandLogConfiguration :: Type -> Type #

NFData ExecuteCommandLogConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.ExecuteCommandLogConfiguration

Hashable ExecuteCommandLogConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.ExecuteCommandLogConfiguration

ToJSON ExecuteCommandLogConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.ExecuteCommandLogConfiguration

FromJSON ExecuteCommandLogConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.ExecuteCommandLogConfiguration

type Rep ExecuteCommandLogConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.ExecuteCommandLogConfiguration

type Rep ExecuteCommandLogConfiguration = D1 ('MetaData "ExecuteCommandLogConfiguration" "Amazonka.ECS.Types.ExecuteCommandLogConfiguration" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "ExecuteCommandLogConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cloudWatchLogGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3KeyPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "cloudWatchEncryptionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "s3EncryptionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "s3BucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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.