{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-elastic-beanstalk/json-schema/aws-elastic-beanstalk-create-platform-version-request-schema.json",
  "title": "CreatePlatformVersionRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-elastic-beanstalk-platform-version-api-openapi.yml#/components/schemas/CreatePlatformVersionRequest",
  "type": "object",
  "properties": {
    "PlatformName": {
      "type": "string",
      "description": "The name of your custom platform."
    },
    "PlatformVersion": {
      "type": "string",
      "description": "The number, such as 1.0.2, for the new platform version."
    },
    "PlatformDefinitionBundle": {
      "$ref": "#/$defs/S3Location"
    },
    "EnvironmentName": {
      "type": "string",
      "description": "The name of the builder environment."
    },
    "OptionSettings": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ConfigurationOptionSetting"
      },
      "description": "The configuration option settings to apply to the builder environment."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "Specifies the tags applied to the new platform version. Elastic Beanstalk applies these tags only to the platform version. Environments that you create using the platform version don't inherit the tags."
    }
  },
  "required": [
    "PlatformName",
    "PlatformVersion",
    "PlatformDefinitionBundle"
  ],
  "$defs": {
    "ConfigurationOptionSetting": {
      "type": "object",
      "properties": {
        "ResourceName": {
          "type": "string",
          "description": "A unique resource name for the option setting. Use it for a time–based scaling configuration option."
        },
        "Namespace": {
          "type": "string",
          "description": "A unique namespace that identifies the option's associated Amazon Web Services resource."
        },
        "OptionName": {
          "type": "string",
          "description": "The name of the configuration option."
        },
        "Value": {
          "type": "string",
          "description": "The current value for the configuration option."
        }
      }
    },
    "S3Location": {
      "type": "object",
      "properties": {
        "S3Bucket": {
          "type": "string",
          "description": "The Amazon S3 bucket where the data is located."
        },
        "S3Key": {
          "type": "string",
          "description": "The Amazon S3 key where the data is located."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the tag."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag."
        }
      }
    }
  }
}