Class: Aws::ECS::Types::ExecuteCommandLogConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_watch_encryption_enabledBoolean

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

Returns:

  • (Boolean)


4807
4808
4809
4810
4811
4812
4813
4814
4815
# File 'lib/aws-sdk-ecs/types.rb', line 4807

class ExecuteCommandLogConfiguration < Struct.new(
  :cloud_watch_log_group_name,
  :cloud_watch_encryption_enabled,
  :s3_bucket_name,
  :s3_encryption_enabled,
  :s3_key_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#cloud_watch_log_group_nameString

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

<note markdown=“1”> The CloudWatch log group must already be created.

</note>

Returns:

  • (String)


4807
4808
4809
4810
4811
4812
4813
4814
4815
# File 'lib/aws-sdk-ecs/types.rb', line 4807

class ExecuteCommandLogConfiguration < Struct.new(
  :cloud_watch_log_group_name,
  :cloud_watch_encryption_enabled,
  :s3_bucket_name,
  :s3_encryption_enabled,
  :s3_key_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#s3_bucket_nameString

The name of the S3 bucket to send logs to.

<note markdown=“1”> The S3 bucket must already be created.

</note>

Returns:

  • (String)


4807
4808
4809
4810
4811
4812
4813
4814
4815
# File 'lib/aws-sdk-ecs/types.rb', line 4807

class ExecuteCommandLogConfiguration < Struct.new(
  :cloud_watch_log_group_name,
  :cloud_watch_encryption_enabled,
  :s3_bucket_name,
  :s3_encryption_enabled,
  :s3_key_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#s3_encryption_enabledBoolean

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

Returns:

  • (Boolean)


4807
4808
4809
4810
4811
4812
4813
4814
4815
# File 'lib/aws-sdk-ecs/types.rb', line 4807

class ExecuteCommandLogConfiguration < Struct.new(
  :cloud_watch_log_group_name,
  :cloud_watch_encryption_enabled,
  :s3_bucket_name,
  :s3_encryption_enabled,
  :s3_key_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#s3_key_prefixString

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

Returns:

  • (String)


4807
4808
4809
4810
4811
4812
4813
4814
4815
# File 'lib/aws-sdk-ecs/types.rb', line 4807

class ExecuteCommandLogConfiguration < Struct.new(
  :cloud_watch_log_group_name,
  :cloud_watch_encryption_enabled,
  :s3_bucket_name,
  :s3_encryption_enabled,
  :s3_key_prefix)
  SENSITIVE = []
  include Aws::Structure
end