amazonka-ecs-2.0: Amazon EC2 Container Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON ExecuteCommandLogConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.ExecuteCommandLogConfiguration

ToJSON 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 #

Read ExecuteCommandLogConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.ExecuteCommandLogConfiguration

Show ExecuteCommandLogConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.ExecuteCommandLogConfiguration

NFData ExecuteCommandLogConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.ExecuteCommandLogConfiguration

Eq ExecuteCommandLogConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.ExecuteCommandLogConfiguration

Hashable 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" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "ExecuteCommandLogConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cloudWatchEncryptionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "cloudWatchLogGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "s3BucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "s3EncryptionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "s3KeyPrefix") '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: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.