class Aws::ECS::Types::PutAccountSettingRequest

@note When making an API call, you may pass PutAccountSettingRequest

data as a hash:

    {
      name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
      value: "String", # required
      principal_arn: "String",
    }

@!attribute [rw] name

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 CloudWatch
Container Insights for your clusters is affected.
@return [String]

@!attribute [rw] value

The account setting value for the specified principal ARN. Accepted
values are `enabled` and `disabled`.
@return [String]

@!attribute [rw] principal_arn

The ARN of the principal, which can be an IAM user, IAM role, or the
root user. If you specify the root user, it modifies the account
setting for all IAM users, IAM roles, and the root user of the
account unless an IAM 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>
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSettingRequest AWS API Documentation

Constants

SENSITIVE