# MetadataConfigurationProperty

- Source: Generated at build time
- Type last changed: v2.234.0 · 8 Jan 2026

## Example

TypeScript:

```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 metadataConfigurationProperty: bedrockagentcore.CfnGatewayTarget.MetadataConfigurationProperty = {
  allowedQueryParameters: ['allowedQueryParameters'],
  allowedRequestHeaders: ['allowedRequestHeaders'],
  allowedResponseHeaders: ['allowedResponseHeaders'],
};
```

Python:

```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

metadata_configuration_property = bedrockagentcore.CfnGatewayTarget.MetadataConfigurationProperty(
    allowed_query_parameters=["allowedQueryParameters"],
    allowed_request_headers=["allowedRequestHeaders"],
    allowed_response_headers=["allowedResponseHeaders"]
)
```

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.bedrockagentcore.*;

MetadataConfigurationProperty metadataConfigurationProperty = MetadataConfigurationProperty.builder()
        .allowedQueryParameters(List.of("allowedQueryParameters"))
        .allowedRequestHeaders(List.of("allowedRequestHeaders"))
        .allowedResponseHeaders(List.of("allowedResponseHeaders"))
        .build();
```

C# / .NET:

```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 metadataConfigurationProperty = new MetadataConfigurationProperty {
    AllowedQueryParameters = new [] { "allowedQueryParameters" },
    AllowedRequestHeaders = new [] { "allowedRequestHeaders" },
    AllowedResponseHeaders = new [] { "allowedResponseHeaders" }
};
```

Golang:

```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"

metadataConfigurationProperty := &MetadataConfigurationProperty{
	AllowedQueryParameters: []*string{
		jsii.String("allowedQueryParameters"),
	},
	AllowedRequestHeaders: []*string{
		jsii.String("allowedRequestHeaders"),
	},
	AllowedResponseHeaders: []*string{
		jsii.String("allowedResponseHeaders"),
	},
}
```

## Properties

- `allowedQueryParameters`: string[]

- `allowedRequestHeaders`: string[]

- `allowedResponseHeaders`: string[]
