Skip to content

ECS  >  Structures  >  ExecuteCommandLogConfiguration

ExecuteCommandLogConfiguration

Structure Class

ExecuteCommandLogConfiguration dataclass

Bases: _SerdeShape

The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket.

Attributes

cloud_watch_encryption_enabled class-attribute instance-attribute
cloud_watch_encryption_enabled: bool = ...

Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.

cloud_watch_log_group_name class-attribute instance-attribute
cloud_watch_log_group_name: str | None = ...

The name of the CloudWatch log group to send logs to.

Note

The CloudWatch log group must already be created.

s3_bucket_name class-attribute instance-attribute
s3_bucket_name: str | None = ...

The name of the S3 bucket to send logs to.

Note

The S3 bucket must already be created.

s3_encryption_enabled class-attribute instance-attribute
s3_encryption_enabled: bool = ...

Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.

s3_key_prefix class-attribute instance-attribute
s3_key_prefix: str | None = ...

An optional folder in the S3 bucket to place logs in.