2026/11/30 - Amazon Bedrock AgentCore Control - 11 updated api methods
Changes Amazon Bedrock AgentCore payments now supports traditional commerce. Your shopping agent or app can take buyer-approved payments through your own Payment Service Provider, with AgentCore handling credentials, buyer approval, and the audit trail.
{'cpuConfigurations': [{'architecture': 'ARM64 | X86_64'}]}
Creates an Amazon Bedrock AgentCore Runtime.
See also: AWS API Documentation
Request Syntax
client.create_agent_runtime(
agentRuntimeName='string',
agentRuntimeArtifact={
'containerConfiguration': {
'containerUri': 'string'
},
'codeConfiguration': {
'code': {
's3': {
'bucket': 'string',
'prefix': 'string',
'versionId': 'string'
}
},
'runtime': 'PYTHON_3_10'|'PYTHON_3_11'|'PYTHON_3_12'|'PYTHON_3_13'|'PYTHON_3_14'|'NODE_22',
'entryPoint': [
'string',
]
}
},
roleArn='string',
networkConfiguration={
'networkMode': 'PUBLIC'|'VPC',
'networkModeConfig': {
'securityGroups': [
'string',
],
'subnets': [
'string',
],
'requireServiceS3Endpoint': True|False
}
},
clientToken='string',
description='string',
authorizerConfiguration={
'customJWTAuthorizer': {
'discoveryUrl': 'string',
'allowedAudience': [
'string',
],
'allowedClients': [
'string',
],
'allowedScopes': [
'string',
],
'advertisedScopeMapping': {
'string': 'string'
},
'customClaims': [
{
'inboundTokenClaimName': 'string',
'inboundTokenClaimValueType': 'STRING'|'STRING_ARRAY',
'authorizingClaimMatchValue': {
'claimMatchValue': {
'matchValueString': 'string',
'matchValueStringList': [
'string',
]
},
'claimMatchOperator': 'EQUALS'|'CONTAINS'|'CONTAINS_ANY'
}
},
],
'privateEndpoint': {
'selfManagedLatticeResource': {
'resourceConfigurationIdentifier': 'string'
},
'managedVpcResource': {
'vpcIdentifier': 'string',
'subnetIds': [
'string',
],
'endpointIpAddressType': 'IPV4'|'IPV6',
'securityGroupIds': [
'string',
],
'tags': {
'string': 'string'
},
'routingDomain': 'string'
}
},
'privateEndpointOverrides': [
{
'domain': 'string',
'privateEndpoint': {
'selfManagedLatticeResource': {
'resourceConfigurationIdentifier': 'string'
},
'managedVpcResource': {
'vpcIdentifier': 'string',
'subnetIds': [
'string',
],
'endpointIpAddressType': 'IPV4'|'IPV6',
'securityGroupIds': [
'string',
],
'tags': {
'string': 'string'
},
'routingDomain': 'string'
}
}
},
],
'certificateConfigurations': [
{
's3': {
'uri': 'string',
'bucketOwnerAccountId': 'string'
},
'secretsManager': {
'secretArn': 'string'
}
},
],
'allowedWorkloadConfiguration': {
'hostingEnvironments': [
{
'arn': 'string'
},
],
'workloadIdentities': [
'string',
]
}
}
},
requestHeaderConfiguration={
'requestHeaderAllowlist': [
'string',
]
},
protocolConfiguration={
'serverProtocol': 'MCP'|'HTTP'|'A2A'|'AGUI',
'port': 123,
'path': 'string'
},
lifecycleConfiguration={
'idleRuntimeSessionTimeout': 123,
'maxLifetime': 123
},
hooksConfiguration={
'build': {
'warmup': {
'action': {
'httpPost': {
'path': 'string',
'port': 123
}
}
}
}
},
environmentVariables={
'string': 'string'
},
filesystemConfigurations=[
{
'sessionStorage': {
'mountPath': 'string'
},
's3FilesAccessPoint': {
'accessPointArn': 'string',
'mountPath': 'string'
},
'efsAccessPoint': {
'accessPointArn': 'string',
'mountPath': 'string'
},
'capacityProviderVolume': {
'volumeName': 'string',
'mountPath': 'string'
},
's3BucketMount': {
'bucket': 'string',
'mountPath': 'string',
'prefix': 'string',
's3BucketOwner': 'string',
's3BucketRegion': 'string'
}
},
],
capacityProviderConfiguration={
'capacityProviderArn': 'string',
'operatingSystemConfiguration': {
'linux': {
'privilegeMode': 'STANDARD'|'PRIVILEGED'
}
}
},
cpuConfigurations=[
{
'architecture': 'ARM64'|'X86_64'
},
],
tags={
'string': 'string'
},
platformVersion='string',
allowedPorts=[
{
'port': 123,
'portRange': {
'from': 123,
'to': 123
}
},
],
resourceConfigurations=[
{
'minimumMemoryInMiB': 123
},
]
)
string
[REQUIRED]
The name of the AgentCore Runtime.
dict
[REQUIRED]
The artifact of the AgentCore Runtime.
containerConfiguration (dict) --
The container configuration for the agent artifact.
containerUri (string) -- [REQUIRED]
The ECR URI of the container.
codeConfiguration (dict) --
The code configuration for the agent runtime artifact, including the source code location and execution settings.
code (dict) -- [REQUIRED]
The source code location and configuration details.
s3 (dict) --
The Amazon Amazon S3 object that contains the source code for the agent runtime.
bucket (string) -- [REQUIRED]
The name of the Amazon S3 bucket. This bucket contains the stored data.
prefix (string) -- [REQUIRED]
The prefix for objects in the Amazon S3 bucket. This prefix is added to the object keys to organize the data.
versionId (string) --
The version ID of the Amazon Amazon S3 object. If not specified, the latest version of the object is used.
runtime (string) -- [REQUIRED]
The runtime environment for executing the agent code. Specify the programming language and version to use for the agent runtime. For valid values, see the list of supported runtimes.
entryPoint (list) -- [REQUIRED]
The entry point for the code execution, specifying the function or method that should be invoked when the code runs.
(string) --
string
[REQUIRED]
The IAM role ARN that provides permissions for the AgentCore Runtime.
dict
The network configuration for the AgentCore Runtime.
networkMode (string) -- [REQUIRED]
The network mode for the AgentCore Runtime.
networkModeConfig (dict) --
The network mode configuration for the AgentCore Runtime.
securityGroups (list) -- [REQUIRED]
The security groups associated with the VPC configuration.
(string) --
subnets (list) -- [REQUIRED]
The subnets associated with the VPC configuration.
(string) --
requireServiceS3Endpoint (boolean) --
Controls whether a service-managed Amazon S3 gateway endpoint is provisioned in the VPC network topology for the agent runtime. This gateway is used by Amazon Bedrock AgentCore Runtime to download code and container images during agent startup.
Starting May 5, 2026, Amazon Bedrock AgentCore Runtime is gradually rolling out a change to how network isolation is configured for VPC mode agents. Agent runtimes created on or after this rollout will no longer include the service-managed Amazon S3 gateway. Instead, all network access, including to Amazon S3, is governed exclusively by your VPC configuration. This field cannot be set on agent runtimes created after the rollout. Passing this field in an UpdateAgentRuntime request for these agent runtimes returns a ValidationException.
Agent runtimes created before the rollout are not affected and continue to operate with the service-managed Amazon S3 gateway. To enforce full VPC network isolation on these existing agent runtimes, set this field to false via the UpdateAgentRuntime API. Before opting out, ensure your VPC provides the Amazon S3 access required for agent startup. If this field is not specified or is set to true, the service-managed Amazon S3 gateway remains provisioned.
This field is only supported in the UpdateAgentRuntime API for pre-rollout agent runtimes. Passing this field in a CreateAgentRuntime request returns a ValidationException.
string
A unique, case-sensitive identifier to ensure idempotency of the request.
This field is autopopulated if not provided.
string
The description of the AgentCore Runtime.
dict
The authorizer configuration for the AgentCore Runtime.
customJWTAuthorizer (dict) --
The inbound JWT-based authorization, specifying how incoming requests should be authenticated.
discoveryUrl (string) -- [REQUIRED]
This URL is used to fetch OpenID Connect configuration or authorization server metadata for validating incoming tokens.
allowedAudience (list) --
Represents individual audience values that are validated in the incoming JWT token validation process.
(string) --
allowedClients (list) --
Represents individual client IDs that are validated in the incoming JWT token validation process.
(string) --
allowedScopes (list) --
An array of scopes that are allowed to access the token.
(string) --
advertisedScopeMapping (dict) --
A map that associates each scope in allowedScopes with a corresponding advertised scope value. The advertised scope appears in OAuth protected resource metadata and WWW-Authenticate response headers. Use this parameter when the scope that clients request from your identity provider differs from the scope in the validated token. Each key is a scope from allowedScopes that the service uses for token validation. Each value is the corresponding scope that the service advertises to clients. Scopes without a mapping entry appear unchanged to clients.
(string) --
(string) --
customClaims (list) --
An array of objects that define a custom claim validation name, value, and operation
(dict) --
Defines the name of a custom claim field and rules for finding matches to authenticate its value.
inboundTokenClaimName (string) -- [REQUIRED]
The name of the custom claim field to check.
inboundTokenClaimValueType (string) -- [REQUIRED]
The data type of the claim value to check for.
Use STRING if you want to find an exact match to a string you define.
Use STRING_ARRAY if you want to fnd a match to at least one value in an array you define.
authorizingClaimMatchValue (dict) -- [REQUIRED]
Defines the value or values to match for and the relationship of the match.
claimMatchValue (dict) -- [REQUIRED]
The value or values to match for.
matchValueString (string) --
The string value to match for.
matchValueStringList (list) --
An array of strings to check for a match.
(string) --
claimMatchOperator (string) -- [REQUIRED]
Defines the relationship between the claim field value and the value or values you're matching for.
privateEndpoint (dict) --
The private endpoint configuration for a gateway target. Defines how the gateway connects to private resources in your VPC.
selfManagedLatticeResource (dict) --
Configuration for connecting to a private resource using a self-managed VPC Lattice resource configuration.
resourceConfigurationIdentifier (string) --
The ARN or ID of the VPC Lattice resource configuration.
managedVpcResource (dict) --
Configuration for connecting to a private resource using a managed VPC Lattice resource. The gateway creates and manages the VPC Lattice resources on your behalf.
vpcIdentifier (string) -- [REQUIRED]
The ID of the VPC that contains your private resource.
subnetIds (list) -- [REQUIRED]
The subnet IDs within the VPC where the VPC Lattice resource gateway is placed.
(string) --
endpointIpAddressType (string) -- [REQUIRED]
The IP address type for the resource configuration endpoint.
securityGroupIds (list) --
The security group IDs to associate with the VPC Lattice resource gateway. If not specified, the default security group for the VPC is used.
(string) --
tags (dict) --
Tags to apply to the managed VPC Lattice resource gateway.
(string) --
(string) --
routingDomain (string) --
An intermediate domain to use as the resource configuration endpoint instead of the actual target domain. Use this when you want to route traffic through an intermediate component such as a VPC endpoint or internal load balancer. For more information, see xref:lattice-vpc-egress-routing-domain[Route traffic through an intermediate domain].
privateEndpointOverrides (list) --
The private endpoint overrides for the custom JWT authorizer configuration.
(dict) --
A mapping of a specific domain to a private endpoint for secure connectivity through a VPC Lattice resource configuration.
domain (string) -- [REQUIRED]
The domain to override with a private endpoint.
privateEndpoint (dict) -- [REQUIRED]
The private endpoint configuration for the specified domain.
selfManagedLatticeResource (dict) --
Configuration for connecting to a private resource using a self-managed VPC Lattice resource configuration.
resourceConfigurationIdentifier (string) --
The ARN or ID of the VPC Lattice resource configuration.
managedVpcResource (dict) --
Configuration for connecting to a private resource using a managed VPC Lattice resource. The gateway creates and manages the VPC Lattice resources on your behalf.
vpcIdentifier (string) -- [REQUIRED]
The ID of the VPC that contains your private resource.
subnetIds (list) -- [REQUIRED]
The subnet IDs within the VPC where the VPC Lattice resource gateway is placed.
(string) --
endpointIpAddressType (string) -- [REQUIRED]
The IP address type for the resource configuration endpoint.
securityGroupIds (list) --
The security group IDs to associate with the VPC Lattice resource gateway. If not specified, the default security group for the VPC is used.
(string) --
tags (dict) --
Tags to apply to the managed VPC Lattice resource gateway.
(string) --
(string) --
routingDomain (string) --
An intermediate domain to use as the resource configuration endpoint instead of the actual target domain. Use this when you want to route traffic through an intermediate component such as a VPC endpoint or internal load balancer. For more information, see xref:lattice-vpc-egress-routing-domain[Route traffic through an intermediate domain].
certificateConfigurations (list) --
The private certificate authority (CA) configurations for the identity provider. Use this to have AgentCore Identity trust a private CA when establishing TLS connections to identity provider endpoints. You can specify only one certificate authority configuration in this list. Provide the certificate by reference to an Amazon S3 object or an Amazon Web Services Secrets Manager secret. You can use this only together with privateEndpoint.
(dict) --
A reference to a private certificate authority (CA) certificate that AgentCore uses to verify TLS connections to an endpoint, such as a gateway target or an identity provider, that presents a certificate issued by a private CA that is not trusted by default. Specify exactly one certificate source. The configuration is a reference only and never contains the certificate content.
s3 (dict) --
The Amazon S3 location of the PEM-encoded private CA certificate.
uri (string) -- [REQUIRED]
The URI of the Amazon S3 object that contains the PEM-encoded certificate.
bucketOwnerAccountId (string) --
The account ID of the Amazon S3 bucket owner. This ID is used for cross-account access to the bucket.
secretsManager (dict) --
The Amazon Web Services Secrets Manager location of the PEM-encoded private CA certificate.
secretArn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the PEM-encoded certificate.
allowedWorkloadConfiguration (dict) --
The configuration that restricts which workloads in the request's identity chain are allowed to invoke the target, identified by their hosting environments and workload identities. At launch, this is supported only for AgentCore Runtime targets, and the allowed workloads are AgentCore Gateways.
hostingEnvironments (list) --
The list of hosting environments whose workloads are allowed to invoke the target. At launch, the only supported hosting environment is AgentCore Gateway.
(dict) --
A hosting environment whose workloads are allowed to invoke the target. At launch, the only supported hosting environment is AgentCore Gateway.
arn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the hosting environment.
workloadIdentities (list) --
The list of workload identities that are allowed to invoke the target.
(string) --
dict
Configuration for HTTP request headers that will be passed through to the runtime.
requestHeaderAllowlist (list) --
A list of HTTP request headers that are allowed to be passed through to the runtime.
(string) --
dict
The protocol configuration for the AgentCore Runtime, including the protocol, port, and path on which the agent server is available.
serverProtocol (string) -- [REQUIRED]
The server protocol for the agent runtime. This field specifies which protocol the agent runtime uses to communicate with clients.
port (integer) --
The port on which the agent server listens. The port must be between 8000 and 12000, excluding the reserved port 8443. When this field is omitted, the default is 8080 for HTTP and AGUI, 8000 for MCP, and 9000 for A2A.
path (string) --
The path on which the agent server accepts requests. The path must begin with /. When this field is omitted, the default is /invocations for HTTP and AGUI, /mcp for MCP, and / for A2A.
dict
The life cycle configuration for the AgentCore Runtime.
idleRuntimeSessionTimeout (integer) --
Timeout in seconds for idle runtime sessions. When a session remains idle for this duration, it will be automatically terminated. Default: 900 seconds (15 minutes).
maxLifetime (integer) --
Maximum lifetime for the instance in seconds. Once reached, instances will be automatically terminated and replaced. Default: 28800 seconds (8 hours).
dict
The lifecycle hooks configuration for the AgentCore Runtime. Use lifecycle hooks to run actions in the agent's container at fixed points in the runtime's lifecycle, such as warming up the agent before sessions are created.
build (dict) --
The hooks that run when you create or update the AgentCore Runtime, before any sessions are created.
warmup (dict) --
The hook that warms up your agent before any sessions are created. Use this hook to load the resources that your sessions need, such as models, libraries, or caches. Your hook must complete within 120 seconds.
action (dict) -- [REQUIRED]
The action that AgentCore Runtime runs for the hook. Specify exactly one action.
httpPost (dict) --
Sends an HTTP POST request to your agent's container on the specified port and path to run the hook. The hook succeeds if your container returns a 2xx response. The hook fails if your container returns any other response or doesn't respond before the hook times out.
path (string) -- [REQUIRED]
The path in the agent's container that AgentCore Runtime sends the POST request to.
port (integer) --
The port in the agent's container that AgentCore Runtime sends the POST request to. If you don't specify a port, the default is the runtime's server port: the port in the protocol configuration if one is set, otherwise the protocol's default port.
dict
Environment variables to set in the AgentCore Runtime environment.
(string) --
(string) --
list
The filesystem configurations to mount into the AgentCore Runtime. Use filesystem configurations to provide persistent storage to your AgentCore Runtime sessions.
(dict) --
Configuration for a filesystem that can be mounted into the AgentCore Runtime.
sessionStorage (dict) --
Configuration for session storage. Session storage provides persistent storage that is preserved across AgentCore Runtime session invocations.
mountPath (string) -- [REQUIRED]
The mount path for the session storage filesystem inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
s3FilesAccessPoint (dict) --
Configuration for an Amazon S3 Files access point to mount into the AgentCore Runtime.
accessPointArn (string) -- [REQUIRED]
The ARN of the S3 Files access point to mount into the AgentCore Runtime.
mountPath (string) -- [REQUIRED]
The mount path for the S3 Files access point inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
efsAccessPoint (dict) --
Configuration for an Amazon EFS access point to mount into the AgentCore Runtime.
accessPointArn (string) -- [REQUIRED]
The ARN of the EFS access point to mount into the AgentCore Runtime.
mountPath (string) -- [REQUIRED]
The mount path for the EFS access point inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
capacityProviderVolume (dict) --
Configuration for a capacity provider volume to mount into the AgentCore Runtime. This mounts a persistent volume that is defined on the capacity provider, referenced by its logical name.
volumeName (string) -- [REQUIRED]
The logical name of the capacity provider volume to mount. This name must match a volume that is defined in the capacity provider's list of volumes.
mountPath (string) -- [REQUIRED]
The mount path for the capacity provider volume inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
s3BucketMount (dict) --
Mounts an Amazon S3 bucket as a file system in the AgentCore Runtime.
bucket (string) -- [REQUIRED]
The name of the S3 bucket to mount. You can specify a general purpose bucket or a directory bucket.
mountPath (string) -- [REQUIRED]
The mount path for the S3 bucket inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
prefix (string) --
The key prefix to mount. Only objects under this prefix are visible at the mount path. To give each session its own prefix, include {runtimeSessionId} (for example, data/{runtimeSessionId}/). If you omit the prefix, the whole bucket is mounted.
s3BucketOwner (string) --
The Amazon Web Services account ID that must own the bucket. If you omit it, the bucket must be owned by the account that owns the AgentCore Runtime.
s3BucketRegion (string) --
The Amazon Web Services Region of the S3 bucket. If you omit it, the bucket must be in the same Region as the AgentCore Runtime.
dict
The capacity provider configuration for the AgentCore Runtime. Use a capacity provider to run the AgentCore Runtime on the Instances compute type, which provisions Amazon Web Services managed compute in your account.
capacityProviderArn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the capacity provider to use for the AgentCore Runtime.
operatingSystemConfiguration (dict) --
The operating system configuration of the agents that Amazon Bedrock AgentCore Runtime runs on the capacity provider.
linux (dict) --
The operating system configuration of agents that run on Linux instances.
privilegeMode (string) --
The privilege mode of the agents. If you omit this field, the agents run in STANDARD privilege mode. The following values are possible:
STANDARD – The agent runs without elevated privileges. This is the default.
PRIVILEGED – The agent runs with elevated privileges on its instance. Use this mode for agents that build container images, run containers, or install system packages. A session that runs a PRIVILEGED agent runs only that agent.
list
The CPU configurations for the AgentCore Runtime. Defaults to a single ARM64 configuration when omitted. At most one entry is permitted. Immutable after creation. Supported only with Runtime platform version V2.
(dict) --
The CPU configuration for an AgentCore Runtime.
architecture (string) -- [REQUIRED]
The CPU architecture for the AgentCore Runtime.
dict
A map of tag keys and values to assign to the agent runtime. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
(string) --
(string) --
string
The version of the runtime platform to use for the AgentCore Runtime.
list
The additional ports on the AgentCore Runtime that are reachable through the runtime's session URL. Specify one to five non-overlapping entries, each containing either a single port or an inclusive port range. Ports must be between 8000 and 12000, excluding the reserved port 8443.
(dict) --
A port or port range that is reachable through the runtime's session URL. Specify exactly one of port or portRange.
port (integer) --
A single port that is reachable through the runtime's session URL.
portRange (dict) --
An inclusive range of ports that are reachable through the runtime's session URL.
from (integer) -- [REQUIRED]
The first port in the inclusive range.
to (integer) -- [REQUIRED]
The last port in the inclusive range.
list
The resource configurations for the AgentCore Runtime, such as the minimum amount of memory to allocate to the runtime. You can specify at most one resource configuration.
(dict) --
The resource configuration for an AgentCore Runtime.
minimumMemoryInMiB (integer) -- [REQUIRED]
The minimum amount of memory, in mebibytes, to allocate to the AgentCore Runtime.
dict
Response Syntax
{
'agentRuntimeArn': 'string',
'workloadIdentityDetails': {
'workloadIdentityArn': 'string'
},
'agentRuntimeId': 'string',
'agentRuntimeVersion': 'string',
'createdAt': datetime(2015, 1, 1),
'status': 'CREATING'|'CREATE_FAILED'|'UPDATING'|'UPDATE_FAILED'|'READY'|'DELETING'|'DELETE_FAILED'
}
Response Structure
(dict) --
agentRuntimeArn (string) --
The Amazon Resource Name (ARN) of the AgentCore Runtime.
workloadIdentityDetails (dict) --
The workload identity details for the AgentCore Runtime.
workloadIdentityArn (string) --
The ARN associated with the workload identity.
agentRuntimeId (string) --
The unique identifier of the AgentCore Runtime.
agentRuntimeVersion (string) --
The version of the AgentCore Runtime.
createdAt (datetime) --
The timestamp when the AgentCore Runtime was created.
status (string) --
The current status of the AgentCore Runtime.
{'credentialProviderConfigurations': {'amazonPay': {'credentialProviderArn': 'string'},
'payPal': {'credentialProviderArn': 'string'},
'stripe': {'credentialProviderArn': 'string'}},
'type': {'Stripe', 'AmazonPay', 'PayPal'}}
Creates a new payment connector for a payment manager. A payment connector integrates with a supported payment provider to enable payment processing capabilities.
See also: AWS API Documentation
Request Syntax
client.create_payment_connector(
paymentManagerId='string',
name='string',
description='string',
type='CoinbaseCDP'|'StripePrivy'|'Stripe'|'PayPal'|'AmazonPay'|'AwsBilling',
credentialProviderConfigurations=[
{
'coinbaseCDP': {
'credentialProviderArn': 'string'
},
'stripePrivy': {
'credentialProviderArn': 'string'
},
'stripe': {
'credentialProviderArn': 'string'
},
'payPal': {
'credentialProviderArn': 'string'
},
'amazonPay': {
'credentialProviderArn': 'string'
},
'awsBilling': {
'iamRoleArn': 'string'
}
},
],
provisionMode='MANUAL'|'QUICK_CREATE',
clientToken='string'
)
string
[REQUIRED]
The unique identifier of the payment manager to create the connector for.
string
[REQUIRED]
The name of the payment connector.
string
A description of the payment connector.
string
[REQUIRED]
The type of payment connector, which determines the payment provider integration.
list
The credential provider configurations for the payment connector. These configurations specify how the connector authenticates with the payment provider.
For an AwsBilling payment connector, omit this parameter or specify an empty list. The service uses the Amazon Web Services Marketplace service-linked role in your account, which must exist before you create the connector, and you must have permission to call iam:GetRole on it.
(dict) --
The configuration for a payment connector. Specifies the payment provider type and either its associated credential provider or, for an Amazon Web Services Billing payment connector, its billing configuration.
coinbaseCDP (dict) --
The credential provider configuration for a Coinbase CDP payment connector.
credentialProviderArn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
stripePrivy (dict) --
The credential provider configuration for a Stripe Privy payment connector.
credentialProviderArn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
stripe (dict) --
Configuration for a payment credential provider that stores authentication credentials for a payment provider.
credentialProviderArn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
payPal (dict) --
Configuration for a payment credential provider that stores authentication credentials for a payment provider.
credentialProviderArn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
amazonPay (dict) --
Configuration for a payment credential provider that stores authentication credentials for a payment provider.
credentialProviderArn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
awsBilling (dict) --
The configuration for an Amazon Web Services Billing payment connector. The service sets this configuration when it creates the connector and returns it in responses. Don't specify it when you create an Amazon Web Services Billing payment connector.
iamRoleArn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the Amazon Web Services Marketplace service-linked role in the account that owns the payment manager. The service sets this value when it creates the connector.
string
The provision mode for creating the payment connector. If you don't specify a value, the default is MANUAL.
MANUAL - You provide the credential provider configurations directly.
QUICK_CREATE - The service orchestrates OAuth consent and provisions the credential provider for you.
string
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.
This field is autopopulated if not provided.
dict
Response Syntax
{
'paymentConnectorId': 'string',
'paymentManagerId': 'string',
'name': 'string',
'type': 'CoinbaseCDP'|'StripePrivy'|'Stripe'|'PayPal'|'AmazonPay'|'AwsBilling',
'credentialProviderConfigurations': [
{
'coinbaseCDP': {
'credentialProviderArn': 'string'
},
'stripePrivy': {
'credentialProviderArn': 'string'
},
'stripe': {
'credentialProviderArn': 'string'
},
'payPal': {
'credentialProviderArn': 'string'
},
'amazonPay': {
'credentialProviderArn': 'string'
},
'awsBilling': {
'iamRoleArn': 'string'
}
},
],
'createdAt': datetime(2015, 1, 1),
'status': 'CREATING'|'UPDATING'|'DELETING'|'READY'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETE_FAILED'|'AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED'|'PENDING_AUTHENTICATION'|'PROVISIONING'|'AUTHENTICATION_EXPIRED'|'AUTHENTICATION_FAILED',
'authorizationUrl': 'string'
}
Response Structure
(dict) --
paymentConnectorId (string) --
The unique identifier of the created payment connector.
paymentManagerId (string) --
The unique identifier of the parent payment manager.
name (string) --
The name of the created payment connector.
type (string) --
The type of the created payment connector.
credentialProviderConfigurations (list) --
The credential provider configurations for the created payment connector.
(dict) --
The configuration for a payment connector. Specifies the payment provider type and either its associated credential provider or, for an Amazon Web Services Billing payment connector, its billing configuration.
coinbaseCDP (dict) --
The credential provider configuration for a Coinbase CDP payment connector.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
stripePrivy (dict) --
The credential provider configuration for a Stripe Privy payment connector.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
stripe (dict) --
Configuration for a payment credential provider that stores authentication credentials for a payment provider.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
payPal (dict) --
Configuration for a payment credential provider that stores authentication credentials for a payment provider.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
amazonPay (dict) --
Configuration for a payment credential provider that stores authentication credentials for a payment provider.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
awsBilling (dict) --
The configuration for an Amazon Web Services Billing payment connector. The service sets this configuration when it creates the connector and returns it in responses. Don't specify it when you create an Amazon Web Services Billing payment connector.
iamRoleArn (string) --
The Amazon Resource Name (ARN) of the Amazon Web Services Marketplace service-linked role in the account that owns the payment manager. The service sets this value when it creates the connector.
createdAt (datetime) --
The timestamp when the payment connector was created.
status (string) --
The current status of the payment connector. Possible values include CREATING, READY, UPDATING, DELETING, CREATE_FAILED, UPDATE_FAILED, and DELETE_FAILED.
authorizationUrl (string) --
The URL that the user must open to complete OAuth consent. This field is only present when the payment connector status is PENDING_AUTHENTICATION.
{'credentialProviderVendor': {'Stripe', 'AmazonPay', 'PayPal'},
'providerConfigurationInput': {'amazonPayConfiguration': {'amazonPayRegion': 'NA '
'| '
'EU',
'authorizationToken': 'string',
'authorizationTokenConfig': {'jsonKey': 'string',
'secretId': 'string'},
'authorizationTokenSource': 'MANAGED '
'| '
'EXTERNAL',
'environment': 'LIVE '
'| '
'SANDBOX',
'merchantId': 'string',
'storeId': 'string'},
'payPalConfiguration': {'clientId': 'string',
'clientSecret': 'string',
'clientSecretConfig': {'jsonKey': 'string',
'secretId': 'string'},
'clientSecretSource': 'MANAGED '
'| '
'EXTERNAL',
'environment': 'LIVE | '
'SANDBOX'},
'stripeConfiguration': {'publishableKey': 'string',
'restrictedKey': 'string',
'restrictedKeyConfig': {'jsonKey': 'string',
'secretId': 'string'},
'restrictedKeySource': 'MANAGED '
'| '
'EXTERNAL'}}}
Response {'credentialProviderVendor': {'Stripe', 'AmazonPay', 'PayPal'},
'providerConfigurationOutput': {'amazonPayConfiguration': {'amazonPayRegion': 'NA '
'| '
'EU',
'authorizationTokenArn': {'secretArn': 'string'},
'authorizationTokenJsonKey': 'string',
'authorizationTokenSource': 'MANAGED '
'| '
'EXTERNAL',
'environment': 'LIVE '
'| '
'SANDBOX',
'merchantId': 'string',
'storeId': 'string'},
'payPalConfiguration': {'clientId': 'string',
'clientSecretArn': {'secretArn': 'string'},
'clientSecretJsonKey': 'string',
'clientSecretSource': 'MANAGED '
'| '
'EXTERNAL',
'environment': 'LIVE '
'| '
'SANDBOX'},
'stripeConfiguration': {'connectedAccountId': 'string',
'publishableKey': 'string',
'restrictedKeyArn': {'secretArn': 'string'},
'restrictedKeyJsonKey': 'string',
'restrictedKeySource': 'MANAGED '
'| '
'EXTERNAL'}}}
Creates a new payment credential provider for storing authentication credentials used by payment connectors to communicate with external payment providers.
See also: AWS API Documentation
Request Syntax
client.create_payment_credential_provider(
name='string',
credentialProviderVendor='CoinbaseCDP'|'StripePrivy'|'Stripe'|'PayPal'|'AmazonPay',
providerConfigurationInput={
'coinbaseCdpConfiguration': {
'apiKeyId': 'string',
'apiKeySecret': 'string',
'apiKeySecretSource': 'MANAGED'|'EXTERNAL',
'apiKeySecretConfig': {
'secretId': 'string',
'jsonKey': 'string'
},
'walletSecret': 'string',
'walletSecretSource': 'MANAGED'|'EXTERNAL',
'walletSecretConfig': {
'secretId': 'string',
'jsonKey': 'string'
}
},
'stripePrivyConfiguration': {
'appId': 'string',
'appSecret': 'string',
'appSecretSource': 'MANAGED'|'EXTERNAL',
'appSecretConfig': {
'secretId': 'string',
'jsonKey': 'string'
},
'authorizationPrivateKey': 'string',
'authorizationPrivateKeySource': 'MANAGED'|'EXTERNAL',
'authorizationPrivateKeyConfig': {
'secretId': 'string',
'jsonKey': 'string'
},
'authorizationId': 'string'
},
'stripeConfiguration': {
'restrictedKey': 'string',
'restrictedKeySource': 'MANAGED'|'EXTERNAL',
'restrictedKeyConfig': {
'secretId': 'string',
'jsonKey': 'string'
},
'publishableKey': 'string'
},
'payPalConfiguration': {
'clientId': 'string',
'clientSecret': 'string',
'clientSecretSource': 'MANAGED'|'EXTERNAL',
'clientSecretConfig': {
'secretId': 'string',
'jsonKey': 'string'
},
'environment': 'LIVE'|'SANDBOX'
},
'amazonPayConfiguration': {
'merchantId': 'string',
'storeId': 'string',
'authorizationToken': 'string',
'authorizationTokenSource': 'MANAGED'|'EXTERNAL',
'authorizationTokenConfig': {
'secretId': 'string',
'jsonKey': 'string'
},
'environment': 'LIVE'|'SANDBOX',
'amazonPayRegion': 'NA'|'EU'
}
},
tags={
'string': 'string'
}
)
string
[REQUIRED]
Unique name for the payment credential provider.
string
[REQUIRED]
The vendor type for the payment credential provider (e.g., CoinbaseCDP, StripePrivy).
dict
[REQUIRED]
Configuration specific to the vendor, including API credentials.
coinbaseCdpConfiguration (dict) --
The Coinbase CDP configuration.
apiKeyId (string) -- [REQUIRED]
The API key identifier provided by Coinbase Developer Platform.
apiKeySecret (string) --
The API key secret provided by Coinbase Developer Platform.
apiKeySecretSource (string) --
The source type of the API key secret for the Coinbase Developer Platform. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.
apiKeySecretConfig (dict) --
A reference to the Amazon Web Services Secrets Manager secret that stores the API key secret. This includes the secret ID and the JSON key used to extract the API key secret value from the secret. Required when apiKeySecretSource is set to EXTERNAL.
secretId (string) -- [REQUIRED]
The ID of the Amazon Web Services Secrets Manager secret that stores the secret value.
jsonKey (string) -- [REQUIRED]
The JSON key used to extract the secret value from the Amazon Web Services Secrets Manager secret.
walletSecret (string) --
The wallet secret provided by Coinbase Developer Platform.
walletSecretSource (string) --
The source type of the wallet secret for the Coinbase Developer Platform. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.
walletSecretConfig (dict) --
A reference to the Amazon Web Services Secrets Manager secret that stores the wallet secret. This includes the secret ID and the JSON key used to extract the wallet secret value from the secret. Required when walletSecretSource is set to EXTERNAL.
secretId (string) -- [REQUIRED]
The ID of the Amazon Web Services Secrets Manager secret that stores the secret value.
jsonKey (string) -- [REQUIRED]
The JSON key used to extract the secret value from the Amazon Web Services Secrets Manager secret.
stripePrivyConfiguration (dict) --
The Stripe Privy configuration.
appId (string) -- [REQUIRED]
The app ID provided by Privy.
appSecret (string) --
The app secret provided by Privy.
appSecretSource (string) --
The source type of the app secret. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.
appSecretConfig (dict) --
A reference to the Amazon Web Services Secrets Manager secret that stores the app secret. This includes the secret ID and the JSON key used to extract the app secret value from the secret. Required when appSecretSource is set to EXTERNAL.
secretId (string) -- [REQUIRED]
The ID of the Amazon Web Services Secrets Manager secret that stores the secret value.
jsonKey (string) -- [REQUIRED]
The JSON key used to extract the secret value from the Amazon Web Services Secrets Manager secret.
authorizationPrivateKey (string) --
The authorization private key for the Stripe Privy integration.
authorizationPrivateKeySource (string) --
The source type of the authorization private key. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.
authorizationPrivateKeyConfig (dict) --
A reference to the Amazon Web Services Secrets Manager secret that stores the authorization private key. This includes the secret ID and the JSON key used to extract the authorization private key value from the secret. Required when authorizationPrivateKeySource is set to EXTERNAL.
secretId (string) -- [REQUIRED]
The ID of the Amazon Web Services Secrets Manager secret that stores the secret value.
jsonKey (string) -- [REQUIRED]
The JSON key used to extract the secret value from the Amazon Web Services Secrets Manager secret.
authorizationId (string) -- [REQUIRED]
The authorization ID for the Stripe Privy integration.
stripeConfiguration (dict) --
Configuration for a Stripe payment credential provider.
restrictedKey (string) --
The restricted key value, supplied inline. Use this when AgentCore should own the secret (MANAGED): the service stores the value in a service-linked Secrets Manager secret. Mutually exclusive with restrictedKeyConfig.
restrictedKeySource (string) --
Who owns the Secrets Manager secret: MANAGED for AgentCore, EXTERNAL for the merchant. Optional — supply restrictedKey inline and MANAGED is implied, matching CoinbaseCDP and StripePrivy.
restrictedKeyConfig (dict) --
Secrets Manager reference to a restricted key the merchant owns (EXTERNAL). Preferred over restrictedKey: the value never travels through this API, so it stays out of the CloudTrail request body and out of shell history. Mutually exclusive with restrictedKey.
secretId (string) -- [REQUIRED]
The ID of the Amazon Web Services Secrets Manager secret that stores the secret value.
jsonKey (string) -- [REQUIRED]
The JSON key used to extract the secret value from the Amazon Web Services Secrets Manager secret.
publishableKey (string) --
Stripe publishable key (pk_live_* or pk_test_*). Optional. Public by Stripe's design, so it is stored as a plain attribute on the provider record, never in Secrets Manager. Its mode must match the restricted key's (pk_test_ with rk_test_, pk_live_ with rk_live_).
payPalConfiguration (dict) --
Configuration for a PayPal payment credential provider.
clientId (string) -- [REQUIRED]
PayPal REST app client ID.
clientSecret (string) --
Inline client secret. AgentCore stores it for you (clientSecretSource MANAGED). Mutually exclusive with clientSecretConfig.
clientSecretSource (string) --
Where the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
clientSecretConfig (dict) --
Reference to your Secrets Manager secret that holds the client secret (EXTERNAL). Mutually exclusive with clientSecret.
secretId (string) -- [REQUIRED]
The ID of the Amazon Web Services Secrets Manager secret that stores the secret value.
jsonKey (string) -- [REQUIRED]
The JSON key used to extract the secret value from the Amazon Web Services Secrets Manager secret.
environment (string) -- [REQUIRED]
PayPal environment: LIVE or SANDBOX.
amazonPayConfiguration (dict) --
Configuration for an Amazon Pay payment credential provider.
merchantId (string) -- [REQUIRED]
Amazon Pay merchant ID (Seller ID) of the merchant account.
storeId (string) -- [REQUIRED]
Amazon Pay client store ID of the merchant's store.
authorizationToken (string) --
Inline MWSAuthToken or delegated authorization token (MANAGED). Mutually exclusive with authorizationTokenConfig. AgentCore stores it as given and exchanges an MWSAuthToken at vend.
authorizationTokenSource (string) --
Where the authorization token is stored: MANAGED by AgentCore or EXTERNAL in your Secrets Manager secret.
authorizationTokenConfig (dict) --
Reference to your Secrets Manager secret that holds the authorization token (EXTERNAL). Mutually exclusive with authorizationToken.
secretId (string) -- [REQUIRED]
The ID of the Amazon Web Services Secrets Manager secret that stores the secret value.
jsonKey (string) -- [REQUIRED]
The JSON key used to extract the secret value from the Amazon Web Services Secrets Manager secret.
environment (string) -- [REQUIRED]
Amazon Pay environment: LIVE or SANDBOX.
amazonPayRegion (string) -- [REQUIRED]
The Amazon Pay region the merchant's authorization token belongs to (NA or EU). AgentCore uses it to pick the Amazon Pay API host and the x-amz-pay-region value.
dict
Optional tags for resource organization.
(string) --
(string) --
dict
Response Syntax
{
'name': 'string',
'credentialProviderVendor': 'CoinbaseCDP'|'StripePrivy'|'Stripe'|'PayPal'|'AmazonPay',
'credentialProviderArn': 'string',
'providerConfigurationOutput': {
'coinbaseCdpConfiguration': {
'apiKeyId': 'string',
'apiKeySecretArn': {
'secretArn': 'string'
},
'apiKeySecretJsonKey': 'string',
'apiKeySecretSource': 'MANAGED'|'EXTERNAL',
'walletSecretArn': {
'secretArn': 'string'
},
'walletSecretJsonKey': 'string',
'walletSecretSource': 'MANAGED'|'EXTERNAL'
},
'stripePrivyConfiguration': {
'appId': 'string',
'appSecretArn': {
'secretArn': 'string'
},
'appSecretJsonKey': 'string',
'appSecretSource': 'MANAGED'|'EXTERNAL',
'authorizationPrivateKeyArn': {
'secretArn': 'string'
},
'authorizationPrivateKeyJsonKey': 'string',
'authorizationPrivateKeySource': 'MANAGED'|'EXTERNAL',
'authorizationId': 'string'
},
'stripeConfiguration': {
'restrictedKeyArn': {
'secretArn': 'string'
},
'restrictedKeyJsonKey': 'string',
'restrictedKeySource': 'MANAGED'|'EXTERNAL',
'connectedAccountId': 'string',
'publishableKey': 'string'
},
'payPalConfiguration': {
'clientId': 'string',
'clientSecretArn': {
'secretArn': 'string'
},
'clientSecretJsonKey': 'string',
'clientSecretSource': 'MANAGED'|'EXTERNAL',
'environment': 'LIVE'|'SANDBOX'
},
'amazonPayConfiguration': {
'merchantId': 'string',
'storeId': 'string',
'authorizationTokenArn': {
'secretArn': 'string'
},
'authorizationTokenJsonKey': 'string',
'authorizationTokenSource': 'MANAGED'|'EXTERNAL',
'environment': 'LIVE'|'SANDBOX',
'amazonPayRegion': 'NA'|'EU'
}
}
}
Response Structure
(dict) --
name (string) --
The name of the created payment credential provider.
credentialProviderVendor (string) --
The vendor type for the created payment credential provider.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the created payment credential provider.
providerConfigurationOutput (dict) --
Output configuration (contains secret ARNs, excludes actual secret values).
coinbaseCdpConfiguration (dict) --
The Coinbase CDP configuration.
apiKeyId (string) --
The API key identifier provided by Coinbase Developer Platform.
apiKeySecretArn (dict) --
Contains information about a secret in Amazon Web Services Secrets Manager.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
apiKeySecretJsonKey (string) --
The JSON key used to extract the API key secret value from the Amazon Web Services Secrets Manager secret.
apiKeySecretSource (string) --
The source type of the API key secret. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager.
walletSecretArn (dict) --
Contains information about a secret in Amazon Web Services Secrets Manager.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
walletSecretJsonKey (string) --
The JSON key used to extract the wallet secret value from the Amazon Web Services Secrets Manager secret.
walletSecretSource (string) --
The source type of the wallet secret. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager.
stripePrivyConfiguration (dict) --
The Stripe Privy configuration.
appId (string) --
The app ID provided by Privy.
appSecretArn (dict) --
Contains information about a secret in Amazon Web Services Secrets Manager.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
appSecretJsonKey (string) --
The JSON key used to extract the app secret value from the Amazon Web Services Secrets Manager secret.
appSecretSource (string) --
The source type of the app secret. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager.
authorizationPrivateKeyArn (dict) --
Contains information about a secret in Amazon Web Services Secrets Manager.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
authorizationPrivateKeyJsonKey (string) --
The JSON key used to extract the authorization private key value from the Amazon Web Services Secrets Manager secret.
authorizationPrivateKeySource (string) --
The source type of the authorization private key. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager.
authorizationId (string) --
The authorization ID for the Stripe Privy integration.
stripeConfiguration (dict) --
Configuration of a Stripe payment credential provider.
restrictedKeyArn (dict) --
Secrets Manager ARN of the restricted key. Always present: a MANUAL provider either points at the merchant's own secret (EXTERNAL) or at the service-linked secret AgentCore wrote (MANAGED).
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
restrictedKeyJsonKey (string) --
The key within the Secrets Manager secret's JSON payload that holds the restricted key. Present only when the secret stores the value under a named key rather than as the whole payload.
restrictedKeySource (string) --
Where the restricted key is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
connectedAccountId (string) --
The Stripe account the restricted key belongs to.
Reserved, and not populated yet: resolving it needs a Stripe GET /v1/account call the service does not make. Treat it as server-written and immutable — no request member sets it, and an update carries the stored value forward untouched. The check that a rotated key still belongs to the same Stripe account is NOT implemented, so do not rely on this field as a control.
publishableKey (string) --
Stripe publishable key stored on the provider record. Present only when the merchant supplied one at create/update. Public by design, so it is echoed in plaintext, not as a secret ARN.
payPalConfiguration (dict) --
Configuration of a PayPal payment credential provider.
clientId (string) --
PayPal REST app client ID.
clientSecretArn (dict) --
ARN of the secret that holds the client secret.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
clientSecretJsonKey (string) --
The key within the Secrets Manager secret's JSON payload that holds the client secret. Present only when the secret stores the value under a named key rather than as the whole payload.
clientSecretSource (string) --
Where the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
environment (string) --
PayPal environment: LIVE or SANDBOX.
amazonPayConfiguration (dict) --
Configuration of an Amazon Pay payment credential provider.
merchantId (string) --
Amazon Pay merchant ID (Seller ID) of the merchant account.
storeId (string) --
Amazon Pay client store ID of the merchant's store.
authorizationTokenArn (dict) --
ARN of the secret that holds the authorization token.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
authorizationTokenJsonKey (string) --
JSON key of the authorization token inside the secret value, for an EXTERNAL secret.
authorizationTokenSource (string) --
Where the authorization token is stored: MANAGED by AgentCore or EXTERNAL in your Secrets Manager secret.
environment (string) --
Amazon Pay environment: LIVE or SANDBOX.
amazonPayRegion (string) --
The Amazon Pay region the merchant's authorization token belongs to (NA or EU).
{'cpuConfigurations': [{'architecture': 'ARM64 | X86_64'}]}
Gets an Amazon Bedrock AgentCore Runtime.
See also: AWS API Documentation
Request Syntax
client.get_agent_runtime(
agentRuntimeId='string',
agentRuntimeVersion='string'
)
string
[REQUIRED]
The unique identifier of the AgentCore Runtime to retrieve.
string
The version of the AgentCore Runtime to retrieve.
dict
Response Syntax
{
'agentRuntimeArn': 'string',
'agentRuntimeName': 'string',
'agentRuntimeId': 'string',
'agentRuntimeVersion': 'string',
'createdAt': datetime(2015, 1, 1),
'lastUpdatedAt': datetime(2015, 1, 1),
'roleArn': 'string',
'networkConfiguration': {
'networkMode': 'PUBLIC'|'VPC',
'networkModeConfig': {
'securityGroups': [
'string',
],
'subnets': [
'string',
],
'requireServiceS3Endpoint': True|False
}
},
'status': 'CREATING'|'CREATE_FAILED'|'UPDATING'|'UPDATE_FAILED'|'READY'|'DELETING'|'DELETE_FAILED',
'lifecycleConfiguration': {
'idleRuntimeSessionTimeout': 123,
'maxLifetime': 123
},
'hooksConfiguration': {
'build': {
'warmup': {
'action': {
'httpPost': {
'path': 'string',
'port': 123
}
}
}
}
},
'failureReason': 'string',
'description': 'string',
'workloadIdentityDetails': {
'workloadIdentityArn': 'string'
},
'agentRuntimeArtifact': {
'containerConfiguration': {
'containerUri': 'string'
},
'codeConfiguration': {
'code': {
's3': {
'bucket': 'string',
'prefix': 'string',
'versionId': 'string'
}
},
'runtime': 'PYTHON_3_10'|'PYTHON_3_11'|'PYTHON_3_12'|'PYTHON_3_13'|'PYTHON_3_14'|'NODE_22',
'entryPoint': [
'string',
]
}
},
'protocolConfiguration': {
'serverProtocol': 'MCP'|'HTTP'|'A2A'|'AGUI',
'port': 123,
'path': 'string'
},
'environmentVariables': {
'string': 'string'
},
'authorizerConfiguration': {
'customJWTAuthorizer': {
'discoveryUrl': 'string',
'allowedAudience': [
'string',
],
'allowedClients': [
'string',
],
'allowedScopes': [
'string',
],
'advertisedScopeMapping': {
'string': 'string'
},
'customClaims': [
{
'inboundTokenClaimName': 'string',
'inboundTokenClaimValueType': 'STRING'|'STRING_ARRAY',
'authorizingClaimMatchValue': {
'claimMatchValue': {
'matchValueString': 'string',
'matchValueStringList': [
'string',
]
},
'claimMatchOperator': 'EQUALS'|'CONTAINS'|'CONTAINS_ANY'
}
},
],
'privateEndpoint': {
'selfManagedLatticeResource': {
'resourceConfigurationIdentifier': 'string'
},
'managedVpcResource': {
'vpcIdentifier': 'string',
'subnetIds': [
'string',
],
'endpointIpAddressType': 'IPV4'|'IPV6',
'securityGroupIds': [
'string',
],
'tags': {
'string': 'string'
},
'routingDomain': 'string'
}
},
'privateEndpointOverrides': [
{
'domain': 'string',
'privateEndpoint': {
'selfManagedLatticeResource': {
'resourceConfigurationIdentifier': 'string'
},
'managedVpcResource': {
'vpcIdentifier': 'string',
'subnetIds': [
'string',
],
'endpointIpAddressType': 'IPV4'|'IPV6',
'securityGroupIds': [
'string',
],
'tags': {
'string': 'string'
},
'routingDomain': 'string'
}
}
},
],
'certificateConfigurations': [
{
's3': {
'uri': 'string',
'bucketOwnerAccountId': 'string'
},
'secretsManager': {
'secretArn': 'string'
}
},
],
'allowedWorkloadConfiguration': {
'hostingEnvironments': [
{
'arn': 'string'
},
],
'workloadIdentities': [
'string',
]
}
}
},
'requestHeaderConfiguration': {
'requestHeaderAllowlist': [
'string',
]
},
'metadataConfiguration': {
'requireMMDSV2': True|False
},
'filesystemConfigurations': [
{
'sessionStorage': {
'mountPath': 'string'
},
's3FilesAccessPoint': {
'accessPointArn': 'string',
'mountPath': 'string'
},
'efsAccessPoint': {
'accessPointArn': 'string',
'mountPath': 'string'
},
'capacityProviderVolume': {
'volumeName': 'string',
'mountPath': 'string'
},
's3BucketMount': {
'bucket': 'string',
'mountPath': 'string',
'prefix': 'string',
's3BucketOwner': 'string',
's3BucketRegion': 'string'
}
},
],
'capacityProviderConfiguration': {
'capacityProviderArn': 'string',
'operatingSystemConfiguration': {
'linux': {
'privilegeMode': 'STANDARD'|'PRIVILEGED'
}
}
},
'platformVersion': 'string',
'allowedPorts': [
{
'port': 123,
'portRange': {
'from': 123,
'to': 123
}
},
],
'resourceConfigurations': [
{
'minimumMemoryInMiB': 123
},
],
'cpuConfigurations': [
{
'architecture': 'ARM64'|'X86_64'
},
]
}
Response Structure
(dict) --
agentRuntimeArn (string) --
The Amazon Resource Name (ARN) of the AgentCore Runtime.
agentRuntimeName (string) --
The name of the AgentCore Runtime.
agentRuntimeId (string) --
The unique identifier of the AgentCore Runtime.
agentRuntimeVersion (string) --
The version of the AgentCore Runtime.
createdAt (datetime) --
The timestamp when the AgentCore Runtime was created.
lastUpdatedAt (datetime) --
The timestamp when the AgentCore Runtime was last updated.
roleArn (string) --
The IAM role ARN that provides permissions for the AgentCore Runtime.
networkConfiguration (dict) --
The network configuration for the AgentCore Runtime.
networkMode (string) --
The network mode for the AgentCore Runtime.
networkModeConfig (dict) --
The network mode configuration for the AgentCore Runtime.
securityGroups (list) --
The security groups associated with the VPC configuration.
(string) --
subnets (list) --
The subnets associated with the VPC configuration.
(string) --
requireServiceS3Endpoint (boolean) --
Controls whether a service-managed Amazon S3 gateway endpoint is provisioned in the VPC network topology for the agent runtime. This gateway is used by Amazon Bedrock AgentCore Runtime to download code and container images during agent startup.
Starting May 5, 2026, Amazon Bedrock AgentCore Runtime is gradually rolling out a change to how network isolation is configured for VPC mode agents. Agent runtimes created on or after this rollout will no longer include the service-managed Amazon S3 gateway. Instead, all network access, including to Amazon S3, is governed exclusively by your VPC configuration. This field cannot be set on agent runtimes created after the rollout. Passing this field in an UpdateAgentRuntime request for these agent runtimes returns a ValidationException.
Agent runtimes created before the rollout are not affected and continue to operate with the service-managed Amazon S3 gateway. To enforce full VPC network isolation on these existing agent runtimes, set this field to false via the UpdateAgentRuntime API. Before opting out, ensure your VPC provides the Amazon S3 access required for agent startup. If this field is not specified or is set to true, the service-managed Amazon S3 gateway remains provisioned.
This field is only supported in the UpdateAgentRuntime API for pre-rollout agent runtimes. Passing this field in a CreateAgentRuntime request returns a ValidationException.
status (string) --
The current status of the AgentCore Runtime.
lifecycleConfiguration (dict) --
The life cycle configuration for the AgentCore Runtime.
idleRuntimeSessionTimeout (integer) --
Timeout in seconds for idle runtime sessions. When a session remains idle for this duration, it will be automatically terminated. Default: 900 seconds (15 minutes).
maxLifetime (integer) --
Maximum lifetime for the instance in seconds. Once reached, instances will be automatically terminated and replaced. Default: 28800 seconds (8 hours).
hooksConfiguration (dict) --
The lifecycle hooks configuration for the AgentCore Runtime.
build (dict) --
The hooks that run when you create or update the AgentCore Runtime, before any sessions are created.
warmup (dict) --
The hook that warms up your agent before any sessions are created. Use this hook to load the resources that your sessions need, such as models, libraries, or caches. Your hook must complete within 120 seconds.
action (dict) --
The action that AgentCore Runtime runs for the hook. Specify exactly one action.
httpPost (dict) --
Sends an HTTP POST request to your agent's container on the specified port and path to run the hook. The hook succeeds if your container returns a 2xx response. The hook fails if your container returns any other response or doesn't respond before the hook times out.
path (string) --
The path in the agent's container that AgentCore Runtime sends the POST request to.
port (integer) --
The port in the agent's container that AgentCore Runtime sends the POST request to. If you don't specify a port, the default is the runtime's server port: the port in the protocol configuration if one is set, otherwise the protocol's default port.
failureReason (string) --
The reason for failure if the AgentCore Runtime is in a failed state.
description (string) --
The description of the AgentCore Runtime.
workloadIdentityDetails (dict) --
The workload identity details for the AgentCore Runtime.
workloadIdentityArn (string) --
The ARN associated with the workload identity.
agentRuntimeArtifact (dict) --
The artifact of the AgentCore Runtime.
containerConfiguration (dict) --
The container configuration for the agent artifact.
containerUri (string) --
The ECR URI of the container.
codeConfiguration (dict) --
The code configuration for the agent runtime artifact, including the source code location and execution settings.
code (dict) --
The source code location and configuration details.
s3 (dict) --
The Amazon Amazon S3 object that contains the source code for the agent runtime.
bucket (string) --
The name of the Amazon S3 bucket. This bucket contains the stored data.
prefix (string) --
The prefix for objects in the Amazon S3 bucket. This prefix is added to the object keys to organize the data.
versionId (string) --
The version ID of the Amazon Amazon S3 object. If not specified, the latest version of the object is used.
runtime (string) --
The runtime environment for executing the agent code. Specify the programming language and version to use for the agent runtime. For valid values, see the list of supported runtimes.
entryPoint (list) --
The entry point for the code execution, specifying the function or method that should be invoked when the code runs.
(string) --
protocolConfiguration (dict) --
The protocol configuration for the AgentCore Runtime, including the protocol, port, and path on which the agent server is available.
serverProtocol (string) --
The server protocol for the agent runtime. This field specifies which protocol the agent runtime uses to communicate with clients.
port (integer) --
The port on which the agent server listens. The port must be between 8000 and 12000, excluding the reserved port 8443. When this field is omitted, the default is 8080 for HTTP and AGUI, 8000 for MCP, and 9000 for A2A.
path (string) --
The path on which the agent server accepts requests. The path must begin with /. When this field is omitted, the default is /invocations for HTTP and AGUI, /mcp for MCP, and / for A2A.
environmentVariables (dict) --
Environment variables set in the AgentCore Runtime environment.
(string) --
(string) --
authorizerConfiguration (dict) --
The authorizer configuration for the AgentCore Runtime.
customJWTAuthorizer (dict) --
The inbound JWT-based authorization, specifying how incoming requests should be authenticated.
discoveryUrl (string) --
This URL is used to fetch OpenID Connect configuration or authorization server metadata for validating incoming tokens.
allowedAudience (list) --
Represents individual audience values that are validated in the incoming JWT token validation process.
(string) --
allowedClients (list) --
Represents individual client IDs that are validated in the incoming JWT token validation process.
(string) --
allowedScopes (list) --
An array of scopes that are allowed to access the token.
(string) --
advertisedScopeMapping (dict) --
A map that associates each scope in allowedScopes with a corresponding advertised scope value. The advertised scope appears in OAuth protected resource metadata and WWW-Authenticate response headers. Use this parameter when the scope that clients request from your identity provider differs from the scope in the validated token. Each key is a scope from allowedScopes that the service uses for token validation. Each value is the corresponding scope that the service advertises to clients. Scopes without a mapping entry appear unchanged to clients.
(string) --
(string) --
customClaims (list) --
An array of objects that define a custom claim validation name, value, and operation
(dict) --
Defines the name of a custom claim field and rules for finding matches to authenticate its value.
inboundTokenClaimName (string) --
The name of the custom claim field to check.
inboundTokenClaimValueType (string) --
The data type of the claim value to check for.
Use STRING if you want to find an exact match to a string you define.
Use STRING_ARRAY if you want to fnd a match to at least one value in an array you define.
authorizingClaimMatchValue (dict) --
Defines the value or values to match for and the relationship of the match.
claimMatchValue (dict) --
The value or values to match for.
matchValueString (string) --
The string value to match for.
matchValueStringList (list) --
An array of strings to check for a match.
(string) --
claimMatchOperator (string) --
Defines the relationship between the claim field value and the value or values you're matching for.
privateEndpoint (dict) --
The private endpoint configuration for a gateway target. Defines how the gateway connects to private resources in your VPC.
selfManagedLatticeResource (dict) --
Configuration for connecting to a private resource using a self-managed VPC Lattice resource configuration.
resourceConfigurationIdentifier (string) --
The ARN or ID of the VPC Lattice resource configuration.
managedVpcResource (dict) --
Configuration for connecting to a private resource using a managed VPC Lattice resource. The gateway creates and manages the VPC Lattice resources on your behalf.
vpcIdentifier (string) --
The ID of the VPC that contains your private resource.
subnetIds (list) --
The subnet IDs within the VPC where the VPC Lattice resource gateway is placed.
(string) --
endpointIpAddressType (string) --
The IP address type for the resource configuration endpoint.
securityGroupIds (list) --
The security group IDs to associate with the VPC Lattice resource gateway. If not specified, the default security group for the VPC is used.
(string) --
tags (dict) --
Tags to apply to the managed VPC Lattice resource gateway.
(string) --
(string) --
routingDomain (string) --
An intermediate domain to use as the resource configuration endpoint instead of the actual target domain. Use this when you want to route traffic through an intermediate component such as a VPC endpoint or internal load balancer. For more information, see xref:lattice-vpc-egress-routing-domain[Route traffic through an intermediate domain].
privateEndpointOverrides (list) --
The private endpoint overrides for the custom JWT authorizer configuration.
(dict) --
A mapping of a specific domain to a private endpoint for secure connectivity through a VPC Lattice resource configuration.
domain (string) --
The domain to override with a private endpoint.
privateEndpoint (dict) --
The private endpoint configuration for the specified domain.
selfManagedLatticeResource (dict) --
Configuration for connecting to a private resource using a self-managed VPC Lattice resource configuration.
resourceConfigurationIdentifier (string) --
The ARN or ID of the VPC Lattice resource configuration.
managedVpcResource (dict) --
Configuration for connecting to a private resource using a managed VPC Lattice resource. The gateway creates and manages the VPC Lattice resources on your behalf.
vpcIdentifier (string) --
The ID of the VPC that contains your private resource.
subnetIds (list) --
The subnet IDs within the VPC where the VPC Lattice resource gateway is placed.
(string) --
endpointIpAddressType (string) --
The IP address type for the resource configuration endpoint.
securityGroupIds (list) --
The security group IDs to associate with the VPC Lattice resource gateway. If not specified, the default security group for the VPC is used.
(string) --
tags (dict) --
Tags to apply to the managed VPC Lattice resource gateway.
(string) --
(string) --
routingDomain (string) --
An intermediate domain to use as the resource configuration endpoint instead of the actual target domain. Use this when you want to route traffic through an intermediate component such as a VPC endpoint or internal load balancer. For more information, see xref:lattice-vpc-egress-routing-domain[Route traffic through an intermediate domain].
certificateConfigurations (list) --
The private certificate authority (CA) configurations for the identity provider. Use this to have AgentCore Identity trust a private CA when establishing TLS connections to identity provider endpoints. You can specify only one certificate authority configuration in this list. Provide the certificate by reference to an Amazon S3 object or an Amazon Web Services Secrets Manager secret. You can use this only together with privateEndpoint.
(dict) --
A reference to a private certificate authority (CA) certificate that AgentCore uses to verify TLS connections to an endpoint, such as a gateway target or an identity provider, that presents a certificate issued by a private CA that is not trusted by default. Specify exactly one certificate source. The configuration is a reference only and never contains the certificate content.
s3 (dict) --
The Amazon S3 location of the PEM-encoded private CA certificate.
uri (string) --
The URI of the Amazon S3 object that contains the PEM-encoded certificate.
bucketOwnerAccountId (string) --
The account ID of the Amazon S3 bucket owner. This ID is used for cross-account access to the bucket.
secretsManager (dict) --
The Amazon Web Services Secrets Manager location of the PEM-encoded private CA certificate.
secretArn (string) --
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the PEM-encoded certificate.
allowedWorkloadConfiguration (dict) --
The configuration that restricts which workloads in the request's identity chain are allowed to invoke the target, identified by their hosting environments and workload identities. At launch, this is supported only for AgentCore Runtime targets, and the allowed workloads are AgentCore Gateways.
hostingEnvironments (list) --
The list of hosting environments whose workloads are allowed to invoke the target. At launch, the only supported hosting environment is AgentCore Gateway.
(dict) --
A hosting environment whose workloads are allowed to invoke the target. At launch, the only supported hosting environment is AgentCore Gateway.
arn (string) --
The Amazon Resource Name (ARN) of the hosting environment.
workloadIdentities (list) --
The list of workload identities that are allowed to invoke the target.
(string) --
requestHeaderConfiguration (dict) --
Configuration for HTTP request headers that will be passed through to the runtime.
requestHeaderAllowlist (list) --
A list of HTTP request headers that are allowed to be passed through to the runtime.
(string) --
metadataConfiguration (dict) --
Configuration for microVM Metadata Service (MMDS) settings for the AgentCore Runtime.
requireMMDSV2 (boolean) --
Enables MMDSv2 (microVM Metadata Service Version 2) requirement for the agent runtime. When set to true, the runtime microVM will only accept MMDSv2 requests.
filesystemConfigurations (list) --
The filesystem configurations mounted into the AgentCore Runtime.
(dict) --
Configuration for a filesystem that can be mounted into the AgentCore Runtime.
sessionStorage (dict) --
Configuration for session storage. Session storage provides persistent storage that is preserved across AgentCore Runtime session invocations.
mountPath (string) --
The mount path for the session storage filesystem inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
s3FilesAccessPoint (dict) --
Configuration for an Amazon S3 Files access point to mount into the AgentCore Runtime.
accessPointArn (string) --
The ARN of the S3 Files access point to mount into the AgentCore Runtime.
mountPath (string) --
The mount path for the S3 Files access point inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
efsAccessPoint (dict) --
Configuration for an Amazon EFS access point to mount into the AgentCore Runtime.
accessPointArn (string) --
The ARN of the EFS access point to mount into the AgentCore Runtime.
mountPath (string) --
The mount path for the EFS access point inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
capacityProviderVolume (dict) --
Configuration for a capacity provider volume to mount into the AgentCore Runtime. This mounts a persistent volume that is defined on the capacity provider, referenced by its logical name.
volumeName (string) --
The logical name of the capacity provider volume to mount. This name must match a volume that is defined in the capacity provider's list of volumes.
mountPath (string) --
The mount path for the capacity provider volume inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
s3BucketMount (dict) --
Mounts an Amazon S3 bucket as a file system in the AgentCore Runtime.
bucket (string) --
The name of the S3 bucket to mount. You can specify a general purpose bucket or a directory bucket.
mountPath (string) --
The mount path for the S3 bucket inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
prefix (string) --
The key prefix to mount. Only objects under this prefix are visible at the mount path. To give each session its own prefix, include {runtimeSessionId} (for example, data/{runtimeSessionId}/). If you omit the prefix, the whole bucket is mounted.
s3BucketOwner (string) --
The Amazon Web Services account ID that must own the bucket. If you omit it, the bucket must be owned by the account that owns the AgentCore Runtime.
s3BucketRegion (string) --
The Amazon Web Services Region of the S3 bucket. If you omit it, the bucket must be in the same Region as the AgentCore Runtime.
capacityProviderConfiguration (dict) --
The capacity provider configuration for the AgentCore Runtime.
capacityProviderArn (string) --
The Amazon Resource Name (ARN) of the capacity provider to use for the AgentCore Runtime.
operatingSystemConfiguration (dict) --
The operating system configuration of the agents that Amazon Bedrock AgentCore Runtime runs on the capacity provider.
linux (dict) --
The operating system configuration of agents that run on Linux instances.
privilegeMode (string) --
The privilege mode of the agents. If you omit this field, the agents run in STANDARD privilege mode. The following values are possible:
STANDARD – The agent runs without elevated privileges. This is the default.
PRIVILEGED – The agent runs with elevated privileges on its instance. Use this mode for agents that build container images, run containers, or install system packages. A session that runs a PRIVILEGED agent runs only that agent.
platformVersion (string) --
The version of the runtime platform used by the AgentCore Runtime.
allowedPorts (list) --
The additional ports on the AgentCore Runtime that are reachable through the runtime's session URL.
(dict) --
A port or port range that is reachable through the runtime's session URL. Specify exactly one of port or portRange.
port (integer) --
A single port that is reachable through the runtime's session URL.
portRange (dict) --
An inclusive range of ports that are reachable through the runtime's session URL.
from (integer) --
The first port in the inclusive range.
to (integer) --
The last port in the inclusive range.
resourceConfigurations (list) --
The resource configurations for the AgentCore Runtime.
(dict) --
The resource configuration for an AgentCore Runtime.
minimumMemoryInMiB (integer) --
The minimum amount of memory, in mebibytes, to allocate to the AgentCore Runtime.
cpuConfigurations (list) --
The CPU configurations for the AgentCore Runtime.
(dict) --
The CPU configuration for an AgentCore Runtime.
architecture (string) --
The CPU architecture for the AgentCore Runtime.
{'credentialProviderConfigurations': {'amazonPay': {'credentialProviderArn': 'string'},
'payPal': {'credentialProviderArn': 'string'},
'stripe': {'credentialProviderArn': 'string'}},
'type': {'Stripe', 'AmazonPay', 'PayPal'}}
Retrieves information about a specific payment connector.
See also: AWS API Documentation
Request Syntax
client.get_payment_connector(
paymentManagerId='string',
paymentConnectorId='string'
)
string
[REQUIRED]
The unique identifier of the parent payment manager.
string
[REQUIRED]
The unique identifier of the payment connector to retrieve.
dict
Response Syntax
{
'paymentConnectorId': 'string',
'name': 'string',
'description': 'string',
'type': 'CoinbaseCDP'|'StripePrivy'|'Stripe'|'PayPal'|'AmazonPay'|'AwsBilling',
'provisionMode': 'MANUAL'|'QUICK_CREATE',
'credentialProviderConfigurations': [
{
'coinbaseCDP': {
'credentialProviderArn': 'string'
},
'stripePrivy': {
'credentialProviderArn': 'string'
},
'stripe': {
'credentialProviderArn': 'string'
},
'payPal': {
'credentialProviderArn': 'string'
},
'amazonPay': {
'credentialProviderArn': 'string'
},
'awsBilling': {
'iamRoleArn': 'string'
}
},
],
'createdAt': datetime(2015, 1, 1),
'lastUpdatedAt': datetime(2015, 1, 1),
'status': 'CREATING'|'UPDATING'|'DELETING'|'READY'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETE_FAILED'|'AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED'|'PENDING_AUTHENTICATION'|'PROVISIONING'|'AUTHENTICATION_EXPIRED'|'AUTHENTICATION_FAILED',
'authorizationUrl': 'string',
'credentialsUpdatedAt': datetime(2015, 1, 1)
}
Response Structure
(dict) --
paymentConnectorId (string) --
The unique identifier of the payment connector.
name (string) --
The name of the payment connector.
description (string) --
The description of the payment connector.
type (string) --
The type of the payment connector, which determines the payment provider integration.
provisionMode (string) --
Specifies how the payment connector was provisioned. Payment connectors that were created before this field was available return MANUAL.
MANUAL - You provided the credential provider configurations, so you own the credentials. Rotate them with the payment provider, then call UpdatePaymentCredentialProvider.
QUICK_CREATE - AgentCore provisioned the credential provider for you, so the credentials are service-managed. You can rotate them with RotatePaymentConnectorCredentials.
credentialProviderConfigurations (list) --
The credential provider configurations for the payment connector.
(dict) --
The configuration for a payment connector. Specifies the payment provider type and either its associated credential provider or, for an Amazon Web Services Billing payment connector, its billing configuration.
coinbaseCDP (dict) --
The credential provider configuration for a Coinbase CDP payment connector.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
stripePrivy (dict) --
The credential provider configuration for a Stripe Privy payment connector.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
stripe (dict) --
Configuration for a payment credential provider that stores authentication credentials for a payment provider.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
payPal (dict) --
Configuration for a payment credential provider that stores authentication credentials for a payment provider.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
amazonPay (dict) --
Configuration for a payment credential provider that stores authentication credentials for a payment provider.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
awsBilling (dict) --
The configuration for an Amazon Web Services Billing payment connector. The service sets this configuration when it creates the connector and returns it in responses. Don't specify it when you create an Amazon Web Services Billing payment connector.
iamRoleArn (string) --
The Amazon Resource Name (ARN) of the Amazon Web Services Marketplace service-linked role in the account that owns the payment manager. The service sets this value when it creates the connector.
createdAt (datetime) --
The timestamp when the payment connector was created.
lastUpdatedAt (datetime) --
The timestamp when the payment connector was last updated.
status (string) --
The current status of the payment connector. Possible values include CREATING, READY, UPDATING, DELETING, CREATE_FAILED, UPDATE_FAILED, and DELETE_FAILED.
authorizationUrl (string) --
The URL that the user must open to complete OAuth consent. This field is only present when the payment connector status is PENDING_AUTHENTICATION.
credentialsUpdatedAt (datetime) --
The timestamp when the payment connector's current service-managed credentials took effect. It is first set when the credentials are provisioned and is updated by each rotation. This field is present only for payment connectors with a provisionMode of QUICK_CREATE.
{'credentialProviderVendor': {'Stripe', 'AmazonPay', 'PayPal'},
'providerConfigurationOutput': {'amazonPayConfiguration': {'amazonPayRegion': 'NA '
'| '
'EU',
'authorizationTokenArn': {'secretArn': 'string'},
'authorizationTokenJsonKey': 'string',
'authorizationTokenSource': 'MANAGED '
'| '
'EXTERNAL',
'environment': 'LIVE '
'| '
'SANDBOX',
'merchantId': 'string',
'storeId': 'string'},
'payPalConfiguration': {'clientId': 'string',
'clientSecretArn': {'secretArn': 'string'},
'clientSecretJsonKey': 'string',
'clientSecretSource': 'MANAGED '
'| '
'EXTERNAL',
'environment': 'LIVE '
'| '
'SANDBOX'},
'stripeConfiguration': {'connectedAccountId': 'string',
'publishableKey': 'string',
'restrictedKeyArn': {'secretArn': 'string'},
'restrictedKeyJsonKey': 'string',
'restrictedKeySource': 'MANAGED '
'| '
'EXTERNAL'}}}
Retrieves information about a specific payment credential provider.
See also: AWS API Documentation
Request Syntax
client.get_payment_credential_provider(
name='string'
)
string
[REQUIRED]
The name of the payment credential provider to retrieve.
dict
Response Syntax
{
'name': 'string',
'credentialProviderArn': 'string',
'credentialProviderVendor': 'CoinbaseCDP'|'StripePrivy'|'Stripe'|'PayPal'|'AmazonPay',
'providerConfigurationOutput': {
'coinbaseCdpConfiguration': {
'apiKeyId': 'string',
'apiKeySecretArn': {
'secretArn': 'string'
},
'apiKeySecretJsonKey': 'string',
'apiKeySecretSource': 'MANAGED'|'EXTERNAL',
'walletSecretArn': {
'secretArn': 'string'
},
'walletSecretJsonKey': 'string',
'walletSecretSource': 'MANAGED'|'EXTERNAL'
},
'stripePrivyConfiguration': {
'appId': 'string',
'appSecretArn': {
'secretArn': 'string'
},
'appSecretJsonKey': 'string',
'appSecretSource': 'MANAGED'|'EXTERNAL',
'authorizationPrivateKeyArn': {
'secretArn': 'string'
},
'authorizationPrivateKeyJsonKey': 'string',
'authorizationPrivateKeySource': 'MANAGED'|'EXTERNAL',
'authorizationId': 'string'
},
'stripeConfiguration': {
'restrictedKeyArn': {
'secretArn': 'string'
},
'restrictedKeyJsonKey': 'string',
'restrictedKeySource': 'MANAGED'|'EXTERNAL',
'connectedAccountId': 'string',
'publishableKey': 'string'
},
'payPalConfiguration': {
'clientId': 'string',
'clientSecretArn': {
'secretArn': 'string'
},
'clientSecretJsonKey': 'string',
'clientSecretSource': 'MANAGED'|'EXTERNAL',
'environment': 'LIVE'|'SANDBOX'
},
'amazonPayConfiguration': {
'merchantId': 'string',
'storeId': 'string',
'authorizationTokenArn': {
'secretArn': 'string'
},
'authorizationTokenJsonKey': 'string',
'authorizationTokenSource': 'MANAGED'|'EXTERNAL',
'environment': 'LIVE'|'SANDBOX',
'amazonPayRegion': 'NA'|'EU'
}
},
'createdTime': datetime(2015, 1, 1),
'lastUpdatedTime': datetime(2015, 1, 1),
'tags': {
'string': 'string'
}
}
Response Structure
(dict) --
name (string) --
The name of the payment credential provider.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the payment credential provider.
credentialProviderVendor (string) --
The vendor type for the payment credential provider.
providerConfigurationOutput (dict) --
Output configuration (contains secret ARNs, excludes actual secret values).
coinbaseCdpConfiguration (dict) --
The Coinbase CDP configuration.
apiKeyId (string) --
The API key identifier provided by Coinbase Developer Platform.
apiKeySecretArn (dict) --
Contains information about a secret in Amazon Web Services Secrets Manager.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
apiKeySecretJsonKey (string) --
The JSON key used to extract the API key secret value from the Amazon Web Services Secrets Manager secret.
apiKeySecretSource (string) --
The source type of the API key secret. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager.
walletSecretArn (dict) --
Contains information about a secret in Amazon Web Services Secrets Manager.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
walletSecretJsonKey (string) --
The JSON key used to extract the wallet secret value from the Amazon Web Services Secrets Manager secret.
walletSecretSource (string) --
The source type of the wallet secret. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager.
stripePrivyConfiguration (dict) --
The Stripe Privy configuration.
appId (string) --
The app ID provided by Privy.
appSecretArn (dict) --
Contains information about a secret in Amazon Web Services Secrets Manager.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
appSecretJsonKey (string) --
The JSON key used to extract the app secret value from the Amazon Web Services Secrets Manager secret.
appSecretSource (string) --
The source type of the app secret. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager.
authorizationPrivateKeyArn (dict) --
Contains information about a secret in Amazon Web Services Secrets Manager.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
authorizationPrivateKeyJsonKey (string) --
The JSON key used to extract the authorization private key value from the Amazon Web Services Secrets Manager secret.
authorizationPrivateKeySource (string) --
The source type of the authorization private key. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager.
authorizationId (string) --
The authorization ID for the Stripe Privy integration.
stripeConfiguration (dict) --
Configuration of a Stripe payment credential provider.
restrictedKeyArn (dict) --
Secrets Manager ARN of the restricted key. Always present: a MANUAL provider either points at the merchant's own secret (EXTERNAL) or at the service-linked secret AgentCore wrote (MANAGED).
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
restrictedKeyJsonKey (string) --
The key within the Secrets Manager secret's JSON payload that holds the restricted key. Present only when the secret stores the value under a named key rather than as the whole payload.
restrictedKeySource (string) --
Where the restricted key is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
connectedAccountId (string) --
The Stripe account the restricted key belongs to.
Reserved, and not populated yet: resolving it needs a Stripe GET /v1/account call the service does not make. Treat it as server-written and immutable — no request member sets it, and an update carries the stored value forward untouched. The check that a rotated key still belongs to the same Stripe account is NOT implemented, so do not rely on this field as a control.
publishableKey (string) --
Stripe publishable key stored on the provider record. Present only when the merchant supplied one at create/update. Public by design, so it is echoed in plaintext, not as a secret ARN.
payPalConfiguration (dict) --
Configuration of a PayPal payment credential provider.
clientId (string) --
PayPal REST app client ID.
clientSecretArn (dict) --
ARN of the secret that holds the client secret.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
clientSecretJsonKey (string) --
The key within the Secrets Manager secret's JSON payload that holds the client secret. Present only when the secret stores the value under a named key rather than as the whole payload.
clientSecretSource (string) --
Where the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
environment (string) --
PayPal environment: LIVE or SANDBOX.
amazonPayConfiguration (dict) --
Configuration of an Amazon Pay payment credential provider.
merchantId (string) --
Amazon Pay merchant ID (Seller ID) of the merchant account.
storeId (string) --
Amazon Pay client store ID of the merchant's store.
authorizationTokenArn (dict) --
ARN of the secret that holds the authorization token.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
authorizationTokenJsonKey (string) --
JSON key of the authorization token inside the secret value, for an EXTERNAL secret.
authorizationTokenSource (string) --
Where the authorization token is stored: MANAGED by AgentCore or EXTERNAL in your Secrets Manager secret.
environment (string) --
Amazon Pay environment: LIVE or SANDBOX.
amazonPayRegion (string) --
The Amazon Pay region the merchant's authorization token belongs to (NA or EU).
createdTime (datetime) --
The timestamp when the payment credential provider was created.
lastUpdatedTime (datetime) --
The timestamp when the payment credential provider was last updated.
tags (dict) --
The tags associated with the payment credential provider.
(string) --
(string) --
{'paymentConnectors': {'type': {'Stripe', 'AmazonPay', 'PayPal'}}}
Lists all payment connectors for a specified payment manager.
See also: AWS API Documentation
Request Syntax
client.list_payment_connectors(
paymentManagerId='string',
maxResults=123,
nextToken='string'
)
string
[REQUIRED]
The unique identifier of the payment manager whose connectors to list.
integer
The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
string
If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
dict
Response Syntax
{
'paymentConnectors': [
{
'paymentConnectorId': 'string',
'name': 'string',
'type': 'CoinbaseCDP'|'StripePrivy'|'Stripe'|'PayPal'|'AmazonPay'|'AwsBilling',
'provisionMode': 'MANUAL'|'QUICK_CREATE',
'status': 'CREATING'|'UPDATING'|'DELETING'|'READY'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETE_FAILED'|'AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED'|'PENDING_AUTHENTICATION'|'PROVISIONING'|'AUTHENTICATION_EXPIRED'|'AUTHENTICATION_FAILED',
'lastUpdatedAt': datetime(2015, 1, 1)
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
paymentConnectors (list) --
The list of payment connector summaries. For details about the fields in each summary, see the PaymentConnectorSummary data type.
(dict) --
Contains summary information about a payment connector.
paymentConnectorId (string) --
The unique identifier of the payment connector.
name (string) --
The name of the payment connector.
type (string) --
The type of the payment connector, which determines the payment provider integration.
provisionMode (string) --
Specifies how the payment connector was provisioned. Payment connectors that were created before this field was available return MANUAL.
MANUAL - You provided the credential provider configurations, so you own the credentials.
QUICK_CREATE - AgentCore provisioned the credential provider for you, so the credentials are service-managed and you can rotate them with RotatePaymentConnectorCredentials.
status (string) --
The current status of the payment connector. Possible values include CREATING, READY, UPDATING, DELETING, CREATE_FAILED, UPDATE_FAILED, and DELETE_FAILED.
lastUpdatedAt (datetime) --
The timestamp when the payment connector was last updated.
nextToken (string) --
If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
{'credentialProviders': {'credentialProviderVendor': {'AmazonPay',
'PayPal',
'Stripe'}}}
Lists all payment credential providers in the account.
See also: AWS API Documentation
Request Syntax
client.list_payment_credential_providers(
nextToken='string',
maxResults=123
)
string
Pagination token.
integer
Maximum number of results to return.
dict
Response Syntax
{
'credentialProviders': [
{
'name': 'string',
'credentialProviderVendor': 'CoinbaseCDP'|'StripePrivy'|'Stripe'|'PayPal'|'AmazonPay',
'credentialProviderArn': 'string',
'createdTime': datetime(2015, 1, 1),
'lastUpdatedTime': datetime(2015, 1, 1)
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
credentialProviders (list) --
The list of payment credential providers.
(dict) --
Contains summary information about a payment credential provider.
name (string) --
The name of the payment credential provider.
credentialProviderVendor (string) --
The vendor type for the payment credential provider.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the payment credential provider.
createdTime (datetime) --
The timestamp when the payment credential provider was created.
lastUpdatedTime (datetime) --
The timestamp when the payment credential provider was last updated.
nextToken (string) --
Pagination token for the next page of results.
{'cpuConfigurations': [{'architecture': 'ARM64 | X86_64'}]}
Updates an existing Amazon Secure Agent.
See also: AWS API Documentation
Request Syntax
client.update_agent_runtime(
agentRuntimeId='string',
agentRuntimeArtifact={
'containerConfiguration': {
'containerUri': 'string'
},
'codeConfiguration': {
'code': {
's3': {
'bucket': 'string',
'prefix': 'string',
'versionId': 'string'
}
},
'runtime': 'PYTHON_3_10'|'PYTHON_3_11'|'PYTHON_3_12'|'PYTHON_3_13'|'PYTHON_3_14'|'NODE_22',
'entryPoint': [
'string',
]
}
},
roleArn='string',
networkConfiguration={
'networkMode': 'PUBLIC'|'VPC',
'networkModeConfig': {
'securityGroups': [
'string',
],
'subnets': [
'string',
],
'requireServiceS3Endpoint': True|False
}
},
description='string',
authorizerConfiguration={
'customJWTAuthorizer': {
'discoveryUrl': 'string',
'allowedAudience': [
'string',
],
'allowedClients': [
'string',
],
'allowedScopes': [
'string',
],
'advertisedScopeMapping': {
'string': 'string'
},
'customClaims': [
{
'inboundTokenClaimName': 'string',
'inboundTokenClaimValueType': 'STRING'|'STRING_ARRAY',
'authorizingClaimMatchValue': {
'claimMatchValue': {
'matchValueString': 'string',
'matchValueStringList': [
'string',
]
},
'claimMatchOperator': 'EQUALS'|'CONTAINS'|'CONTAINS_ANY'
}
},
],
'privateEndpoint': {
'selfManagedLatticeResource': {
'resourceConfigurationIdentifier': 'string'
},
'managedVpcResource': {
'vpcIdentifier': 'string',
'subnetIds': [
'string',
],
'endpointIpAddressType': 'IPV4'|'IPV6',
'securityGroupIds': [
'string',
],
'tags': {
'string': 'string'
},
'routingDomain': 'string'
}
},
'privateEndpointOverrides': [
{
'domain': 'string',
'privateEndpoint': {
'selfManagedLatticeResource': {
'resourceConfigurationIdentifier': 'string'
},
'managedVpcResource': {
'vpcIdentifier': 'string',
'subnetIds': [
'string',
],
'endpointIpAddressType': 'IPV4'|'IPV6',
'securityGroupIds': [
'string',
],
'tags': {
'string': 'string'
},
'routingDomain': 'string'
}
}
},
],
'certificateConfigurations': [
{
's3': {
'uri': 'string',
'bucketOwnerAccountId': 'string'
},
'secretsManager': {
'secretArn': 'string'
}
},
],
'allowedWorkloadConfiguration': {
'hostingEnvironments': [
{
'arn': 'string'
},
],
'workloadIdentities': [
'string',
]
}
}
},
requestHeaderConfiguration={
'requestHeaderAllowlist': [
'string',
]
},
protocolConfiguration={
'serverProtocol': 'MCP'|'HTTP'|'A2A'|'AGUI',
'port': 123,
'path': 'string'
},
lifecycleConfiguration={
'idleRuntimeSessionTimeout': 123,
'maxLifetime': 123
},
hooksConfiguration={
'build': {
'warmup': {
'action': {
'httpPost': {
'path': 'string',
'port': 123
}
}
}
}
},
metadataConfiguration={
'requireMMDSV2': True|False
},
environmentVariables={
'string': 'string'
},
filesystemConfigurations=[
{
'sessionStorage': {
'mountPath': 'string'
},
's3FilesAccessPoint': {
'accessPointArn': 'string',
'mountPath': 'string'
},
'efsAccessPoint': {
'accessPointArn': 'string',
'mountPath': 'string'
},
'capacityProviderVolume': {
'volumeName': 'string',
'mountPath': 'string'
},
's3BucketMount': {
'bucket': 'string',
'mountPath': 'string',
'prefix': 'string',
's3BucketOwner': 'string',
's3BucketRegion': 'string'
}
},
],
capacityProviderConfiguration={
'capacityProviderArn': 'string',
'operatingSystemConfiguration': {
'linux': {
'privilegeMode': 'STANDARD'|'PRIVILEGED'
}
}
},
platformVersion='string',
allowedPorts=[
{
'port': 123,
'portRange': {
'from': 123,
'to': 123
}
},
],
resourceConfigurations=[
{
'minimumMemoryInMiB': 123
},
],
clientToken='string',
cpuConfigurations=[
{
'architecture': 'ARM64'|'X86_64'
},
]
)
string
[REQUIRED]
The unique identifier of the AgentCore Runtime to update.
dict
[REQUIRED]
The updated artifact of the AgentCore Runtime.
containerConfiguration (dict) --
The container configuration for the agent artifact.
containerUri (string) -- [REQUIRED]
The ECR URI of the container.
codeConfiguration (dict) --
The code configuration for the agent runtime artifact, including the source code location and execution settings.
code (dict) -- [REQUIRED]
The source code location and configuration details.
s3 (dict) --
The Amazon Amazon S3 object that contains the source code for the agent runtime.
bucket (string) -- [REQUIRED]
The name of the Amazon S3 bucket. This bucket contains the stored data.
prefix (string) -- [REQUIRED]
The prefix for objects in the Amazon S3 bucket. This prefix is added to the object keys to organize the data.
versionId (string) --
The version ID of the Amazon Amazon S3 object. If not specified, the latest version of the object is used.
runtime (string) -- [REQUIRED]
The runtime environment for executing the agent code. Specify the programming language and version to use for the agent runtime. For valid values, see the list of supported runtimes.
entryPoint (list) -- [REQUIRED]
The entry point for the code execution, specifying the function or method that should be invoked when the code runs.
(string) --
string
[REQUIRED]
The updated IAM role ARN that provides permissions for the AgentCore Runtime.
dict
The updated network configuration for the AgentCore Runtime.
networkMode (string) -- [REQUIRED]
The network mode for the AgentCore Runtime.
networkModeConfig (dict) --
The network mode configuration for the AgentCore Runtime.
securityGroups (list) -- [REQUIRED]
The security groups associated with the VPC configuration.
(string) --
subnets (list) -- [REQUIRED]
The subnets associated with the VPC configuration.
(string) --
requireServiceS3Endpoint (boolean) --
Controls whether a service-managed Amazon S3 gateway endpoint is provisioned in the VPC network topology for the agent runtime. This gateway is used by Amazon Bedrock AgentCore Runtime to download code and container images during agent startup.
Starting May 5, 2026, Amazon Bedrock AgentCore Runtime is gradually rolling out a change to how network isolation is configured for VPC mode agents. Agent runtimes created on or after this rollout will no longer include the service-managed Amazon S3 gateway. Instead, all network access, including to Amazon S3, is governed exclusively by your VPC configuration. This field cannot be set on agent runtimes created after the rollout. Passing this field in an UpdateAgentRuntime request for these agent runtimes returns a ValidationException.
Agent runtimes created before the rollout are not affected and continue to operate with the service-managed Amazon S3 gateway. To enforce full VPC network isolation on these existing agent runtimes, set this field to false via the UpdateAgentRuntime API. Before opting out, ensure your VPC provides the Amazon S3 access required for agent startup. If this field is not specified or is set to true, the service-managed Amazon S3 gateway remains provisioned.
This field is only supported in the UpdateAgentRuntime API for pre-rollout agent runtimes. Passing this field in a CreateAgentRuntime request returns a ValidationException.
string
The updated description of the AgentCore Runtime.
dict
The updated authorizer configuration for the AgentCore Runtime.
customJWTAuthorizer (dict) --
The inbound JWT-based authorization, specifying how incoming requests should be authenticated.
discoveryUrl (string) -- [REQUIRED]
This URL is used to fetch OpenID Connect configuration or authorization server metadata for validating incoming tokens.
allowedAudience (list) --
Represents individual audience values that are validated in the incoming JWT token validation process.
(string) --
allowedClients (list) --
Represents individual client IDs that are validated in the incoming JWT token validation process.
(string) --
allowedScopes (list) --
An array of scopes that are allowed to access the token.
(string) --
advertisedScopeMapping (dict) --
A map that associates each scope in allowedScopes with a corresponding advertised scope value. The advertised scope appears in OAuth protected resource metadata and WWW-Authenticate response headers. Use this parameter when the scope that clients request from your identity provider differs from the scope in the validated token. Each key is a scope from allowedScopes that the service uses for token validation. Each value is the corresponding scope that the service advertises to clients. Scopes without a mapping entry appear unchanged to clients.
(string) --
(string) --
customClaims (list) --
An array of objects that define a custom claim validation name, value, and operation
(dict) --
Defines the name of a custom claim field and rules for finding matches to authenticate its value.
inboundTokenClaimName (string) -- [REQUIRED]
The name of the custom claim field to check.
inboundTokenClaimValueType (string) -- [REQUIRED]
The data type of the claim value to check for.
Use STRING if you want to find an exact match to a string you define.
Use STRING_ARRAY if you want to fnd a match to at least one value in an array you define.
authorizingClaimMatchValue (dict) -- [REQUIRED]
Defines the value or values to match for and the relationship of the match.
claimMatchValue (dict) -- [REQUIRED]
The value or values to match for.
matchValueString (string) --
The string value to match for.
matchValueStringList (list) --
An array of strings to check for a match.
(string) --
claimMatchOperator (string) -- [REQUIRED]
Defines the relationship between the claim field value and the value or values you're matching for.
privateEndpoint (dict) --
The private endpoint configuration for a gateway target. Defines how the gateway connects to private resources in your VPC.
selfManagedLatticeResource (dict) --
Configuration for connecting to a private resource using a self-managed VPC Lattice resource configuration.
resourceConfigurationIdentifier (string) --
The ARN or ID of the VPC Lattice resource configuration.
managedVpcResource (dict) --
Configuration for connecting to a private resource using a managed VPC Lattice resource. The gateway creates and manages the VPC Lattice resources on your behalf.
vpcIdentifier (string) -- [REQUIRED]
The ID of the VPC that contains your private resource.
subnetIds (list) -- [REQUIRED]
The subnet IDs within the VPC where the VPC Lattice resource gateway is placed.
(string) --
endpointIpAddressType (string) -- [REQUIRED]
The IP address type for the resource configuration endpoint.
securityGroupIds (list) --
The security group IDs to associate with the VPC Lattice resource gateway. If not specified, the default security group for the VPC is used.
(string) --
tags (dict) --
Tags to apply to the managed VPC Lattice resource gateway.
(string) --
(string) --
routingDomain (string) --
An intermediate domain to use as the resource configuration endpoint instead of the actual target domain. Use this when you want to route traffic through an intermediate component such as a VPC endpoint or internal load balancer. For more information, see xref:lattice-vpc-egress-routing-domain[Route traffic through an intermediate domain].
privateEndpointOverrides (list) --
The private endpoint overrides for the custom JWT authorizer configuration.
(dict) --
A mapping of a specific domain to a private endpoint for secure connectivity through a VPC Lattice resource configuration.
domain (string) -- [REQUIRED]
The domain to override with a private endpoint.
privateEndpoint (dict) -- [REQUIRED]
The private endpoint configuration for the specified domain.
selfManagedLatticeResource (dict) --
Configuration for connecting to a private resource using a self-managed VPC Lattice resource configuration.
resourceConfigurationIdentifier (string) --
The ARN or ID of the VPC Lattice resource configuration.
managedVpcResource (dict) --
Configuration for connecting to a private resource using a managed VPC Lattice resource. The gateway creates and manages the VPC Lattice resources on your behalf.
vpcIdentifier (string) -- [REQUIRED]
The ID of the VPC that contains your private resource.
subnetIds (list) -- [REQUIRED]
The subnet IDs within the VPC where the VPC Lattice resource gateway is placed.
(string) --
endpointIpAddressType (string) -- [REQUIRED]
The IP address type for the resource configuration endpoint.
securityGroupIds (list) --
The security group IDs to associate with the VPC Lattice resource gateway. If not specified, the default security group for the VPC is used.
(string) --
tags (dict) --
Tags to apply to the managed VPC Lattice resource gateway.
(string) --
(string) --
routingDomain (string) --
An intermediate domain to use as the resource configuration endpoint instead of the actual target domain. Use this when you want to route traffic through an intermediate component such as a VPC endpoint or internal load balancer. For more information, see xref:lattice-vpc-egress-routing-domain[Route traffic through an intermediate domain].
certificateConfigurations (list) --
The private certificate authority (CA) configurations for the identity provider. Use this to have AgentCore Identity trust a private CA when establishing TLS connections to identity provider endpoints. You can specify only one certificate authority configuration in this list. Provide the certificate by reference to an Amazon S3 object or an Amazon Web Services Secrets Manager secret. You can use this only together with privateEndpoint.
(dict) --
A reference to a private certificate authority (CA) certificate that AgentCore uses to verify TLS connections to an endpoint, such as a gateway target or an identity provider, that presents a certificate issued by a private CA that is not trusted by default. Specify exactly one certificate source. The configuration is a reference only and never contains the certificate content.
s3 (dict) --
The Amazon S3 location of the PEM-encoded private CA certificate.
uri (string) -- [REQUIRED]
The URI of the Amazon S3 object that contains the PEM-encoded certificate.
bucketOwnerAccountId (string) --
The account ID of the Amazon S3 bucket owner. This ID is used for cross-account access to the bucket.
secretsManager (dict) --
The Amazon Web Services Secrets Manager location of the PEM-encoded private CA certificate.
secretArn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the PEM-encoded certificate.
allowedWorkloadConfiguration (dict) --
The configuration that restricts which workloads in the request's identity chain are allowed to invoke the target, identified by their hosting environments and workload identities. At launch, this is supported only for AgentCore Runtime targets, and the allowed workloads are AgentCore Gateways.
hostingEnvironments (list) --
The list of hosting environments whose workloads are allowed to invoke the target. At launch, the only supported hosting environment is AgentCore Gateway.
(dict) --
A hosting environment whose workloads are allowed to invoke the target. At launch, the only supported hosting environment is AgentCore Gateway.
arn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the hosting environment.
workloadIdentities (list) --
The list of workload identities that are allowed to invoke the target.
(string) --
dict
The updated configuration for HTTP request headers that will be passed through to the runtime.
requestHeaderAllowlist (list) --
A list of HTTP request headers that are allowed to be passed through to the runtime.
(string) --
dict
The updated protocol configuration for the AgentCore Runtime, including the protocol, port, and path on which the agent server is available.
serverProtocol (string) -- [REQUIRED]
The server protocol for the agent runtime. This field specifies which protocol the agent runtime uses to communicate with clients.
port (integer) --
The port on which the agent server listens. The port must be between 8000 and 12000, excluding the reserved port 8443. When this field is omitted, the default is 8080 for HTTP and AGUI, 8000 for MCP, and 9000 for A2A.
path (string) --
The path on which the agent server accepts requests. The path must begin with /. When this field is omitted, the default is /invocations for HTTP and AGUI, /mcp for MCP, and / for A2A.
dict
The updated life cycle configuration for the AgentCore Runtime.
idleRuntimeSessionTimeout (integer) --
Timeout in seconds for idle runtime sessions. When a session remains idle for this duration, it will be automatically terminated. Default: 900 seconds (15 minutes).
maxLifetime (integer) --
Maximum lifetime for the instance in seconds. Once reached, instances will be automatically terminated and replaced. Default: 28800 seconds (8 hours).
dict
The updated lifecycle hooks configuration for the AgentCore Runtime.
build (dict) --
The hooks that run when you create or update the AgentCore Runtime, before any sessions are created.
warmup (dict) --
The hook that warms up your agent before any sessions are created. Use this hook to load the resources that your sessions need, such as models, libraries, or caches. Your hook must complete within 120 seconds.
action (dict) -- [REQUIRED]
The action that AgentCore Runtime runs for the hook. Specify exactly one action.
httpPost (dict) --
Sends an HTTP POST request to your agent's container on the specified port and path to run the hook. The hook succeeds if your container returns a 2xx response. The hook fails if your container returns any other response or doesn't respond before the hook times out.
path (string) -- [REQUIRED]
The path in the agent's container that AgentCore Runtime sends the POST request to.
port (integer) --
The port in the agent's container that AgentCore Runtime sends the POST request to. If you don't specify a port, the default is the runtime's server port: the port in the protocol configuration if one is set, otherwise the protocol's default port.
dict
The updated configuration for microVM Metadata Service (MMDS) settings for the AgentCore Runtime.
requireMMDSV2 (boolean) -- [REQUIRED]
Enables MMDSv2 (microVM Metadata Service Version 2) requirement for the agent runtime. When set to true, the runtime microVM will only accept MMDSv2 requests.
dict
Updated environment variables to set in the AgentCore Runtime environment.
(string) --
(string) --
list
The updated filesystem configurations to mount into the AgentCore Runtime.
(dict) --
Configuration for a filesystem that can be mounted into the AgentCore Runtime.
sessionStorage (dict) --
Configuration for session storage. Session storage provides persistent storage that is preserved across AgentCore Runtime session invocations.
mountPath (string) -- [REQUIRED]
The mount path for the session storage filesystem inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
s3FilesAccessPoint (dict) --
Configuration for an Amazon S3 Files access point to mount into the AgentCore Runtime.
accessPointArn (string) -- [REQUIRED]
The ARN of the S3 Files access point to mount into the AgentCore Runtime.
mountPath (string) -- [REQUIRED]
The mount path for the S3 Files access point inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
efsAccessPoint (dict) --
Configuration for an Amazon EFS access point to mount into the AgentCore Runtime.
accessPointArn (string) -- [REQUIRED]
The ARN of the EFS access point to mount into the AgentCore Runtime.
mountPath (string) -- [REQUIRED]
The mount path for the EFS access point inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
capacityProviderVolume (dict) --
Configuration for a capacity provider volume to mount into the AgentCore Runtime. This mounts a persistent volume that is defined on the capacity provider, referenced by its logical name.
volumeName (string) -- [REQUIRED]
The logical name of the capacity provider volume to mount. This name must match a volume that is defined in the capacity provider's list of volumes.
mountPath (string) -- [REQUIRED]
The mount path for the capacity provider volume inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
s3BucketMount (dict) --
Mounts an Amazon S3 bucket as a file system in the AgentCore Runtime.
bucket (string) -- [REQUIRED]
The name of the S3 bucket to mount. You can specify a general purpose bucket or a directory bucket.
mountPath (string) -- [REQUIRED]
The mount path for the S3 bucket inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
prefix (string) --
The key prefix to mount. Only objects under this prefix are visible at the mount path. To give each session its own prefix, include {runtimeSessionId} (for example, data/{runtimeSessionId}/). If you omit the prefix, the whole bucket is mounted.
s3BucketOwner (string) --
The Amazon Web Services account ID that must own the bucket. If you omit it, the bucket must be owned by the account that owns the AgentCore Runtime.
s3BucketRegion (string) --
The Amazon Web Services Region of the S3 bucket. If you omit it, the bucket must be in the same Region as the AgentCore Runtime.
dict
The updated capacity provider configuration for the AgentCore Runtime.
capacityProviderArn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the capacity provider to use for the AgentCore Runtime.
operatingSystemConfiguration (dict) --
The operating system configuration of the agents that Amazon Bedrock AgentCore Runtime runs on the capacity provider.
linux (dict) --
The operating system configuration of agents that run on Linux instances.
privilegeMode (string) --
The privilege mode of the agents. If you omit this field, the agents run in STANDARD privilege mode. The following values are possible:
STANDARD – The agent runs without elevated privileges. This is the default.
PRIVILEGED – The agent runs with elevated privileges on its instance. Use this mode for agents that build container images, run containers, or install system packages. A session that runs a PRIVILEGED agent runs only that agent.
string
The updated version of the runtime platform to use for the AgentCore Runtime.
list
The updated additional ports on the AgentCore Runtime that are reachable through the runtime's session URL. Specify one to five non-overlapping entries, each containing either a single port or an inclusive port range. Ports must be between 8000 and 12000, excluding the reserved port 8443.
(dict) --
A port or port range that is reachable through the runtime's session URL. Specify exactly one of port or portRange.
port (integer) --
A single port that is reachable through the runtime's session URL.
portRange (dict) --
An inclusive range of ports that are reachable through the runtime's session URL.
from (integer) -- [REQUIRED]
The first port in the inclusive range.
to (integer) -- [REQUIRED]
The last port in the inclusive range.
list
The updated resource configurations for the AgentCore Runtime. You can specify at most one resource configuration.
(dict) --
The resource configuration for an AgentCore Runtime.
minimumMemoryInMiB (integer) -- [REQUIRED]
The minimum amount of memory, in mebibytes, to allocate to the AgentCore Runtime.
string
A unique, case-sensitive identifier to ensure idempotency of the request.
This field is autopopulated if not provided.
list
The CPU configurations for the AgentCore Runtime. Immutable after creation. Supported only with Runtime platform version V2.
(dict) --
The CPU configuration for an AgentCore Runtime.
architecture (string) -- [REQUIRED]
The CPU architecture for the AgentCore Runtime.
dict
Response Syntax
{
'agentRuntimeArn': 'string',
'agentRuntimeId': 'string',
'workloadIdentityDetails': {
'workloadIdentityArn': 'string'
},
'agentRuntimeVersion': 'string',
'createdAt': datetime(2015, 1, 1),
'lastUpdatedAt': datetime(2015, 1, 1),
'status': 'CREATING'|'CREATE_FAILED'|'UPDATING'|'UPDATE_FAILED'|'READY'|'DELETING'|'DELETE_FAILED'
}
Response Structure
(dict) --
agentRuntimeArn (string) --
The Amazon Resource Name (ARN) of the updated AgentCore Runtime.
agentRuntimeId (string) --
The unique identifier of the updated AgentCore Runtime.
workloadIdentityDetails (dict) --
The workload identity details for the updated AgentCore Runtime.
workloadIdentityArn (string) --
The ARN associated with the workload identity.
agentRuntimeVersion (string) --
The version of the updated AgentCore Runtime.
createdAt (datetime) --
The timestamp when the AgentCore Runtime was created.
lastUpdatedAt (datetime) --
The timestamp when the AgentCore Runtime was last updated.
status (string) --
The current status of the updated AgentCore Runtime.
{'credentialProviderConfigurations': {'amazonPay': {'credentialProviderArn': 'string'},
'payPal': {'credentialProviderArn': 'string'},
'stripe': {'credentialProviderArn': 'string'}},
'type': {'Stripe', 'AmazonPay', 'PayPal'}}
Updates an existing payment connector. This operation uses PATCH semantics, so you only need to specify the fields you want to change.
See also: AWS API Documentation
Request Syntax
client.update_payment_connector(
paymentManagerId='string',
paymentConnectorId='string',
description='string',
type='CoinbaseCDP'|'StripePrivy'|'Stripe'|'PayPal'|'AmazonPay'|'AwsBilling',
credentialProviderConfigurations=[
{
'coinbaseCDP': {
'credentialProviderArn': 'string'
},
'stripePrivy': {
'credentialProviderArn': 'string'
},
'stripe': {
'credentialProviderArn': 'string'
},
'payPal': {
'credentialProviderArn': 'string'
},
'amazonPay': {
'credentialProviderArn': 'string'
},
'awsBilling': {
'iamRoleArn': 'string'
}
},
],
clientToken='string'
)
string
[REQUIRED]
The unique identifier of the parent payment manager.
string
[REQUIRED]
The unique identifier of the payment connector to update.
string
The updated description of the payment connector.
string
The updated type of the payment connector.
list
The updated credential provider configurations for the payment connector.
(dict) --
The configuration for a payment connector. Specifies the payment provider type and either its associated credential provider or, for an Amazon Web Services Billing payment connector, its billing configuration.
coinbaseCDP (dict) --
The credential provider configuration for a Coinbase CDP payment connector.
credentialProviderArn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
stripePrivy (dict) --
The credential provider configuration for a Stripe Privy payment connector.
credentialProviderArn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
stripe (dict) --
Configuration for a payment credential provider that stores authentication credentials for a payment provider.
credentialProviderArn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
payPal (dict) --
Configuration for a payment credential provider that stores authentication credentials for a payment provider.
credentialProviderArn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
amazonPay (dict) --
Configuration for a payment credential provider that stores authentication credentials for a payment provider.
credentialProviderArn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
awsBilling (dict) --
The configuration for an Amazon Web Services Billing payment connector. The service sets this configuration when it creates the connector and returns it in responses. Don't specify it when you create an Amazon Web Services Billing payment connector.
iamRoleArn (string) -- [REQUIRED]
The Amazon Resource Name (ARN) of the Amazon Web Services Marketplace service-linked role in the account that owns the payment manager. The service sets this value when it creates the connector.
string
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.
This field is autopopulated if not provided.
dict
Response Syntax
{
'paymentConnectorId': 'string',
'paymentManagerId': 'string',
'name': 'string',
'type': 'CoinbaseCDP'|'StripePrivy'|'Stripe'|'PayPal'|'AmazonPay'|'AwsBilling',
'credentialProviderConfigurations': [
{
'coinbaseCDP': {
'credentialProviderArn': 'string'
},
'stripePrivy': {
'credentialProviderArn': 'string'
},
'stripe': {
'credentialProviderArn': 'string'
},
'payPal': {
'credentialProviderArn': 'string'
},
'amazonPay': {
'credentialProviderArn': 'string'
},
'awsBilling': {
'iamRoleArn': 'string'
}
},
],
'lastUpdatedAt': datetime(2015, 1, 1),
'status': 'CREATING'|'UPDATING'|'DELETING'|'READY'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETE_FAILED'|'AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED'|'PENDING_AUTHENTICATION'|'PROVISIONING'|'AUTHENTICATION_EXPIRED'|'AUTHENTICATION_FAILED',
'authorizationUrl': 'string'
}
Response Structure
(dict) --
paymentConnectorId (string) --
The unique identifier of the updated payment connector.
paymentManagerId (string) --
The unique identifier of the parent payment manager.
name (string) --
The name of the updated payment connector.
type (string) --
The type of the updated payment connector.
credentialProviderConfigurations (list) --
The credential provider configurations for the updated payment connector.
(dict) --
The configuration for a payment connector. Specifies the payment provider type and either its associated credential provider or, for an Amazon Web Services Billing payment connector, its billing configuration.
coinbaseCDP (dict) --
The credential provider configuration for a Coinbase CDP payment connector.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
stripePrivy (dict) --
The credential provider configuration for a Stripe Privy payment connector.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
stripe (dict) --
Configuration for a payment credential provider that stores authentication credentials for a payment provider.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
payPal (dict) --
Configuration for a payment credential provider that stores authentication credentials for a payment provider.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
amazonPay (dict) --
Configuration for a payment credential provider that stores authentication credentials for a payment provider.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider.
awsBilling (dict) --
The configuration for an Amazon Web Services Billing payment connector. The service sets this configuration when it creates the connector and returns it in responses. Don't specify it when you create an Amazon Web Services Billing payment connector.
iamRoleArn (string) --
The Amazon Resource Name (ARN) of the Amazon Web Services Marketplace service-linked role in the account that owns the payment manager. The service sets this value when it creates the connector.
lastUpdatedAt (datetime) --
The timestamp when the payment connector was last updated.
status (string) --
The current status of the updated payment connector. Possible values include CREATING, READY, UPDATING, DELETING, CREATE_FAILED, UPDATE_FAILED, and DELETE_FAILED.
authorizationUrl (string) --
The URL that the user must open to complete OAuth consent. This field is only present when the payment connector status is PENDING_AUTHENTICATION.
{'credentialProviderVendor': {'Stripe', 'AmazonPay', 'PayPal'},
'providerConfigurationInput': {'amazonPayConfiguration': {'amazonPayRegion': 'NA '
'| '
'EU',
'authorizationToken': 'string',
'authorizationTokenConfig': {'jsonKey': 'string',
'secretId': 'string'},
'authorizationTokenSource': 'MANAGED '
'| '
'EXTERNAL',
'environment': 'LIVE '
'| '
'SANDBOX',
'merchantId': 'string',
'storeId': 'string'},
'payPalConfiguration': {'clientId': 'string',
'clientSecret': 'string',
'clientSecretConfig': {'jsonKey': 'string',
'secretId': 'string'},
'clientSecretSource': 'MANAGED '
'| '
'EXTERNAL',
'environment': 'LIVE | '
'SANDBOX'},
'stripeConfiguration': {'publishableKey': 'string',
'restrictedKey': 'string',
'restrictedKeyConfig': {'jsonKey': 'string',
'secretId': 'string'},
'restrictedKeySource': 'MANAGED '
'| '
'EXTERNAL'}}}
Response {'credentialProviderVendor': {'Stripe', 'AmazonPay', 'PayPal'},
'providerConfigurationOutput': {'amazonPayConfiguration': {'amazonPayRegion': 'NA '
'| '
'EU',
'authorizationTokenArn': {'secretArn': 'string'},
'authorizationTokenJsonKey': 'string',
'authorizationTokenSource': 'MANAGED '
'| '
'EXTERNAL',
'environment': 'LIVE '
'| '
'SANDBOX',
'merchantId': 'string',
'storeId': 'string'},
'payPalConfiguration': {'clientId': 'string',
'clientSecretArn': {'secretArn': 'string'},
'clientSecretJsonKey': 'string',
'clientSecretSource': 'MANAGED '
'| '
'EXTERNAL',
'environment': 'LIVE '
'| '
'SANDBOX'},
'stripeConfiguration': {'connectedAccountId': 'string',
'publishableKey': 'string',
'restrictedKeyArn': {'secretArn': 'string'},
'restrictedKeyJsonKey': 'string',
'restrictedKeySource': 'MANAGED '
'| '
'EXTERNAL'}}}
Updates an existing payment credential provider with new authentication credentials.
See also: AWS API Documentation
Request Syntax
client.update_payment_credential_provider(
name='string',
credentialProviderVendor='CoinbaseCDP'|'StripePrivy'|'Stripe'|'PayPal'|'AmazonPay',
providerConfigurationInput={
'coinbaseCdpConfiguration': {
'apiKeyId': 'string',
'apiKeySecret': 'string',
'apiKeySecretSource': 'MANAGED'|'EXTERNAL',
'apiKeySecretConfig': {
'secretId': 'string',
'jsonKey': 'string'
},
'walletSecret': 'string',
'walletSecretSource': 'MANAGED'|'EXTERNAL',
'walletSecretConfig': {
'secretId': 'string',
'jsonKey': 'string'
}
},
'stripePrivyConfiguration': {
'appId': 'string',
'appSecret': 'string',
'appSecretSource': 'MANAGED'|'EXTERNAL',
'appSecretConfig': {
'secretId': 'string',
'jsonKey': 'string'
},
'authorizationPrivateKey': 'string',
'authorizationPrivateKeySource': 'MANAGED'|'EXTERNAL',
'authorizationPrivateKeyConfig': {
'secretId': 'string',
'jsonKey': 'string'
},
'authorizationId': 'string'
},
'stripeConfiguration': {
'restrictedKey': 'string',
'restrictedKeySource': 'MANAGED'|'EXTERNAL',
'restrictedKeyConfig': {
'secretId': 'string',
'jsonKey': 'string'
},
'publishableKey': 'string'
},
'payPalConfiguration': {
'clientId': 'string',
'clientSecret': 'string',
'clientSecretSource': 'MANAGED'|'EXTERNAL',
'clientSecretConfig': {
'secretId': 'string',
'jsonKey': 'string'
},
'environment': 'LIVE'|'SANDBOX'
},
'amazonPayConfiguration': {
'merchantId': 'string',
'storeId': 'string',
'authorizationToken': 'string',
'authorizationTokenSource': 'MANAGED'|'EXTERNAL',
'authorizationTokenConfig': {
'secretId': 'string',
'jsonKey': 'string'
},
'environment': 'LIVE'|'SANDBOX',
'amazonPayRegion': 'NA'|'EU'
}
}
)
string
[REQUIRED]
The name of the payment credential provider to update.
string
[REQUIRED]
The vendor type for the payment credential provider (e.g., CoinbaseCDP, StripePrivy).
dict
[REQUIRED]
Configuration specific to the vendor, including API credentials.
coinbaseCdpConfiguration (dict) --
The Coinbase CDP configuration.
apiKeyId (string) -- [REQUIRED]
The API key identifier provided by Coinbase Developer Platform.
apiKeySecret (string) --
The API key secret provided by Coinbase Developer Platform.
apiKeySecretSource (string) --
The source type of the API key secret for the Coinbase Developer Platform. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.
apiKeySecretConfig (dict) --
A reference to the Amazon Web Services Secrets Manager secret that stores the API key secret. This includes the secret ID and the JSON key used to extract the API key secret value from the secret. Required when apiKeySecretSource is set to EXTERNAL.
secretId (string) -- [REQUIRED]
The ID of the Amazon Web Services Secrets Manager secret that stores the secret value.
jsonKey (string) -- [REQUIRED]
The JSON key used to extract the secret value from the Amazon Web Services Secrets Manager secret.
walletSecret (string) --
The wallet secret provided by Coinbase Developer Platform.
walletSecretSource (string) --
The source type of the wallet secret for the Coinbase Developer Platform. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.
walletSecretConfig (dict) --
A reference to the Amazon Web Services Secrets Manager secret that stores the wallet secret. This includes the secret ID and the JSON key used to extract the wallet secret value from the secret. Required when walletSecretSource is set to EXTERNAL.
secretId (string) -- [REQUIRED]
The ID of the Amazon Web Services Secrets Manager secret that stores the secret value.
jsonKey (string) -- [REQUIRED]
The JSON key used to extract the secret value from the Amazon Web Services Secrets Manager secret.
stripePrivyConfiguration (dict) --
The Stripe Privy configuration.
appId (string) -- [REQUIRED]
The app ID provided by Privy.
appSecret (string) --
The app secret provided by Privy.
appSecretSource (string) --
The source type of the app secret. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.
appSecretConfig (dict) --
A reference to the Amazon Web Services Secrets Manager secret that stores the app secret. This includes the secret ID and the JSON key used to extract the app secret value from the secret. Required when appSecretSource is set to EXTERNAL.
secretId (string) -- [REQUIRED]
The ID of the Amazon Web Services Secrets Manager secret that stores the secret value.
jsonKey (string) -- [REQUIRED]
The JSON key used to extract the secret value from the Amazon Web Services Secrets Manager secret.
authorizationPrivateKey (string) --
The authorization private key for the Stripe Privy integration.
authorizationPrivateKeySource (string) --
The source type of the authorization private key. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.
authorizationPrivateKeyConfig (dict) --
A reference to the Amazon Web Services Secrets Manager secret that stores the authorization private key. This includes the secret ID and the JSON key used to extract the authorization private key value from the secret. Required when authorizationPrivateKeySource is set to EXTERNAL.
secretId (string) -- [REQUIRED]
The ID of the Amazon Web Services Secrets Manager secret that stores the secret value.
jsonKey (string) -- [REQUIRED]
The JSON key used to extract the secret value from the Amazon Web Services Secrets Manager secret.
authorizationId (string) -- [REQUIRED]
The authorization ID for the Stripe Privy integration.
stripeConfiguration (dict) --
Configuration for a Stripe payment credential provider.
restrictedKey (string) --
The restricted key value, supplied inline. Use this when AgentCore should own the secret (MANAGED): the service stores the value in a service-linked Secrets Manager secret. Mutually exclusive with restrictedKeyConfig.
restrictedKeySource (string) --
Who owns the Secrets Manager secret: MANAGED for AgentCore, EXTERNAL for the merchant. Optional — supply restrictedKey inline and MANAGED is implied, matching CoinbaseCDP and StripePrivy.
restrictedKeyConfig (dict) --
Secrets Manager reference to a restricted key the merchant owns (EXTERNAL). Preferred over restrictedKey: the value never travels through this API, so it stays out of the CloudTrail request body and out of shell history. Mutually exclusive with restrictedKey.
secretId (string) -- [REQUIRED]
The ID of the Amazon Web Services Secrets Manager secret that stores the secret value.
jsonKey (string) -- [REQUIRED]
The JSON key used to extract the secret value from the Amazon Web Services Secrets Manager secret.
publishableKey (string) --
Stripe publishable key (pk_live_* or pk_test_*). Optional. Public by Stripe's design, so it is stored as a plain attribute on the provider record, never in Secrets Manager. Its mode must match the restricted key's (pk_test_ with rk_test_, pk_live_ with rk_live_).
payPalConfiguration (dict) --
Configuration for a PayPal payment credential provider.
clientId (string) -- [REQUIRED]
PayPal REST app client ID.
clientSecret (string) --
Inline client secret. AgentCore stores it for you (clientSecretSource MANAGED). Mutually exclusive with clientSecretConfig.
clientSecretSource (string) --
Where the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
clientSecretConfig (dict) --
Reference to your Secrets Manager secret that holds the client secret (EXTERNAL). Mutually exclusive with clientSecret.
secretId (string) -- [REQUIRED]
The ID of the Amazon Web Services Secrets Manager secret that stores the secret value.
jsonKey (string) -- [REQUIRED]
The JSON key used to extract the secret value from the Amazon Web Services Secrets Manager secret.
environment (string) -- [REQUIRED]
PayPal environment: LIVE or SANDBOX.
amazonPayConfiguration (dict) --
Configuration for an Amazon Pay payment credential provider.
merchantId (string) -- [REQUIRED]
Amazon Pay merchant ID (Seller ID) of the merchant account.
storeId (string) -- [REQUIRED]
Amazon Pay client store ID of the merchant's store.
authorizationToken (string) --
Inline MWSAuthToken or delegated authorization token (MANAGED). Mutually exclusive with authorizationTokenConfig. AgentCore stores it as given and exchanges an MWSAuthToken at vend.
authorizationTokenSource (string) --
Where the authorization token is stored: MANAGED by AgentCore or EXTERNAL in your Secrets Manager secret.
authorizationTokenConfig (dict) --
Reference to your Secrets Manager secret that holds the authorization token (EXTERNAL). Mutually exclusive with authorizationToken.
secretId (string) -- [REQUIRED]
The ID of the Amazon Web Services Secrets Manager secret that stores the secret value.
jsonKey (string) -- [REQUIRED]
The JSON key used to extract the secret value from the Amazon Web Services Secrets Manager secret.
environment (string) -- [REQUIRED]
Amazon Pay environment: LIVE or SANDBOX.
amazonPayRegion (string) -- [REQUIRED]
The Amazon Pay region the merchant's authorization token belongs to (NA or EU). AgentCore uses it to pick the Amazon Pay API host and the x-amz-pay-region value.
dict
Response Syntax
{
'name': 'string',
'credentialProviderVendor': 'CoinbaseCDP'|'StripePrivy'|'Stripe'|'PayPal'|'AmazonPay',
'credentialProviderArn': 'string',
'providerConfigurationOutput': {
'coinbaseCdpConfiguration': {
'apiKeyId': 'string',
'apiKeySecretArn': {
'secretArn': 'string'
},
'apiKeySecretJsonKey': 'string',
'apiKeySecretSource': 'MANAGED'|'EXTERNAL',
'walletSecretArn': {
'secretArn': 'string'
},
'walletSecretJsonKey': 'string',
'walletSecretSource': 'MANAGED'|'EXTERNAL'
},
'stripePrivyConfiguration': {
'appId': 'string',
'appSecretArn': {
'secretArn': 'string'
},
'appSecretJsonKey': 'string',
'appSecretSource': 'MANAGED'|'EXTERNAL',
'authorizationPrivateKeyArn': {
'secretArn': 'string'
},
'authorizationPrivateKeyJsonKey': 'string',
'authorizationPrivateKeySource': 'MANAGED'|'EXTERNAL',
'authorizationId': 'string'
},
'stripeConfiguration': {
'restrictedKeyArn': {
'secretArn': 'string'
},
'restrictedKeyJsonKey': 'string',
'restrictedKeySource': 'MANAGED'|'EXTERNAL',
'connectedAccountId': 'string',
'publishableKey': 'string'
},
'payPalConfiguration': {
'clientId': 'string',
'clientSecretArn': {
'secretArn': 'string'
},
'clientSecretJsonKey': 'string',
'clientSecretSource': 'MANAGED'|'EXTERNAL',
'environment': 'LIVE'|'SANDBOX'
},
'amazonPayConfiguration': {
'merchantId': 'string',
'storeId': 'string',
'authorizationTokenArn': {
'secretArn': 'string'
},
'authorizationTokenJsonKey': 'string',
'authorizationTokenSource': 'MANAGED'|'EXTERNAL',
'environment': 'LIVE'|'SANDBOX',
'amazonPayRegion': 'NA'|'EU'
}
},
'createdTime': datetime(2015, 1, 1),
'lastUpdatedTime': datetime(2015, 1, 1)
}
Response Structure
(dict) --
name (string) --
The name of the updated payment credential provider.
credentialProviderVendor (string) --
The vendor type for the updated payment credential provider.
credentialProviderArn (string) --
The Amazon Resource Name (ARN) of the updated payment credential provider.
providerConfigurationOutput (dict) --
Output configuration (contains secret ARNs, excludes actual secret values).
coinbaseCdpConfiguration (dict) --
The Coinbase CDP configuration.
apiKeyId (string) --
The API key identifier provided by Coinbase Developer Platform.
apiKeySecretArn (dict) --
Contains information about a secret in Amazon Web Services Secrets Manager.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
apiKeySecretJsonKey (string) --
The JSON key used to extract the API key secret value from the Amazon Web Services Secrets Manager secret.
apiKeySecretSource (string) --
The source type of the API key secret. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager.
walletSecretArn (dict) --
Contains information about a secret in Amazon Web Services Secrets Manager.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
walletSecretJsonKey (string) --
The JSON key used to extract the wallet secret value from the Amazon Web Services Secrets Manager secret.
walletSecretSource (string) --
The source type of the wallet secret. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager.
stripePrivyConfiguration (dict) --
The Stripe Privy configuration.
appId (string) --
The app ID provided by Privy.
appSecretArn (dict) --
Contains information about a secret in Amazon Web Services Secrets Manager.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
appSecretJsonKey (string) --
The JSON key used to extract the app secret value from the Amazon Web Services Secrets Manager secret.
appSecretSource (string) --
The source type of the app secret. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager.
authorizationPrivateKeyArn (dict) --
Contains information about a secret in Amazon Web Services Secrets Manager.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
authorizationPrivateKeyJsonKey (string) --
The JSON key used to extract the authorization private key value from the Amazon Web Services Secrets Manager secret.
authorizationPrivateKeySource (string) --
The source type of the authorization private key. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager.
authorizationId (string) --
The authorization ID for the Stripe Privy integration.
stripeConfiguration (dict) --
Configuration of a Stripe payment credential provider.
restrictedKeyArn (dict) --
Secrets Manager ARN of the restricted key. Always present: a MANUAL provider either points at the merchant's own secret (EXTERNAL) or at the service-linked secret AgentCore wrote (MANAGED).
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
restrictedKeyJsonKey (string) --
The key within the Secrets Manager secret's JSON payload that holds the restricted key. Present only when the secret stores the value under a named key rather than as the whole payload.
restrictedKeySource (string) --
Where the restricted key is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
connectedAccountId (string) --
The Stripe account the restricted key belongs to.
Reserved, and not populated yet: resolving it needs a Stripe GET /v1/account call the service does not make. Treat it as server-written and immutable — no request member sets it, and an update carries the stored value forward untouched. The check that a rotated key still belongs to the same Stripe account is NOT implemented, so do not rely on this field as a control.
publishableKey (string) --
Stripe publishable key stored on the provider record. Present only when the merchant supplied one at create/update. Public by design, so it is echoed in plaintext, not as a secret ARN.
payPalConfiguration (dict) --
Configuration of a PayPal payment credential provider.
clientId (string) --
PayPal REST app client ID.
clientSecretArn (dict) --
ARN of the secret that holds the client secret.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
clientSecretJsonKey (string) --
The key within the Secrets Manager secret's JSON payload that holds the client secret. Present only when the secret stores the value under a named key rather than as the whole payload.
clientSecretSource (string) --
Where the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
environment (string) --
PayPal environment: LIVE or SANDBOX.
amazonPayConfiguration (dict) --
Configuration of an Amazon Pay payment credential provider.
merchantId (string) --
Amazon Pay merchant ID (Seller ID) of the merchant account.
storeId (string) --
Amazon Pay client store ID of the merchant's store.
authorizationTokenArn (dict) --
ARN of the secret that holds the authorization token.
secretArn (string) --
The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
authorizationTokenJsonKey (string) --
JSON key of the authorization token inside the secret value, for an EXTERNAL secret.
authorizationTokenSource (string) --
Where the authorization token is stored: MANAGED by AgentCore or EXTERNAL in your Secrets Manager secret.
environment (string) --
Amazon Pay environment: LIVE or SANDBOX.
amazonPayRegion (string) --
The Amazon Pay region the merchant's authorization token belongs to (NA or EU).
createdTime (datetime) --
The timestamp when the payment credential provider was created.
lastUpdatedTime (datetime) --
The timestamp when the payment credential provider was last updated.