{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ecs/json-schema/amazon-ecs-put-account-setting-default-request-schema.json",
  "title": "PutAccountSettingDefaultRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ecs-operations-api-openapi.yml#/components/schemas/PutAccountSettingDefaultRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "enum": [
        "serviceLongArnFormat",
        "taskLongArnFormat",
        "containerInstanceLongArnFormat",
        "awsvpcTrunking",
        "containerInsights",
        "fargateFIPSMode",
        "tagResourceAuthorization",
        "fargateTaskRetirementWaitPeriod",
        "guardDutyActivate",
        "defaultLogDriverMode",
        "fargateEventWindows"
      ],
      "description": "The resource name for which to modify the account setting. The following are the valid values for the account setting name. serviceLongArnFormat - When modified, the Amazon Resource Name (ARN) and resource ID format of the resource type for a specified user, role, or the root user for an account is affected. The opt-in and opt-out account setting must be set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is defined by the opt-in status of the user or role that created the resource. You must turn on this setting to use Amazon ECS features such as resource "
    },
    "value": {
      "type": "string",
      "description": "The account setting value for the specified principal ARN. Accepted values are enabled, disabled, on, enhanced, and off. When you specify fargateTaskRetirementWaitPeriod for the name, the following are the valid values: 0 - Amazon Web Services sends the notification, and immediately retires the affected tasks. 7 - Amazon Web Services sends the notification, and waits 7 calendar days to retire the tasks. 14 - Amazon Web Services sends the notification, and waits 14 calendar days to retire the tasks."
    }
  },
  "required": [
    "name",
    "value"
  ]
}