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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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

Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.

Returns:

  • (Boolean)

4962
4963
4964
4965
4966
4967
4968
4969
4970
# File 'lib/aws-sdk-ecs/types.rb', line 4962

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)

4962
4963
4964
4965
4966
4967
4968
4969
4970
# File 'lib/aws-sdk-ecs/types.rb', line 4962

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)

4962
4963
4964
4965
4966
4967
4968
4969
4970
# File 'lib/aws-sdk-ecs/types.rb', line 4962

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

Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.

Returns:

  • (Boolean)

4962
4963
4964
4965
4966
4967
4968
4969
4970
# File 'lib/aws-sdk-ecs/types.rb', line 4962

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)

4962
4963
4964
4965
4966
4967
4968
4969
4970
# File 'lib/aws-sdk-ecs/types.rb', line 4962

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