interface RequestHeaderConfiguration
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.RequestHeaderConfiguration |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#RequestHeaderConfiguration |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.RequestHeaderConfiguration |
Python | aws_cdk.aws_bedrock_agentcore_alpha.RequestHeaderConfiguration |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป RequestHeaderConfiguration |
Configuration for HTTP request headers that will be passed through to the runtime.
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';
const requestHeaderConfiguration: bedrock_agentcore_alpha.RequestHeaderConfiguration = {
allowlistedHeaders: ['allowlistedHeaders'],
};
Properties
| Name | Type | Description |
|---|---|---|
| allowlisted | string[] | A list of HTTP request headers that are allowed to be passed through to the runtime. |
allowlistedHeaders?
Type:
string[]
(optional, default: No request headers allowed)
A list of HTTP request headers that are allowed to be passed through to the runtime.

.NET
Go
Java
Python
TypeScript (