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)


9789
9790
9791
9792
9793
9794
9795
9796
# File 'lib/aws-sdk-ecs/types.rb', line 9789

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)


9789
9790
9791
9792
9793
9794
9795
9796
# File 'lib/aws-sdk-ecs/types.rb', line 9789

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)


9789
9790
9791
9792
9793
9794
9795
9796
# File 'lib/aws-sdk-ecs/types.rb', line 9789

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)


9789
9790
9791
9792
9793
9794
9795
9796
# File 'lib/aws-sdk-ecs/types.rb', line 9789

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