Class: Aws::ECS::Types::PutAccountSettingRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The Amazon ECS resource name for which to modify the account setting. If ‘serviceLongArnFormat` is specified, the ARN for your Amazon ECS services is affected. If `taskLongArnFormat` is specified, the ARN and resource ID for your Amazon ECS tasks is affected. If `containerInstanceLongArnFormat` is specified, the ARN and resource ID for your Amazon ECS container instances is affected. If `awsvpcTrunking` is specified, the elastic network interface (ENI) limit for your Amazon ECS container instances is affected. If `containerInsights` is specified, the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected. If `fargateFIPSMode` is specified, Fargate FIPS 140 compliance is affected. If `tagResourceAuthorization` is specified, the opt-in option for tagging resources on creation is affected. For information about the opt-in timeline, see [Tagging authorization timeline] in the *Amazon ECS Developer Guide*.

[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources

Returns:

  • (String)


7250
7251
7252
7253
7254
7255
7256
# File 'lib/aws-sdk-ecs/types.rb', line 7250

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

#principal_arnString

The ARN of the principal, which can be a user, role, or the root user. If you specify the root user, it modifies the account setting for all users, roles, and the root user of the account unless a user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.

<note markdown=“1”> Federated users assume the account setting of the root user and can’t have explicit account settings set for them.

</note>

Returns:

  • (String)


7250
7251
7252
7253
7254
7255
7256
# File 'lib/aws-sdk-ecs/types.rb', line 7250

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

#valueString

The account setting value for the specified principal ARN. Accepted values are ‘enabled`, `disabled`, `on`, and `off`.

Returns:

  • (String)


7250
7251
7252
7253
7254
7255
7256
# File 'lib/aws-sdk-ecs/types.rb', line 7250

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