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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/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)


5026
5027
5028
5029
5030
5031
5032
5033
5034
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5026

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.

The CloudWatch log group must already be created.

Returns:

  • (String)


5026
5027
5028
5029
5030
5031
5032
5033
5034
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5026

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.

The S3 bucket must already be created.

Returns:

  • (String)


5026
5027
5028
5029
5030
5031
5032
5033
5034
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5026

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)


5026
5027
5028
5029
5030
5031
5032
5033
5034
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5026

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)


5026
5027
5028
5029
5030
5031
5032
5033
5034
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5026

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