Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.6 KB

aws-billing.md

File metadata and controls

25 lines (15 loc) · 1.6 KB

AWS Billing connectors

Add an AWS Marketplace billing connector to an existing project payment manager:

agentcore add payment-connector --manager payments --name billing --aws-billing

Choose exactly one of --aws-billing, --credential, or --quick-create. Billing has no payment credential, provider secret, or connector role-ARN input. Existing CoinbaseCDP/StripePrivy credential and Coinbase Quick Create commands retain their syntax. Existing interactive forms are unchanged; use the headless flag for billing.

The command persists this connector under the named manager in agentcore.json:

{ "name": "billing", "provider": "AwsBilling" }

provisionMode: "MANUAL" is optional. Credential references, Quick Create and role fields are rejected for billing. Other connectors in the same project still require their normal credentials.

Deployment prerequisites

This command adds local configuration support. Deploying a billing connector requires a vended @aws/agentcore-cdk that accepts AwsBilling connectors without a credential. The CloudFormation PaymentConnector resource and handler must also support AwsBilling in the target AWS region. No custom-resource fallback is used.

The customer must provision the required AWS Marketplace service-linked role before deployment. The service returns its role ARN; it is not a connector input and this command does not create the role or grant iam:PassRole.

Payment runtime seller-header and offer-selection integration is separate from connector configuration. This command neither purchases an offer nor provides runtime billing settlement.