Learn R Programming

paws.compute (version 0.1.12)

ecs_put_account_setting_default: Modifies an account setting for all IAM users on an account for whom no individual account setting has been specified

Description

Modifies an account setting for all IAM users on an account for whom no individual account setting has been specified. Account settings are set on a per-Region basis.

Usage

ecs_put_account_setting_default(name, value)

Value

A list with the following syntax:

list(
  setting = list(
    name = "serviceLongArnFormat"|"taskLongArnFormat"|"containerInstanceLongArnFormat"|"awsvpcTrunking"|"containerInsights",
    value = "string",
    principalArn = "string"
  )
)

Arguments

name

[required] The 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 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

[required] The account setting value for the specified principal ARN. Accepted values are enabled and disabled.

Request syntax

svc$put_account_setting_default(
  name = "serviceLongArnFormat"|"taskLongArnFormat"|"containerInstanceLongArnFormat"|"awsvpcTrunking"|"containerInsights",
  value = "string"
)

Examples

Run this code
if (FALSE) {
# This example modifies the default account setting for the specified
# resource for all IAM users or roles on an account. These changes apply
# to the entire AWS account, unless an IAM user or role explicitly
# overrides these settings for themselves.
svc$put_account_setting_default(
  name = "serviceLongArnFormat",
  value = "enabled"
)
}

Run the code above in your browser using DataLab