{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-create-configuration-bundle-request-schema.json",
  "title": "CreateConfigurationBundleRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-configuration-bundles-api-openapi.yml#/components/schemas/CreateConfigurationBundleRequest",
  "type": "object",
  "properties": {
    "clientToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency."
    },
    "bundleName": {
      "type": "string",
      "description": "The name for the configuration bundle. Names must be unique within your account."
    },
    "description": {
      "type": "string",
      "description": "The description for the configuration bundle."
    },
    "components": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/ComponentConfiguration"
      },
      "description": "A map of component identifiers to their configurations. Each component represents a configurable element within the bundle."
    },
    "branchName": {
      "type": "string",
      "description": "The branch name for version tracking. Defaults to mainline if not specified."
    },
    "commitMessage": {
      "type": "string",
      "description": "A commit message describing the initial version of the configuration bundle."
    },
    "createdBy": {
      "$ref": "#/$defs/VersionCreatedBySource"
    },
    "kmsKeyArn": {
      "type": "string",
      "description": "Optional KMS key ARN for encrypting component configurations."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "A map of tag keys and values to assign to the configuration bundle. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment."
    }
  },
  "required": [
    "bundleName",
    "components"
  ],
  "$defs": {
    "ComponentConfiguration": {
      "type": "object",
      "properties": {
        "configuration": {
          "type": "object",
          "description": "The configuration values as a flexible JSON document."
        }
      },
      "required": [
        "configuration"
      ]
    },
    "VersionCreatedBySource": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the source (for example, user, optimization-job, or system)."
        },
        "arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the source, if applicable (for example, a user ARN or optimization job ARN)."
        }
      },
      "required": [
        "name"
      ]
    }
  }
}