{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-certificate-manager/json-schema/amazon-certificate-manager-create-acme-external-account-binding-request-schema.json",
  "title": "CreateAcmeExternalAccountBindingRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-certificate-manager-acme-external-account-binding-api-openapi.yml#/components/schemas/CreateAcmeExternalAccountBindingRequest",
  "type": "object",
  "properties": {
    "IdempotencyToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier to ensure idempotency of the request."
    },
    "AcmeEndpointArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the ACME endpoint."
    },
    "RoleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the IAM role to associate with the external account binding."
    },
    "Expiration": {
      "$ref": "#/$defs/Expiration"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "One or more tags to associate with the external account binding."
    }
  },
  "required": [
    "AcmeEndpointArn",
    "RoleArn"
  ],
  "$defs": {
    "Expiration": {
      "type": "object",
      "properties": {
        "Value": {
          "type": "integer",
          "description": "The numeric value of the expiration."
        },
        "Type": {
          "type": "string",
          "enum": [
            "MINUTES",
            "HOURS",
            "DAYS"
          ],
          "description": "The time unit for the expiration value."
        }
      },
      "required": [
        "Value",
        "Type"
      ]
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the tag."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag."
        }
      },
      "required": [
        "Key"
      ]
    }
  }
}