AWS AppConfig AI Configuration Profiles - What the Typed Schema Validates and What customParameters Passes Through
First Published:
Last Updated:
AWS.AppConfig.AIModelInvocation which handles settings for model calls, and AWS.AppConfig.AIPrompt which includes prompts. The former utilizes a typed schema, and AppConfig validates the configuration data against this schema both during creation and deployment. This makes it look as if moving to AI configuration profiles stops incorrect model settings before deployment.However, AppConfig range-checks only a portion of the inference parameters. The only upper limit the page documents is for
topP, and temperature has only a lower limit. For customParameters, the page says AppConfig checks only whether it is well-formed JSON. The application code is responsible for mapping the data to the provider's format, while AppConfig does not actually call the model. It is possible for a configuration that passes schema validation to be rejected by the model itself.This article details, based on AWS documentation and testing conducted in the us-east-1 region, for each field of the AI model invocation configuration profile, what AppConfig range-checks, what it shape-checks only, and what it passes to your application and the provider without checking. The testing performed does not involve calling any AI models. This article is based on documentation reviewed and testing conducted on December 1, 2026 (during re:Invent 2026), and reflects those findings. This article does not cover deployment strategies, automated rollbacks, configuration retrieval mechanisms, recommended parameter values, or pricing.
Related articles on this site:
- Dynamic Model Routing and Configuration Management for Generative AI with AWS AppConfig - Feature Flags, Schema Validation, and Safe Deployments
- Safe Foundation Model Rollout Strategies on AWS - Canary Traffic Shifting, Evaluation Gates, and Automated Rollback
- Prompt Lifecycle Management on AWS - Amazon Bedrock Prompt Management, Versioning, and Prompt-as-Code CI/CD
- LLM API Parameter Compatibility Reference - Anthropic, OpenAI, Google Gemini, and Amazon Bedrock
- Amazon Bedrock Converse API Deep Dive - Unified Model Interface, Conversation State, Tool Use, and Streaming
Table of Contents
- 1. Scope and Assumptions
- 2. The Typed Schema
- 3. What AppConfig Checks, and What It Checks Only for Shape
- 4. Components Outside of AppConfig
- 5. AI Prompt Configuration Profile
- 6. Differences from a Custom JSON Schema, and Differences Between Pages
- 7. Demo: Rejected Values and Accepted Values
- 8. Frequently Asked Questions about AI Configuration Profiles
- 9. Summary
- 10. References
1. Scope and Assumptions
This chapter first defines the intended audience for this article, the scope of the discussion, the consulted materials, the indicators used, and the usage of terminology. The following nine points represent the key conclusions.- The typed schema of the AI model invocation configuration profile has a required
schemaVersionandmodel, as well as optionalinferenceParametersandcustomParameters, andmessages(Chapter 2). - The only range with a maximum documented on the page is
topP.temperaturehas a lower limit of 0, andmaxTokenshas a lower limit of 1. In our testing, values oftemperatureat 2.0, 5.0, and 100, andmaxTokensat 1 billion, passed version creation (Section 3.1). - The schema validates data types, including whether values are integers, empty strings, the value of
schemaVersion, and unknown keys. In our testing, values fortopKwithininferenceParameters, and top-level unknown keys were rejected (Section 3.2). - Regarding
customParameters, the documentation states that AppConfig only verifies whether the input is well-formed JSON. In our testing, non-object values (such as arrays, strings, andnull) were rejected, while unknown keys within objects and incorrect data types were accepted (Section 3.3). - The page does not say that AppConfig checks whether a model ID exists or whether a
rolevalue is one the provider accepts. In our testing, versions with non-existent model IDs, and a version missingmodel, which the page lists as required, passed version creation (Section 3.4). - Your application code maps the fields to the provider's format. The page says the typed inference parameters mirror the
InferenceConfigurationof the Amazon Bedrock Converse API. That API reference specifies a range of 0 to 1 fortemperature(Chapter 4). - The
customParametersin the page's example hold values that, according to the table on Bedrock's adaptive thinking page, correspond to a 400 error on Claude Sonnet 5. A configuration that passes the schema validation may still be rejected by the model itself (Section 4.3). - The AI prompt configuration profile holds plain text, and the page does not describe validating its contents. The page does not describe a mechanism that links the two types by reference (Chapter 5).
- A JSON Schema validator could not be attached to the typed profile. In freeform profiles using a custom JSON Schema, out-of-range values were accepted during creation, but validation and deployment prevented them from proceeding (Chapter 6).
1.1 Target Audience
We are targeting developers and operations personnel who are using or planning to use AWS AppConfig to manage model IDs, inference parameters, and prompts for AI applications. Specifically, we are focusing on those who are looking to transition to typed AI configuration profiles, expecting to prevent incorrect configurations from being deployed, and those who are usingcustomParameters to provide provider-specific values, such as top_k settings or thinking configurations.1.2 Scope: What We Address, and What We Do Not
This article covers the two AI types, the three conditions for a field to enter the typed schema, the fields and constraints,customParameters, when validation runs, who maps the fields to the provider's format, the AI prompt configuration profile, the differences from custom validators, the differences between pages, and the measured results.The following topics are explicitly not covered:
- Deployment strategies, automated rollbacks, retrieval through the AppConfig Agent and the Lambda extension, and how to write custom JSON Schemas and Lambda validators: Dynamic Model Routing and Configuration Management for Generative AI with AWS AppConfig
- Canary testing for model switching and rollbacks using alarms: Safe Foundation Model Rollout Strategies on AWS
- Prompt version management (including Amazon Bedrock Prompt Management): Prompt Lifecycle Management on AWS
- Parameter names and ranges for each provider: LLM API Parameter Compatibility Reference
This article does not include recommended parameter values, comparisons of model performance, or pricing.
1.3 Checked Date and Reviewed Materials
The verification date is December 1, 2026. This date falls in the re:Invent 2026 conference (November 30 – December 4, 2026), and the pages reviewed in this article may change during the conference period. The reviewed materials fall into three categories:- AWS AppConfig User Guide: the pages on the AI model invocation configuration profile, the AI prompt configuration profile, configuration profiles, validators, and the document history.
- API Reference and Infrastructure as Code (IaC):
CreateConfigurationProfile,CreateHostedConfigurationVersion, and the CloudFormationAWS::AppConfig::ConfigurationProfile. - What's New: "AWS AppConfig launches support for managing native AI model and AI prompt configuration" (posted November 19, 2026, 05:00 UTC).
On the provider side, we read the adaptive thinking page of the Amazon Bedrock User Guide, the API reference for
InferenceConfiguration in the Bedrock Converse API, and the release notes for the Anthropic Claude API.1.4 Claim Marks
This article marks each statement with one of the following four marks:| Mark | Meaning |
|---|---|
| Stated | Found in AWS or Anthropic documentation. |
| Not stated | Not found in the documents reviewed for this article. This does not constitute proof of non-existence. |
| Inference | Derived by this article based on the documentation and empirical observations. |
| Measured | The result was obtained through empirical testing conducted by this article (December 1, 2026, us-east-1, AWS CLI 2.42.6). The same result may not be obtained in other regions, on different dates, or with different versions. |
1.5 Usage of Terms
This article divides AppConfig's checks into the following three layers.| Term Used in this Article | Refers to | Example |
|---|---|---|
| Range-checked | Checked up to the minimum or maximum of the value when the version is created | topP from 0 to 1 |
| Shape-checked only | Only the JSON type (object, array, string, and so on) is checked; the contents are not | customParameters |
| Not checked | Outside AppConfig's checks; handled by your application code or the provider | Whether a model ID exists, mapping to the provider's format, whether the model accepts a value |
In addition to the above, the following terms are used with specific distinctions:
- Configuration Profile: A resource that defines the location and type of AppConfig configuration data. In this article, "AI configuration profile" refers to the configuration profiles for two different AI types.
- Hosted Configuration Version: A specific version of the configuration data stored in the AppConfig hosted configuration store. Created using
CreateHostedConfigurationVersion. schemaVersion: A field in the configuration data that indicates the version of the AI model invocation schema. It is distinct from a hosted configuration version.
2. The Typed Schema
This chapter shows which fields the schema of the AI model invocation configuration profile has, and which constraints the page documents.2.1 Four Types and Two AI Types
The AppConfig user guide's configuration profile page lists the following four types as of December 1, 2026 (Stated):- Feature flags (
AWS.AppConfig.FeatureFlags) - Freeform configurations (
AWS.Freeform) - AI model invocation configurations (
AWS.AppConfig.AIModelInvocation) - AI prompt configurations (
AWS.AppConfig.AIPrompt)
Both AI types are placed in the AppConfig hosted configuration store (Stated). The "What's New" section states that these two types are "available today in all AWS Regions where AWS AppConfig is available" (Stated).
The AI model invocation configuration profile page states when the typed schema is applied:
AWS AppConfig validates configuration data against the AI model invocation schema at creation and deployment time. If validation fails, AWS AppConfig rejects the operation.
The same page also states that AI configuration profiles utilize the same deployment, retrieval, and rollback mechanisms as feature flags and freeform configurations (Stated). The deployment and retrieval mechanisms are discussed in Dynamic Model Routing and Configuration Management for Generative AI with AWS AppConfig.
2.2 Entering the Schema: Three Conditions
The page states that fields entering the typed schema must meet the following three conditions (Stated):
- The field is part of the model call.
- The field is common across AI providers.
- The field is validatable.
Furthermore, the page states that parameters failing to meet all three conditions can be passed via
customParameters (Stated). The page provides examples, such as topK and reasoning effort settings, as parameters that can be placed within customParameters (Stated).2.3 Field Table
Table 1 combines tables detailing the page fields and inference parameters, and lists the values that were accepted and rejected at creation time during the measurements conducted for this article.Table 1: AI Model Invocation Schema Fields (Page and Measurement)
| Field | Type | Page Required | Page Constraints | AppConfig Validation | Measured Rejected Values | Measured Accepted Values |
|---|---|---|---|---|---|---|
schemaVersion | String | Required | Example: "1" | Range-checked (only "1") | Missing, "2", numeric 1 | "1" |
model | String | Required | Example: anthropic.claude-sonnet-5 | Shape-checked only (non-empty string) | Empty string | "no-such-model", missing |
inferenceParameters.temperature | Float | Optional | Minimum 0 | Range-checked (minimum only) | -0.1, string "0.7" | 0, 2.0, 5.0, 100 |
inferenceParameters.topP | Float | Optional | Minimum 0, maximum 1 | Range-checked | 1.5, -0.1 | 1 |
inferenceParameters.maxTokens | Integer | Optional | Minimum 1 | Range-checked (minimum only) | 0, 1.5 | 1000, 1000000000 |
inferenceParameters.stopSequences | Array of strings | Optional | Each string must be non-empty | Range-checked | [""], string "STOP" | [] |
customParameters | Object | Optional | Well-formed JSON only | Shape-checked only | Array, string, null | Unknown keys, incorrectly typed top_k |
messages | Array | Optional | role and content are required | Shape-checked only | Object, missing content, array content | role with value "narrator" |
The two columns labeled "Measured" in the table represent the results of the actual tests performed for this article (Measured). The conditions and outputs are described in Chapter 7.
Regarding the
role for each element within messages, the documentation states, "This field is an open string to support any provider's role values." (Stated). It further states that messages should include the system prompt and example conversations. The documentation also indicates that the user's actual input is not included in the configuration; instead, the application adds it at runtime (Stated).2.4 When Validation Runs
The page states that the schema is applied at creation and deployment time (Section 2.1). In our testing, when encountering out-of-range values,CreateHostedConfigurationVersion rejected the request with a BadRequestException, and the version was not created (Measured). We did not observe any instances where a version that passed the creation validation was subsequently rejected during deployment (Measured). The documentation does not specify the circumstances under which a version that passed creation validation might be rejected during deployment (Not stated).3. What AppConfig Checks, and What It Checks Only for Shape
This chapter reads Table 1 as three layers.
3.1 Range-Checked Values
In the table outlining inference parameters, onlytopP has an explicitly stated upper limit (Stated).| Field | Constraint |
|---|---|
temperature | Minimum value of 0 |
topP | Minimum value of 0. Maximum value of 1. |
maxTokens | Minimum value of 1 |
stopSequences | Each string must be non-empty |
In our testing, values of
topP at 1.5 and -0.1, temperature at -0.1, and maxTokens at 0 were rejected at creation (Measured). Values of temperature at 2.0, 5.0, and 100, and maxTokens at 1000000000, passed creation (Measured). This article does not claim that temperature has no maximum. It can state only two things: the page documents no maximum, and 100 passed in this measurement.The version with
temperature 100 deployed to COMPLETE, and the retrieved content matched the original file byte for byte (Measured). As far as AppConfig's checks go, this value reaches the application.3.2 Values Checked for Type and Shape
In addition to range validation, the schema also verifies data types and structures. The following lists the values that were rejected during testing, along with the corresponding messages (Measured).- When
temperaturewas set to the string"0.7": Not anintegerornumber. - When
maxTokenswas set to 1.5: Not aninteger. - When
stopSequenceswas set to an empty string, or whenstopSequenceswas set to a string instead of an array: Rejected. - When
schemaVersionwas set to"2": Only the value"1"is accepted. - When
inferenceParametersincludedtopK: An unsupported property according to the schema. - When an unknown key (e.g.,
provider) was included at the top level: An unsupported property according to the schema. - When
modelwas set to an empty string: Length is 0.
The schema rejects unknown keys in
inferenceParameters and at the top level (Measured). If provider-specific parameters are placed within inferenceParameters, the creation process will fail. The documentation states that topK should be placed within customParameters (see Section 2.2), and the measured result is consistent with that statement.3.3 customParameters, Checked Only for Shape
The documentation states the following regarding customParameters:
AWS AppConfig validates that customParameters is well-formed JSON, but does not validate its contents. This design allows you to use any provider-specific parameter without waiting for a schema update.
In our testing, versions of
customParameters that were arrays, strings, or null were rejected because they were not of type object (Measured). This aligns with the requirement that the field's declared type is Object. However, when the value is an object, its contents are not validated. We observed that parameters with keys not defined by the provider (e.g., no_such_parameter) and values with incorrect types (e.g., "top_k": "ten") both passed creation (Measured).Therefore, AppConfig's validation process will not detect errors within
customParameters (Inference). You must consult the provider's documentation to determine which keys and values are accepted. The LLM API Parameter Compatibility Reference addresses provider-specific parameters. The mechanism of passing received values without validation is also covered in this series' article on CloudFront Functions Network Calls - One Call per Invocation, Origin IDs Only, and a One-Second Limit.3.4 Values Not Checked
The documentation states thatmodel should be "Model identifier to invoke." without specifying whether the provided value must be a valid model ID (Not stated). Our testing found that a version with the value "no-such-model" successfully passed the creation process (Measured).The
role field is an open string (Stated). Our testing showed that a version with the value "narrator" successfully passed the creation process (Measured). AppConfig's validation does not prevent the use of role values that the provider may not accept (Inference).Our testing also found that a version without the
model field successfully passed the creation process (Measured). The documentation lists model as a required field (Required: Yes) (Stated). However, empty strings for model are rejected, and missing schemaVersion values are also rejected, indicating different handling. This article did not deploy versions without the model field, and it has not verified whether such versions would be rejected at deployment. This article could not determine the reason for the discrepancy between the documentation and our testing results (Not stated).4. Components Outside of AppConfig
This chapter outlines the responsibilities of the app and the provider after AppConfig has distributed the configuration.4.1 Your Application Code Maps the Fields to the Provider's Format
The page states the following:The mapping from canonical AI model invocation fields to the provider's wire format is performed by your application code. AWS AppConfig stores and delivers the configuration data but does not call the AI provider on your behalf.
The page's retrieval example takes the configuration from the local endpoint of AppConfig Agent (
localhost:2772) and maps it to Bedrock's ConverseCommand (Stated). The mapping is as follows:| Configuration Field | Destination for Values Passed by the Example Code |
|---|---|
model | modelId |
messages where role is system | system |
All other elements within messages, including user input | messages |
inferenceParameters | inferenceConfig |
customParameters | additionalModelRequestFields |
In this mapping,
inferenceParameters and customParameters are passed directly to the Converse request (Inference). Unless your application code checks them, values that pass AppConfig's checks reach the provider as they are.4.2 Differences with Converse's InferenceConfiguration
The page describes the typed inference parameters as follows:
The typed inference parameters mirror the InferenceConfiguration used by the Amazon Bedrock Converse API.
The Bedrock API reference for
InferenceConfiguration describes the temperature and topP ranges as having a "Valid Range: Minimum value of 0. Maximum value of 1." (Stated). It also specifies a maximum limit of 2500 for the number of elements in the stopSequences array (Stated). The AppConfig documentation only specifies a lower limit for temperature (Stated). The maximum number of elements allowed in stopSequences is not mentioned in the AppConfig documentation (Not stated).Our testing shows that the version with a
temperature value of 2.0 passed AppConfig's creation, and the version with a value of 100 also passed deployment (Measured). Passing these values to the Converse inferenceConfig would place them outside the ranges specified in the API reference (Inference). This article does not call the model, so we have not verified how Converse handles these values. The reason why the AppConfig documentation does not specify an upper limit for temperature is also not stated (Not stated).4.3 Even When a Configuration Passes the Schema, the Model Can Reject It
The page's example configuration hasanthropic.claude-sonnet-5 in model and has the following values for customParameters (Stated)."customParameters": {
"thinking": { "type": "enabled", "budget_tokens": 4000 },
"output_config": { "effort": "high" }
}
In the practical testing conducted for this article, this example configuration passed the schema validation using a typed content type (Section 4.4) (Measured).
However, the table in the Bedrock user guide, regarding adaptive thinking, states that Claude Sonnet 5 returns a "400 error" when
"enabled" is used with budget_tokens, and that a 400 error means the request is rejected with a ValidationException (Stated). The same section also states that, when using the Converse API, thinking should be included in additionalModelRequestFields (Stated). When customParameters is mapped to additionalModelRequestFields as in the page's example code, this results in a combination that corresponds to the 400 error described in the table (Inference).Regarding sampling values, the release notes for Anthropic's Claude API (dated June 30, 2026) state that Claude Sonnet 5 returns a 400 error if
temperature, top_p, and top_k are set to non-default values (Stated). This is specific to the Claude API. The model card for Claude Sonnet 5 in Bedrock, as well as the adaptive thinking section, do not contain any descriptions regarding how sampling values are handled (Not stated). This article does not verify whether the temperature of 0.7 and topP of 0.9 from the example will be rejected by Bedrock.This article does not claim that the example is incorrect. The example is intended to demonstrate a configuration structure; determining which values are acceptable for which model is outside the scope of the example (Inference). What this example demonstrates is that passing the typed schema in AppConfig and the model accepting those values are separate validation processes.
4.4 The Content Type, and the Value Returned on Retrieval
The page's CLI example passes--content-type "application/json" when it creates a version (Stated). In this measurement, creating an AI model invocation version with this content type was rejected with the following message, even when the content passed the schema (Measured).Content type must be 'application/json; type=AWS.AppConfig.AIModelInvocation' for configuration profile type 'AWS.AppConfig.AIModelInvocation'. Received: 'application/json'
When using
application/json; type=AWS.AppConfig.AIModelInvocation, the version was successfully created (Measured). The AWS documentation page that specifies this content type could not be found (Not stated).When retrieving data using
GetLatestConfiguration for AppConfig Data, the response's ContentType was application/json; type=AWS.AppConfig.AIModelInvocation (Measured). If the application strictly verifies the content type as application/json, this value will not match (Inference). This article did not check the content type that AppConfig Agent returns (Not stated).5. AI Prompt Configuration Profile
This chapter shows whatAWS.AppConfig.AIPrompt holds and how it connects to the AI model invocation configuration profile.5.1 Plain Text Format
The page describing AI prompt configuration profiles states that the prompt content should be placed in the AppConfig hosted configuration store as plain text (Stated). It states that any format can be used, including Markdown, plain text, or custom, structured text formats (Stated). The page's CLI example specifies--content-type "text/plain" (Stated). The page does not mention content validation (Not stated).The results of our testing are as follows (Measured):
- Versions using
text/plainandtext/markdownwere successfully created. - Versions with
application/jsonwere rejected with the following message, whether the content was JSON or plain text - Versions with 0-byte content were rejected, with the
contentbeing treated as null. - The
text/plainversion deployed toCOMPLETE, the retrieved content matched the original file byte for byte, andContentTypewastext/plain
Content type must be one of 'text/plain', 'text/markdown' for configuration profile type 'AWS.AppConfig.AIPrompt'. Received: 'application/json'
5.2 What Connects the Two Types
The page states, "You can also reuse a single prompt across multiple AI model configurations." (Stated). However, the schema does not include fields that allow an AI model invocation configuration profile to reference a specific AI prompt configuration profile (Stated, field table). The mechanism for connecting these two types by reference is not mentioned on the page (Not stated).The page's example retrieves the two configurations separately from AppConfig Agent, and the application code combines them at runtime (Stated). The model settings come from the AI model invocation configuration profile, while the system prompt is taken from the AI prompt configuration profile. The application code determines which prompts and model settings are combined (Inference). Since the two configurations are deployed separately, the combination used by the application at any given time is determined by the progress of each deployment (Inference).

