RequestHeaderConfigurationProperty Struct
Configuration for HTTP request headers.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const requestHeaderConfigurationProperty: bedrockagentcore.CfnRuntime.RequestHeaderConfigurationProperty = {
requestHeaderAllowlist: ['requestHeaderAllowlist'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
request_header_configuration_property = bedrockagentcore.CfnRuntime.RequestHeaderConfigurationProperty(
request_header_allowlist=["requestHeaderAllowlist"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
RequestHeaderConfigurationProperty requestHeaderConfigurationProperty = RequestHeaderConfigurationProperty.builder()
.requestHeaderAllowlist(List.of("requestHeaderAllowlist"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;
var requestHeaderConfigurationProperty = new RequestHeaderConfigurationProperty {
RequestHeaderAllowlist = new [] { "requestHeaderAllowlist" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
requestHeaderConfigurationProperty := &RequestHeaderConfigurationProperty{
RequestHeaderAllowlist: []*string{
jsii.String("requestHeaderAllowlist"),
},
}
Properties
requestHeaderAllowlistoptionalstring[]request_header_allowlistoptionaltyping.List[str]requestHeaderAllowlistoptionalList<String>RequestHeaderAllowlistoptionalstring[]RequestHeaderAllowlistoptional*[]*string #List of allowed HTTP headers for agent runtime requests.