# PipeTargetHttpParametersProperty

These are custom parameter to be used when the target is an API Gateway REST APIs or EventBridge ApiDestinations.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pipes as pipes } from 'aws-cdk-lib';
const pipeTargetHttpParametersProperty: pipes.CfnPipe.PipeTargetHttpParametersProperty = {
  headerParameters: {
    headerParametersKey: 'headerParameters',
  },
  pathParameterValues: ['pathParameterValues'],
  queryStringParameters: {
    queryStringParametersKey: 'queryStringParameters',
  },
};
```

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_pipes as pipes

pipe_target_http_parameters_property = pipes.CfnPipe.PipeTargetHttpParametersProperty(
    header_parameters={
        "header_parameters_key": "headerParameters"
    },
    path_parameter_values=["pathParameterValues"],
    query_string_parameters={
        "query_string_parameters_key": "queryStringParameters"
    }
)
```

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

PipeTargetHttpParametersProperty pipeTargetHttpParametersProperty = PipeTargetHttpParametersProperty.builder()
        .headerParameters(Map.of(
                "headerParametersKey", "headerParameters"))
        .pathParameterValues(List.of("pathParameterValues"))
        .queryStringParameters(Map.of(
                "queryStringParametersKey", "queryStringParameters"))
        .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.Pipes;

var pipeTargetHttpParametersProperty = new PipeTargetHttpParametersProperty {
    HeaderParameters = new Dictionary<string, string> {
        { "headerParametersKey", "headerParameters" }
    },
    PathParameterValues = new [] { "pathParameterValues" },
    QueryStringParameters = new Dictionary<string, string> {
        { "queryStringParametersKey", "queryStringParameters" }
    }
};
```

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"

pipeTargetHttpParametersProperty := &PipeTargetHttpParametersProperty{
	HeaderParameters: map[string]*string{
		"headerParametersKey": jsii.String("headerParameters"),
	},
	PathParameterValues: []*string{
		jsii.String("pathParameterValues"),
	},
	QueryStringParameters: map[string]*string{
		"queryStringParametersKey": jsii.String("queryStringParameters"),
	},
}
```

## Properties

- `headerParameters`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — The headers that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.

- `pathParameterValues`: string[] — The path parameter values to be used to populate API Gateway REST API or EventBridge ApiDestination path wildcards ("*").

- `queryStringParameters`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — The query string keys/values that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.
