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)


10810
10811
10812
10813
10814
10815
10816
10817
# File 'lib/aws-sdk-ecs/types.rb', line 10810

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)


10810
10811
10812
10813
10814
10815
10816
10817
# File 'lib/aws-sdk-ecs/types.rb', line 10810

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)


10810
10811
10812
10813
10814
10815
10816
10817
# File 'lib/aws-sdk-ecs/types.rb', line 10810

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)


10810
10811
10812
10813
10814
10815
10816
10817
# File 'lib/aws-sdk-ecs/types.rb', line 10810

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