> **Experimental**
>
> `@aws-cdk/aws-bedrock-agentcore-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# RequestHeaderConfiguration

Configuration for HTTP request headers that will be passed through to the runtime.

- Source: [`lib/runtime/types.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-bedrock-agentcore-alpha/lib/runtime/types.ts#L40)

## Example

TypeScript:

```ts
// 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'],
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha

request_header_configuration = bedrock_agentcore_alpha.RequestHeaderConfiguration(
    allowlisted_headers=["allowlistedHeaders"]
)
```

Java:

```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.bedrock.agentcore.alpha.*;

RequestHeaderConfiguration requestHeaderConfiguration = RequestHeaderConfiguration.builder()
        .allowlistedHeaders(List.of("allowlistedHeaders"))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.Bedrock.Agentcore.Alpha
// 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 requestHeaderConfiguration = new RequestHeaderConfiguration {
    AllowlistedHeaders = new [] { "allowlistedHeaders" }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import bedrock_agentcore_alpha "github.com/aws/aws-cdk-go/awsbedrockagentcorealpha"

requestHeaderConfiguration := &RequestHeaderConfiguration{
	AllowlistedHeaders: []*string{
		jsii.String("allowlistedHeaders"),
	},
}
```

## Properties

- `allowlistedHeaders`: string[] — A list of HTTP request headers that are allowed to be passed through to the runtime.

  **Default:** No request headers allowed
