ecs_put_account_setting {aws.ecx} | R Documentation |
Put Account Setting
Description
Put Account Setting
Usage
ecs_put_account_setting(
name = NULL,
value = NULL,
principalArn = NULL,
simplify = TRUE,
others = list(),
print_on_error = aws_get_print_on_error(),
retry_time = aws_get_retry_time(),
network_timeout = aws_get_network_timeout(),
region = aws_get_region()
)
Arguments
name |
Character. The Amazon ECS resource name for which to modify the account setting. |
value |
Character. The account setting value for the specified principal ARN. |
principalArn |
Character. The ARN of the principal, which can be an IAM user, IAM role, or the root user. |
simplify |
Logical. Whether to simplify the result and handle |
others |
Named list. The parameters that are not included in the function parameters and need to be added into the request[optional] |
print_on_error |
Logical. Whether to show an error message when a network error occurs. |
retry_time |
Integer. Number of retries for a REST request when encounter the
network issue. If the request has been sent |
network_timeout |
Numeric. Number of seconds to wait for a REST response until giving up. Can not be less than 1 ms. |
region |
Character. The region of the AWS service. |
Value
A list object or a character vector
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.
value
The account setting value for the
specified principal ARN. Accepted values are enabled
and
disabled
.
principalArn
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.