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
Examples
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
--nameThe resource name for which to modify the account setting.--valueThe account setting value for the specified principal ARN.