{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-elastic-beanstalk/json-schema/aws-elastic-beanstalk-create-configuration-template-message-schema.json",
  "title": "CreateConfigurationTemplateMessage",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-elastic-beanstalk-configuration-template-api-openapi.yml#/components/schemas/CreateConfigurationTemplateMessage",
  "type": "object",
  "properties": {
    "ApplicationName": {
      "type": "string",
      "description": "The name of the Elastic Beanstalk application to associate with this configuration template."
    },
    "TemplateName": {
      "type": "string",
      "description": "The name of the configuration template. Constraint: This name must be unique per application."
    },
    "SolutionStackName": {
      "type": "string",
      "description": "The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses. For example, 64bit Amazon Linux 2013.09 running Tomcat 7 Java 7. A solution stack specifies the operating system, runtime, and application server for a configuration template. It also determines the set of configuration options as well as the possible and default values. For more information, see Supported Platforms in the Elastic Beanstalk Developer Guide. You must specify SolutionStackName if you don't specify PlatformArn, EnvironmentId, or SourceConfiguration. Use the ListAvailableSolutionStacks"
    },
    "PlatformArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the custom platform. For more information, see Custom Platforms in the Elastic Beanstalk Developer Guide. If you specify PlatformArn, then don't specify SolutionStackName."
    },
    "SourceConfiguration": {
      "$ref": "#/$defs/SourceConfiguration"
    },
    "EnvironmentId": {
      "type": "string",
      "description": "The ID of an environment whose settings you want to use to create the configuration template. You must specify EnvironmentId if you don't specify PlatformArn, SolutionStackName, or SourceConfiguration."
    },
    "Description": {
      "type": "string",
      "description": "An optional description for this configuration."
    },
    "OptionSettings": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ConfigurationOptionSetting"
      },
      "description": "Option values for the Elastic Beanstalk configuration, such as the instance type. If specified, these values override the values obtained from the solution stack or the source configuration template. For a complete list of Elastic Beanstalk configuration options, see Option Values in the Elastic Beanstalk Developer Guide."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "Specifies the tags applied to the configuration template."
    }
  },
  "required": [
    "ApplicationName",
    "TemplateName"
  ],
  "$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."
        }
      }
    },
    "SourceConfiguration": {
      "type": "object",
      "properties": {
        "ApplicationName": {
          "type": "string",
          "description": "The name of the application associated with the configuration."
        },
        "TemplateName": {
          "type": "string",
          "description": "The name of the configuration template."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the tag."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag."
        }
      }
    }
  }
}