Interface IInterceptorOptions
(deprecated) Options for configuring an interceptor.
Namespace: Amazon.CDK.AWS.Bedrock.Agentcore.Alpha
Assembly: Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.dll
Syntax (csharp)
[Obsolete("Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.")]
public interface IInterceptorOptions
Syntax (vb)
<Obsolete("Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.")>
Public Interface IInterceptorOptions
Remarks
Stability: Deprecated
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock.Agentcore.Alpha;
var interceptorOptions = new InterceptorOptions {
PassRequestHeaders = false
};
Synopsis
Properties
| PassRequestHeaders | (deprecated) Whether to pass request headers to the interceptor Lambda function. |
Properties
PassRequestHeaders
(deprecated) Whether to pass request headers to the interceptor Lambda function.
[Obsolete]
bool? PassRequestHeaders { get; }
Property Value
bool?
Remarks
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.
Default: false - Headers are not passed to interceptor for security
Stability: Deprecated