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

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


10728
10729
10730
10731
10732
10733
10734
10735
# File 'lib/aws-sdk-ecs/types.rb', line 10728

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)


10728
10729
10730
10731
10732
10733
10734
10735
# File 'lib/aws-sdk-ecs/types.rb', line 10728

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)


10728
10729
10730
10731
10732
10733
10734
10735
# File 'lib/aws-sdk-ecs/types.rb', line 10728

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)


10728
10729
10730
10731
10732
10733
10734
10735
# File 'lib/aws-sdk-ecs/types.rb', line 10728

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