interface FromApiKeyIdentityOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.FromApiKeyIdentityOptions |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#FromApiKeyIdentityOptions |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.FromApiKeyIdentityOptions |
Python | aws_cdk.aws_bedrock_agentcore_alpha.FromApiKeyIdentityOptions |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป FromApiKeyIdentityOptions |
Optional gateway settings when binding an {@link IApiKeyCredentialProvider} to a target.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
declare const apiKeyCredentialLocation: bedrock_agentcore_alpha.ApiKeyCredentialLocation;
const fromApiKeyIdentityOptions: bedrock_agentcore_alpha.FromApiKeyIdentityOptions = {
credentialLocation: apiKeyCredentialLocation,
};
Properties
| Name | Type | Description |
|---|---|---|
| credential | Api | Where to place the API key on outbound requests. |
credentialLocation?
Type:
Api
(optional, default: header Authorization with Bearer prefix)
Where to place the API key on outbound requests.

.NET
Go
Java
Python
TypeScript (