In short.
This setup guide is for developers and platform teams connecting Claude Code to Claude Platform on AWS, but subscription and workspace provisioning must already be complete. It describes an Anthropic-operated API with AWS authentication, IAM access control and AWS Marketplace billing. Its most consequential details are the separate AWS-linked Anthropic organization, mandatory workspace ID, API-key precedence over AWS credentials and provider-routing precedence. It supplies CLI, SDK and proxy configuration instructions, while exact costs, affected Claude Code features and operational performance remain unestablished. Nothing was executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is the complete captured page at [https://code.claude.com/docs/en/claude-platform-on-aws.md], including its organization-separation notice, authentication caveats, feature-availability warnings, examples and troubleshooting. Linked pages, including the documentation index, provisioning guide, IAM reference, feature matrix, pricing pages and model catalogue, are excluded. All behavior is described from documentation; nothing was executed, and costs, compatibility and deployment outcomes remain unverified.
The overview
Identity
The resource is a configuration guide in the Claude Code documentation at [https://code.claude.com/docs/en/claude-platform-on-aws.md]. Its scope is connecting Claude Code to an already provisioned Claude Platform on AWS workspace.
The page describes Claude Platform on AWS as the Anthropic-operated Claude API with AWS authentication, IAM access control and AWS Marketplace billing. Requests reach Anthropic's API directly.
Assessment
The guide provides concrete configuration variables, two authentication paths, expected status output and remedies for common failures. Its strongest practical value is explaining configuration interactions that can otherwise produce misleading authentication or routing errors.
It supports planning a connection for an existing workspace. It does not establish production readiness, comparative value or full Claude Code feature compatibility. The page claims the same models and API features as the direct Claude API on the same release schedule, while separately warning that some Claude Code features differ or are unavailable.
Users
The documented scenarios serve individual developers using AWS profiles, platform teams managing shared configuration, CI operators assigning IAM roles and developers building programs with the Claude Agent SDK.
Before following this guide, users need an active AWS Marketplace subscription, a provisioned workspace and either an authorized IAM principal or a workspace API key. A claude.ai subscription or credentials from an existing, separate Claude Console organization do not provide the authentication described here.
Capabilities
The page covers request signing with AWS SigV4, workspace API-key authentication, SSO credential refresh, provider selection, explicit model settings and prompt-cache lifetime configuration.
It also describes passing the same environment configuration to the Agent SDK and routing traffic through a corporate proxy or LLM gateway. The gateway can forward authentication headers or add SigV4 authentication itself. The page provides no performance or reliability measurements for these arrangements.
Using it
Requirements
Prerequisites are an active Claude Platform on AWS subscription through AWS Marketplace, a workspace and its ID in the AWS-linked Anthropic organization, and either an IAM principal permitted to invoke the service or an API key scoped to that workspace.
SigV4 authentication requires credentials available through the standard AWS credential chain, such as environment variables, shared credentials, IAM roles or SSO sessions. The AWS CLI is required only for the SSO login flow. The page does not state a minimum supported Claude Code version.
Marketplace subscription creates a separate Anthropic organization tied to the AWS account. Workspace IDs and keys must come from that organization; credentials do not transfer from an existing Anthropic organization.
Mechanism
CLAUDE_CODE_USE_ANTHROPIC_AWS enables the provider, and ANTHROPIC_AWS_WORKSPACE_ID supplies the anthropic-workspace-id header on every request. The documented default endpoint is [https://aws-external-anthropic.{region}.api.aws], with the region resolved from AWS configuration. ANTHROPIC_AWS_BASE_URL overrides that endpoint.
With AWS credentials, Claude Code signs requests using SigV4. If ANTHROPIC_AWS_API_KEY is set, it sends that key in x-api-key and ignores AWS credentials. A stale key can therefore cause access failures even when valid AWS credentials are available.
Amazon Bedrock and Microsoft Foundry settings take precedence over this provider. For a gateway that performs signing, CLAUDE_CODE_SKIP_ANTHROPIC_AWS_AUTH=1 disables client-side authentication; ANTHROPIC_AUTH_TOKEN can supply a separate gateway token.
Setup
First obtain AWS credentials or generate a workspace API key in the AWS Console. Then set CLAUDE_CODE_USE_ANTHROPIC_AWS=1, ANTHROPIC_AWS_WORKSPACE_ID to the actual workspace ID and AWS_REGION to the intended region. Unset CLAUDE_CODE_USE_BEDROCK and CLAUDE_CODE_USE_FOUNDRY if they are enabled.
The guide recommends explicit model IDs for team deployments because built-in aliases can lag releases or change with Claude Code updates. It exposes separate ANTHROPIC_DEFAULT_FABLE_MODEL, ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL and ANTHROPIC_DEFAULT_HAIKU_MODEL variables.
After starting claude, the documented confirmation is a Claude Platform on AWS startup banner and matching API provider in /status. Status also exposes workspace and region details. For expiring SSO sessions, awsAuthRefresh in the settings file can rerun the login command; the documented /login flow can trigger a refresh without restarting.
Example
For a developer with an existing SSO profile and provisioned workspace, the page starts with aws sso login --profile my-profile and AWS_PROFILE=my-profile. The developer then enables the provider, supplies the actual workspace ID, sets the region and starts claude. The profile name and workspace ID must match that developer's configuration.
The TypeScript example imports query from @anthropic-ai/claude-agent-sdk, sets the provider, workspace and region variables, and streams messages for a repository question. It relies on ambient AWS credentials; setting ANTHROPIC_AWS_API_KEY selects key authentication instead. Neither example was executed, and no repository-analysis output is established.
Assessment & evidence
Limitations
Some Claude Code features are unavailable or behave differently, but the page delegates the details to a feature matrix and separate feature-flag documentation. The affected features cannot be determined from this page alone.
Subscription provisioning, detailed IAM actions, the full region-resolution order and the current model catalogue are also delegated to linked pages. Supported regions, data residency, latency, throughput, reliability and task quality are not established.
Proxy compatibility is described as depending on forwarding the required headers unchanged or correctly signing requests at the gateway. No specific gateway implementation or deployment was assessed.
Reasoning
A reasonable fit is a team that wants Claude Code access with AWS-managed identity or AWS Marketplace billing and is prepared to maintain a separate AWS-linked Anthropic organization. This fit assessment follows from the documented architecture and prerequisites; it is not a measured outcome.
The guide makes credential precedence and workspace identity central adoption concerns. A valid AWS login does not compensate for a stale API key, a missing workspace ID or another provider taking routing precedence. Establishing those settings should precede diagnosis of individual model requests.
Alternatives
The page identifies the direct Claude API, Amazon Bedrock and Microsoft Foundry as other provider contexts. It supplies no comparative pricing, operational measurements or complete feature comparison, so it does not establish which provider is best for a particular team.
Within Claude Platform on AWS, the documented authentication choices are AWS credentials with SigV4 and a long-lived workspace API key. The former uses the AWS credential chain; the latter requires managing a persistent secret and takes precedence when configured.
Evidence
The evidence consists of the complete selected documentation page at [https://code.claude.com/docs/en/claude-platform-on-aws.md]. It contains prerequisites, configuration examples, expected status indicators and troubleshooting guidance.
Linked documentation was excluded. Authentication success, IAM enforcement, SDK operation, model availability, caching charges and proxy behavior were not independently verified. No commands or examples were run.
Access & freshness
Costs
The page states that payment runs through AWS Marketplace, but supplies no model rates, subscription charges, minimum commitments or worked usage estimates. Exact costs and comparisons with other providers are unknown.
Prompt caching is documented as enabled automatically with a five-minute default lifetime. ENABLE_PROMPT_CACHING_1H=1 requests a one-hour lifetime, whose cache writes cost more. The numerical rates are only linked at [https://platform.claude.com/docs/en/build-with-claude/prompt-caching#pricing] and are outside the supplied evidence.
Rights
The selected page contains no explicit redistribution licence for its documentation or example code. Permission to redistribute those materials is therefore not established.
The page also does not establish contractual service terms, output rights, data-retention rules or training-use policies. AWS authentication and Marketplace billing alone provide no evidence about those terms.
Freshness
The supplied page was captured on 2026-11-24 at 21:21:42.658 UTC. Its source revision is sha256:09d97383f9105bd27df852dfbae412b21c657171449f186c47a12403c2441e9d. The page text provides no publication or last-update date.
Model defaults are explicitly version-sensitive. The page says the unpinned opus alias resolves to Opus 5.5 and describes earlier behavior before v2.1.280, while its example explicitly pins claude-opus-4-8. Those are different model choices. Current availability and subsequent changes remain unknown.
Actions
Before configuring a deployment, confirm the AWS-linked organization, workspace ID, intended authentication method and required IAM permissions. The guide points to provisioning instructions at [https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws], whose contents are outside this report.
Confirm that required Claude Code features are supported using [https://code.claude.com/docs/en/feature-availability.md#summary-by-provider], obtain applicable pricing and service terms, and choose explicit model IDs for team use.
During setup, use the startup banner and /status to inspect routing. For access errors, check IAM permissions and any overriding workspace API key; for missing-workspace errors, check ANTHROPIC_AWS_WORKSPACE_ID; for unexpected provider routing, check the provider flags. A proposed proxy deployment also needs confirmation that its forwarding or signing behavior meets the documented requirements.
