CmdID

CmdID / aws / aws ecs

aws ecs put-account-setting-default

Modifies an account setting for all users on an account for whom no individual account setting has been specified. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To modify the default account settings

The following put-account-setting-default example modifies the default account setting for all IAM users or roles on your account. These changes apply to the entire AWS account unless an IAM user or role explicitly overrides these settings for themselves.

aws ecs put-account-setting-default --name serviceLongArnFormat --value enabledIdentify
--nameThe resource name for which to modify the account setting.
--valueThe account setting value for the specified principal ARN.
Its output
{
    "setting": {
        "name": "serviceLongArnFormat",
        "value": "enabled",
        "principalArn": "arn:aws:iam::123456789012:root"
    }
}

For more information, see Access Amazon ECS features with account settings in the Amazon ECS Developer Guide.

Options

2 in the AWS CLI reference
--nameThe resource name for which to modify the account setting.
--valueThe account setting value for the specified principal ARN.