ExecuteCommandConfiguration

class aws_cdk.aws_ecs.ExecuteCommandConfiguration(*, kms_key=None, log_configuration=None, logging=None)

Bases: object

The details of the execute command configuration.

For more information, see [ExecuteCommandConfiguration] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandconfiguration.html

Parameters
  • kms_key (Optional[IKey]) – The AWS Key Management Service key ID to encrypt the data between the local client and the container. Default: - none

  • log_configuration (Optional[ExecuteCommandLogConfiguration]) – The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. Default: - none

  • logging (Optional[ExecuteCommandLogging]) – The log settings to use for logging the execute command session. Default: - none

Attributes

kms_key

The AWS Key Management Service key ID to encrypt the data between the local client and the container.

Default
  • none

Return type

Optional[IKey]

log_configuration

The log configuration for the results of the execute command actions.

The logs can be sent to CloudWatch Logs or an Amazon S3 bucket.

Default
  • none

Return type

Optional[ExecuteCommandLogConfiguration]

logging

The log settings to use for logging the execute command session.

Default
  • none

Return type

Optional[ExecuteCommandLogging]