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

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

Overview

Note:

When making an API call, you may pass ExecuteCommandLogConfiguration data as a hash:

{
  cloud_watch_log_group_name: "String",
  cloud_watch_encryption_enabled: false,
  s3_bucket_name: "String",
  s3_encryption_enabled: false,
  s3_key_prefix: "String",
}

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 disabled.

Returns:

  • (Boolean)


5068
5069
5070
5071
5072
5073
5074
5075
5076
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5068

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)


5068
5069
5070
5071
5072
5073
5074
5075
5076
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5068

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)


5068
5069
5070
5071
5072
5073
5074
5075
5076
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5068

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)


5068
5069
5070
5071
5072
5073
5074
5075
5076
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5068

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)


5068
5069
5070
5071
5072
5073
5074
5075
5076
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5068

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