interface InterceptorOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.InterceptorOptions |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#InterceptorOptions |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.InterceptorOptions |
Python | aws_cdk.aws_bedrock_agentcore_alpha.InterceptorOptions |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป InterceptorOptions |
Options for configuring an interceptor.
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 interceptorOptions: bedrock_agentcore_alpha.InterceptorOptions = {
passRequestHeaders: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| pass | boolean | Whether to pass request headers to the interceptor Lambda function. |
passRequestHeaders?
Type:
boolean
(optional, default: false - Headers are not passed to interceptor for security)
Whether to pass request headers to the interceptor Lambda function.
Security Warning: Request headers can contain sensitive information such as authentication tokens and credentials. Only enable this if your interceptor needs access to headers and you have verified that sensitive information is not logged or exposed.

.NET
Go
Java
Python
TypeScript (