NAME
Paws::ECS::PutAccountSetting - Arguments for method PutAccountSetting on Paws::ECS
DESCRIPTION
This class represents the parameters used for calling the method PutAccountSetting on the Amazon EC2 Container Service service. Use the attributes of this class as arguments to method PutAccountSetting.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutAccountSetting.
SYNOPSIS
my $ecs = Paws->service('ECS');
my $PutAccountSettingResponse = $ecs->PutAccountSetting(
Name => 'serviceLongArnFormat',
Value => 'MyString',
PrincipalArn => 'MyString', # OPTIONAL
);
# Results:
my $Setting = $PutAccountSettingResponse->Setting;
# Returns a L<Paws::ECS::PutAccountSettingResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/ecs/PutAccountSetting
ATTRIBUTES
REQUIRED Name => Str
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.
Valid values are: "serviceLongArnFormat"
, "taskLongArnFormat"
, "containerInstanceLongArnFormat"
, "awsvpcTrunking"
, "containerInsights"
PrincipalArn => Str
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.
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
REQUIRED Value => Str
The account setting value for the specified principal ARN. Accepted values are enabled
and disabled
.
SEE ALSO
This class forms part of Paws, documenting arguments for method PutAccountSetting in Paws::ECS
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues