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)


4984
4985
4986
4987
4988
4989
4990
4991
4992
# File 'lib/aws-sdk-ecs/types.rb', line 4984

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)


4984
4985
4986
4987
4988
4989
4990
4991
4992
# File 'lib/aws-sdk-ecs/types.rb', line 4984

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)


4984
4985
4986
4987
4988
4989
4990
4991
4992
# File 'lib/aws-sdk-ecs/types.rb', line 4984

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)


4984
4985
4986
4987
4988
4989
4990
4991
4992
# File 'lib/aws-sdk-ecs/types.rb', line 4984

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)


4984
4985
4986
4987
4988
4989
4990
4991
4992
# File 'lib/aws-sdk-ecs/types.rb', line 4984

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