# ResponseExtractionMappingProperty

Defines how to extract values from HTTP responses.

- Source: Generated at build time
- Type last changed: v2.272.0 · 30 Sep 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_glue as glue } from 'aws-cdk-lib';
const responseExtractionMappingProperty: glue.CfnConnectionType.ResponseExtractionMappingProperty = {
  contentPath: 'contentPath',
  headerKey: 'headerKey',
};
```

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_glue as glue

response_extraction_mapping_property = glue.CfnConnectionType.ResponseExtractionMappingProperty(
    content_path="contentPath",
    header_key="headerKey"
)
```

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

ResponseExtractionMappingProperty responseExtractionMappingProperty = ResponseExtractionMappingProperty.builder()
        .contentPath("contentPath")
        .headerKey("headerKey")
        .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.Glue;

var responseExtractionMappingProperty = new ResponseExtractionMappingProperty {
    ContentPath = "contentPath",
    HeaderKey = "headerKey"
};
```

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"

responseExtractionMappingProperty := &ResponseExtractionMappingProperty{
	ContentPath: jsii.String("contentPath"),
	HeaderKey: jsii.String("headerKey"),
}
```

## Properties

- `contentPath`: string — A JSON path expression to extract a value from response body.

- `headerKey`: string — The name of an HTTP response header from which to extract the value.
