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)


10699
10700
10701
10702
10703
10704
10705
10706
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10699

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)


10699
10700
10701
10702
10703
10704
10705
10706
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10699

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)


10699
10700
10701
10702
10703
10704
10705
10706
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10699

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)


10699
10700
10701
10702
10703
10704
10705
10706
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10699

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