paws.compute (version 0.1.0)

ecs_put_account_setting_default: Modifies the ARN and resource ID format of a resource type for all IAM users on an account for which no individual account setting has been set

Description

Modifies the ARN and resource ID format of a resource type for all IAM users on an account for which no individual account setting has been set. Enabling this setting is required to use new Amazon ECS features such as resource tagging.

Usage

ecs_put_account_setting_default(name, value)

Arguments

name

[required] The resource type to enable the new format for. 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 are affected. If containerInstanceLongArnFormat is specified, the ARN and resource ID for your Amazon ECS container instances are 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",
  value = "string"
)

Examples

Run this code
# NOT RUN {
# 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.
# }
# NOT RUN {
svc$put_account_setting_default(
  name = "serviceLongArnFormat",
  value = "enabled"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab