Class: Aws::ECS::Types::Setting

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

Overview

The current account setting for a resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The Amazon ECS resource name.

Returns:

  • (String)


9829
9830
9831
9832
9833
9834
9835
9836
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 9829

class Setting < Struct.new(
  :name,
  :value,
  :principal_arn,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#principal_arnString

The ARN of the principal. It can be a user, role, or the root user. If this field is omitted, the authenticated user is assumed.

Returns:

  • (String)


9829
9830
9831
9832
9833
9834
9835
9836
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 9829

class Setting < Struct.new(
  :name,
  :value,
  :principal_arn,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

Indicates whether Amazon Web Services manages the account setting, or if the user manages it.

aws_managed account settings are read-only, as Amazon Web Services manages such on the customer's behalf. Currently, the guardDutyActivate account setting is the only one Amazon Web Services manages.

Returns:

  • (String)


9829
9830
9831
9832
9833
9834
9835
9836
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 9829

class Setting < Struct.new(
  :name,
  :value,
  :principal_arn,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

Determines whether the account setting is on or off for the specified resource.

Returns:

  • (String)


9829
9830
9831
9832
9833
9834
9835
9836
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 9829

class Setting < Struct.new(
  :name,
  :value,
  :principal_arn,
  :type)
  SENSITIVE = []
  include Aws::Structure
end