Skip to content
v2.278.0

ExtractedParameterProperty Struct ​

Parameter extraction configuration.

Example ​

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 extractedParameterProperty: glue.CfnConnectionType.ExtractedParameterProperty = {
  defaultValue: 'defaultValue',
  key: 'key',
  propertyLocation: 'propertyLocation',
  value: {
    contentPath: 'contentPath',
    headerKey: 'headerKey',
  },
};
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

extracted_parameter_property = glue.CfnConnectionType.ExtractedParameterProperty(
    default_value="defaultValue",
    key="key",
    property_location="propertyLocation",
    value=glue.CfnConnectionType.ResponseExtractionMappingProperty(
        content_path="contentPath",
        header_key="headerKey"
    )
)
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.*;

ExtractedParameterProperty extractedParameterProperty = ExtractedParameterProperty.builder()
        .defaultValue("defaultValue")
        .key("key")
        .propertyLocation("propertyLocation")
        .value(ResponseExtractionMappingProperty.builder()
                .contentPath("contentPath")
                .headerKey("headerKey")
                .build())
        .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.Glue;

var extractedParameterProperty = new ExtractedParameterProperty {
    DefaultValue = "defaultValue",
    Key = "key",
    PropertyLocation = "propertyLocation",
    Value = new ResponseExtractionMappingProperty {
        ContentPath = "contentPath",
        HeaderKey = "headerKey"
    }
};
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"

extractedParameterProperty := &ExtractedParameterProperty{
	DefaultValue: jsii.String("defaultValue"),
	Key: jsii.String("key"),
	PropertyLocation: jsii.String("propertyLocation"),
	Value: &ResponseExtractionMappingProperty{
		ContentPath: jsii.String("contentPath"),
		HeaderKey: jsii.String("headerKey"),
	},
}

Properties ​

defaultValueoptionalstringdefault_valueoptionalstrdefaultValueoptionalStringDefaultValueoptionalstringDefaultValueoptional*string #
The default value.
keyoptionalstringkeyoptionalstrkeyoptionalStringKeyoptionalstringKeyoptional*string #
The parameter key name.
propertyLocationoptionalstringproperty_locationoptionalstrpropertyLocationoptionalStringPropertyLocationoptionalstringPropertyLocationoptional*string #
Specifies where to place the parameter in requests.
valueoptionalIResolvable | CfnConnectionType.ResponseExtractionMappingPropertyvalueoptionaltyping.Union[IResolvable, ResponseExtractionMappingProperty]valueoptionalIResolvableValueoptionalIResolvableValueoptionalinterface{} #
Defines how to extract values from HTTP responses.