5.3 Where the System Prompt Can Go
A Note on the AI prompt configuration profile page states that the AI model invocation configuration profile can also hold the system prompt.With the AI model invocation configuration profile type (AWS.AppConfig.AIModelInvocation), you can include a system prompt inline by adding a message with thesystemrole to themessagesarray, or by usingcustomParameters.
Therefore, according to the documentation, there are three possible locations for the system prompt (Stated):
- The
messagesarray, with thesystemrole, in the AI model invocation configuration profile. - The
customParametersin the AI model invocation configuration profile. - The AI prompt configuration profile.
The documentation states that the AI prompt configuration profile should be used when you need to distribute prompts at a different frequency than the model settings, or when you want to use the same prompt across multiple AI model invocation configurations (Stated). When values are present in all three locations, the application code determines which one to use (Inference).
5.4 Positioning within Other Systems
Amazon Bedrock Prompt Management is one system used to manage versions of prompts. The relationships between Prompt Management versions, variables, and Bedrock invocations are covered in Prompt Lifecycle Management on AWS. AI prompt configuration profiles leverage AppConfig's deployment strategies and automated rollback mechanisms to manage prompt distribution (Stated).When running agents with Amazon Bedrock AgentCore, you can also place model IDs and prompts that are kept outside the runtime version in AgentCore configuration bundles. What returns and what does not when an endpoint is rolled back to a previous version, including bundle versions, is covered in What an Agent Release Contains on AgentCore - Runtime Versions, Endpoints, and Parts Outside the Version.
6. Differences from a Custom JSON Schema, and Differences Between Pages
This chapter shows how the AI types differ from freeform with a custom validator, which existed before them, and where pages contradict each other.6.1 The Types Supported by the Validators Page
The validators page describes the types of validators and the configuration types they support as follows (Stated):
- AWS Lambda functions: Supported for feature flags and free form configurations.
- JSON Schema: Supported for free form configurations. (AWS AppConfig automatically validates feature flags against a JSON Schema.)
This page does not mention the two AI types (Not stated). Whether you can add a custom validator to these AI types is not clear from this page.
6.2 A JSON Schema Validator Cannot Be Attached to a Typed Profile
In our testing, attempts to create a configuration profile forAWS.AppConfig.AIModelInvocation using a JSON Schema validator resulted in the following error message (Measured):Cannot add JSON_SCHEMA validators to typed configuration profiles. JSON_SCHEMA validators are automatically managed by the service for typed configurations. Only LAMBDA validators can be added or removed.
The message indicates that for typed configuration profiles, the service manages the JSON Schema validator, and users can only add Lambda validators (Inference). This article did not attach a Lambda validator to the AI types and run it. The documentation on validators states that Lambda validators are applicable to feature flags and freeform configurations, which contradicts this message (see Section 6.5).
6.3 Freeform with a Custom JSON Schema Stops at a Different Point
To compare, this article added a validator with a JSON Schema that limits thetemperature to 1 to the AWS.Freeform configuration profile. The results when the temperature was set to 2.0 are as follows (Measured).| Point | AI Model Invocation Configuration Profile | Freeform and Custom JSON Schema |
|---|---|---|
CreateHostedConfigurationVersion | Passed (the schema checks no maximum for temperature) | Passed |
ValidateConfiguration | Not performed | Rejected with a BadRequestException |
StartDeployment | Passed, and the deployment reached COMPLETE (checked with the temperature 100 version) | Rejected with a BadRequestException |
The messages returned during freeform validation and deployment are as follows (Measured).
Could not build JSON schema from invalid input:
{"$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": {"inferenceParameters": {"type": "object", "properties": {"temperature": {"type": "number", "minimum": 0, "maximum": 1}}}}}.
Original error message:
[message: "numeric instance is greater than the required maximum (maximum: 1, found: 2.0)" - parent node: /inferenceParameters/temperature]
The typed schema stops the values it checks at creation time (Measured). In this measurement, freeform with a custom JSON Schema did not stop the value at creation and stopped it at validation and deployment (Measured).
6.4 Where Your Own Checks Still Matter
Whatever the typed schema does not check still needs to be checked somewhere after you move to the AI types (Inference).- The list of allowed model IDs: the typed schema does not check whether a
modelexists (Section 3.4). An example that restricts model IDs withenumin a custom JSON Schema is in Dynamic Model Routing and Configuration Management for Generative AI with AWS AppConfig. - Provider-specific constraints: These include limits on
temperature, the number ofstopSequences, and the contents ofcustomParameters. - Combination constraints: These are limitations specific to each model, such as the permissible combinations of "thinking" and sampling values (as described in Section 4.3).
As a way to check these with the AI types, the error message names Lambda validators (Section 6.2). Checking them in your application code when it maps the fields to the provider's format is another way (Inference). This article does not recommend one approach over the other.
6.5 Differences Between Pages, and Differences Between Documentation and Actual Results
As of December 1, 2026, the following differences exist:| Item | One Source | The Other Source or the Measurement |
|---|---|---|
| Number of Configuration Profile Types | The user guide lists 4 configuration profile types (Stated). | The CreateConfigurationProfile API reference and the CloudFormation Type description list 2 types: AWS.AppConfig.FeatureFlags and AWS.Freeform. (Stated) The pattern for Type (API: ^[a-zA-Z0-9\.\-]+, CloudFormation: ^[a-zA-Z\.]+) also matches AI type names. |
| Change History | What's New announced the two types on November 19, 2026 (Stated). | The User Guide's Document history shows the latest entry as October 23, 2026, and does not include any entries for AI types (Stated). |
| Content Type for AI Model Invocation Versions | The page's CLI example uses application/json (Stated). | In the measurement, application/json was rejected; application/json; type=AWS.AppConfig.AIModelInvocation was required (Measured). |
model Field Requirement | The page's table gives Required: Yes (Stated). | In the measurement, versions were successfully created without the model field (Measured). |
| Validator Targets | The validators page states that Lambda validators support feature flags and freeform, and JSON Schema supports freeform (Stated). | The error message in the measurement indicated that only Lambda validators could be added to typed configuration profiles (Measured). |
| Inference Parameter Ranges | The AppConfig page states that the parameters mirror the InferenceConfiguration of Converse, but does not specify an upper limit for temperature (Stated). | The InferenceConfiguration API reference states that temperature ranges from 0 to 1 (Stated). |
This article does not treat the API reference as the authority. The entry point for configuration profile types is the User Guide. When either side catches up, rows in this table will change.
7. Demo: Rejected Values and Accepted Values
This chapter presents the conditions and results of the actual measurements conducted for this article.7.1 Configuration and Procedure
The conditions for the actual test were as follows:- Date and Time: December 1, 2026 (First run started at 03:51 UTC, second run on the same day)
- Region: us-east-1
- Tools: Script using AWS CLI 2.42.6 (Infrastructure as Code not used)
- Resources: Application 1, Environment 1, Configuration Profile 3 (AI model invocation, AI prompt, freeform and JSON Schema validator), Deployment Strategy 1 (Deployment time: 0 minutes, Bake time: 0 minutes, 100%)
- AI Model: Not invoked.
- Retrieval: Using AppConfig Data's
StartConfigurationSessionandGetLatestConfiguration(AppConfig Agent not used). - Cleanup: After verification, all resources were deleted.
The first run created versions with
application/json as in the page's CLI example, and no AI model invocation version was created. Versions with out-of-range values were rejected with schema messages, while versions passing the schema were rejected with content type messages (as described in Section 4.4). The second run switched the AI model invocation cases to application/json; type=AWS.AppConfig.AIModelInvocation and ran the same cases. From the first run's results, it can be inferred that the schema validation occurs before the content type validation (Inference).7.2 Rejected Values and Accepted Values
The results of the second run are in Table 2 (Measured). In every rejected case,CreateHostedConfigurationVersion returned a BadRequestException, and the version was not created.Table 2: Results at Creation Time (December 1, 2026, us-east-1)
| Case | Input | Result | Location in the Message |
|---|---|---|---|
| Official Example | Exact same structure as the example | Passed | — |
| Only Required Fields | Only schemaVersion and model | Passed | — |
topP Upper Limit | topP 1.5 | Rejected | /inferenceParameters/topP |
topP Lower Limit | topP -0.1 | Rejected | /inferenceParameters/topP |
topP Boundary | topP 1 | Passed | — |
temperature Lower Limit | temperature -0.1 | Rejected | /inferenceParameters/temperature |
temperature Boundary | temperature 0 | Passed | — |
temperature Large Values | temperature 2.0, 5.0, 100 | All three passed | — |
temperature Type | temperature "0.7" (string) | Rejected | /inferenceParameters/temperature |
maxTokens Lower Limit | maxTokens 0 | Rejected | /inferenceParameters/maxTokens |
maxTokens Type | maxTokens 1.5 | Rejected | /inferenceParameters/maxTokens |
maxTokens Large Value | maxTokens 1000000000 | Passed | — |
stopSequences Empty String | [""] | Rejected | /inferenceParameters/stopSequences/0 |
stopSequences Type | "STOP" (string) | Rejected | /inferenceParameters/stopSequences |
model Missing | model absent | Passed | — |
schemaVersion Missing | schemaVersion absent | Rejected | / |
model Empty String | "" | Rejected | /model |
| Non-existent Model ID | "no-such-model" | Passed | — |
schemaVersion Value | "2" | Rejected | /schemaVersion |
schemaVersion Type | 1 (number) | Rejected | /schemaVersion |
customParameters Unknown Key | {"no_such_parameter": true} | Passed | — |
customParameters Incorrect Type | {"top_k": "ten"} | Passed | — |
customParameters Array, String, null | [1, 2], "thinking", null | All three rejected | /customParameters |
inferenceParameters topK | topK 50 | Rejected | /inferenceParameters |
| Top-Level Unknown Key | provider | Rejected | / |
role Arbitrary Value | "narrator" | Passed | — |
content Missing | Only role element | Rejected | /messages/0 |
content Array | [{"text": "hi"}] | Rejected | /messages/0/content |
messages Object | Object instead of array | Rejected | /messages |
| Broken JSON | Trailing comma | Rejected | / |
| YAML | Same content with application/x-yaml | Rejected | / |
Content Type text/plain | Valid JSON | Rejected | Content type |
Content Type application/json | Official example | Rejected | Content type |
Here are examples of messages received when a request is rejected (Measured).
Configuration content did not adhere to json schema: [message: "numeric instance is greater than the required maximum (maximum: 1, found: 1.5)" - parent node: /inferenceParameters/topP]
Configuration content did not adhere to json schema: [message: "instance type (array) does not match any allowed primitive type (allowed: [\"object\"])" - parent node: /customParameters]
Configuration content did not adhere to json schema: [message: "object instance has properties which are not allowed by the schema: [\"topK\"]" - parent node: /inferenceParameters]
Configuration content did not adhere to json schema: [message: "instance value (\"2\") not found in enum (possible values: [\"1\"])" - parent node: /schemaVersion]
Both the broken JSON and YAML versions were rejected with the message "instance type (string) does not match any allowed primitive type (allowed: [\"object\"])" (Measured). It appears that the content, which could not be read as JSON, was treated as a string (Inference).
7.3 Deployment and Retrieval
In the second run, the following three versions were deployed and retrieved with AppConfig Data (Measured).| Version | Deployment | Retrieved ContentType | Content |
|---|---|---|---|
| Official Example | COMPLETE | application/json; type=AWS.AppConfig.AIModelInvocation | Matches the original file byte for byte |
temperature 100 | COMPLETE | application/json; type=AWS.AppConfig.AIModelInvocation | Matches the original file byte for byte |
AI Prompt (text/plain) | COMPLETE | text/plain | Matches the original file byte for byte |
AppConfig returned the retrieved configuration without rewriting it (Measured). Keys were not reordered, and no default values were filled in.
7.4 What This Measurement Cannot Show
This article's measurement cannot show the following.- Whether the same results will be obtained with different regions, on different days, or with different versions of the CLI and SDK.
- Whether versions lacking the
modelfield will be rejected at deployment (deployment was not performed). - The content type and content returned by the AppConfig Agent and Lambda extension.
- How the Lambda validator behaves when attached to the AI types.
- What kind of version the check at deployment time would reject.
- How Bedrock's Converse handles values that passed the schema (the model was not called).
8. Frequently Asked Questions about AI Configuration Profiles
Q1. Will a configuration with atemperature of 2.0 fail before deployment?In this measurement, it was not stopped. In an AI model invocation configuration profile, versions with
temperature 2.0, 5.0, and 100 passed creation, and the 100 version also reached COMPLETE on deployment. The documentation specifies a lower limit of 0 for temperature. The Bedrock Converse API reference for InferenceConfiguration states that the range for temperature is 0 to 1.Q2. Where should provider-specific parameters, such as
top_k, be placed?The documentation indicates that these should be placed within
customParameters. In our testing, versions with topK placed within inferenceParameters were rejected with an error indicating that the property was not allowed by the schema. When using customParameters, the system did not validate the contents of the object, and it accepted incorrect data types.Q3. If you use an AI configuration profile, do you still need a custom JSON Schema validator?
The typed schema checks the range of
topP, types, some of the required fields, and unknown keys. It does not validate the existence of the model ID, the upper limit for temperature, or the contents of customParameters. In our testing, when using a typed configuration profile, attempts to add a JSON Schema validator resulted in an error message indicating that only the Lambda validator would be accepted. To validate these aspects, you would need to either use the Lambda validator (which we did not implement in our testing) or validate within your application's code.Q4. Can you create a version using the command-line example in the documentation, specifying
--content-type "application/json"?In our testing, this was not successful. The AI model invocation version was rejected with a message requesting
application/json; type=AWS.AppConfig.AIModelInvocation. When using that content type, the version was successfully created. For AI prompts, the required content types are text/plain or text/markdown.Q5. Can you directly use the example configuration provided in the official documentation with your model?
AppConfig creation was successful. However, the values assigned to
thinking within customParameters, specifically those including budget_tokens, correspond to a 400 error for Claude Sonnet 5 in the table in the Bedrock adaptive thinking documentation. Anthropic's Claude API release notes indicate that non-default sampling values are treated as 400 errors with Claude Sonnet 5, but this behavior is not documented in the Bedrock documentation that this article reviewed. Passing the schema validation and the model accepting the input are separate processes.Q6. Does the AI prompt configuration profile validate its contents?
The documentation does not mention validating the contents. In this article's testing, the content type and whether the content was empty were checked. Both the
application/json version and the 0-byte version were rejected.Q7. When one prompt is used with several model settings, does AppConfig manage the pairing?
The documentation states that a single prompt can be used with multiple AI model configurations. However, it does not describe a mechanism that links the two types by reference. The example provided in the documentation shows that the application code combines the two configurations at runtime. Your application code decides which pairing to use.
9. Summary
In the AI model invocation configuration profile, AppConfig's checks fall into three layers.| Layer | Scope | Justification |
|---|---|---|
| Range-checked | topP (0 to 1), lower limits for temperature and maxTokens, empty string for stopSequences, value of schemaVersion. | The page's table and the measurement |
| Shape-checked only | customParameters (must be an object), structure of messages, non-empty string for model, unknown keys. | The page and the measurement |
| Not checked | Upper limits for temperature and maxTokens, existence of the model ID, value of role, contents of customParameters, mapping to the provider's format, whether the model accepts the values. | The page, the measurement, and the provider's documentation |
- Typed schemas validate values at the time of creation. In our testing, a
temperaturevalue of 100 passed the schema, was deployed, and successfully retrieved. - The page's example configuration passes AppConfig's schema, but it holds a value that the table on Bedrock's adaptive thinking page lists as a 400 error for Claude Sonnet 5.
- The AI prompt configuration profile holds plain text, and your application code decides which model settings it is paired with.
- In this measurement, a JSON Schema validator could not be attached to the typed configuration profile. Values in the not-checked layer are left to the Lambda validator that the error message names, or to your application code.
- As of December 1, 2026, the API reference, the
Typedescription in CloudFormation, the Document history, the content type in the documentation's CLI examples, and the requirement for themodelfield, are inconsistent with the user guide and empirical testing.
10. References
- Creating an AI model invocation configuration profile in AWS AppConfig - AWS AppConfig
- Creating an AI prompt configuration profile in AWS AppConfig - AWS AppConfig
- Creating a configuration profile in AWS AppConfig - AWS AppConfig
- Understanding validators - AWS AppConfig
- Using predefined deployment strategies - AWS AppConfig
- AWS AppConfig User Guide document history - AWS AppConfig
- CreateConfigurationProfile - AWS AppConfig
- CreateHostedConfigurationVersion - AWS AppConfig
- AWS::AppConfig::ConfigurationProfile - AWS CloudFormation
- AWS AppConfig launches support for managing native AI model and AI prompt configuration
- InferenceConfiguration - Amazon Bedrock
- Adaptive thinking - Amazon Bedrock
- Claude Sonnet 5 - Amazon Bedrock
- Claude Platform release notes
- Dynamic Model Routing and Configuration Management for Generative AI with AWS AppConfig - Feature Flags, Schema Validation, and Safe Deployments
- Safe Foundation Model Rollout Strategies on AWS - Canary Traffic Shifting, Evaluation Gates, and Automated Rollback
- Prompt Lifecycle Management on AWS - Amazon Bedrock Prompt Management, Versioning, and Prompt-as-Code CI/CD
- LLM API Parameter Compatibility Reference - Anthropic, OpenAI, Google Gemini, and Amazon Bedrock
- Amazon Bedrock Converse API Deep Dive - Unified Model Interface, Conversation State, Tool Use, and Streaming
References:
Tech Blog with curated related content
Written by Hidekazu Konishi