Interface RequestHeaderConfiguration
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
RequestHeaderConfiguration.Jsii$Proxy
@Generated(value="jsii-pacmak/1.130.0 (build 048a5ee)",
date="2026-05-19T19:44:37.190Z")
@Stability(Stable)
public interface RequestHeaderConfiguration
extends software.amazon.jsii.JsiiSerializable
Configuration for HTTP request headers that will be passed through to the runtime.
Example:
Repository repository = Repository.Builder.create(this, "TestRepository")
.repositoryName("test-agent-runtime")
.build();
AgentRuntimeArtifact agentRuntimeArtifact = AgentRuntimeArtifact.fromEcrRepository(repository, "v1.0.0");
Runtime.Builder.create(this, "test-runtime")
.runtimeName("test_runtime")
.agentRuntimeArtifact(agentRuntimeArtifact)
.requestHeaderConfiguration(RequestHeaderConfiguration.builder()
.allowlistedHeaders(List.of("X-Amzn-Bedrock-AgentCore-Runtime-Custom-H1"))
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forRequestHeaderConfigurationstatic final classAn implementation forRequestHeaderConfiguration -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A list of HTTP request headers that are allowed to be passed through to the runtime.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowlistedHeaders
A list of HTTP request headers that are allowed to be passed through to the runtime.Default: - No request headers allowed
-
builder
- Returns:
- a
RequestHeaderConfiguration.BuilderofRequestHeaderConfiguration
-