Skip to content
v2.278.0

ResponseConfigurationProperty Struct ​

Configuration for parsing JSON responses from REST API calls.

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 responseConfigurationProperty: glue.CfnConnectionType.ResponseConfigurationProperty = {
  resultPath: 'resultPath',

  // the properties below are optional
  errorPath: 'errorPath',
};
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_configuration_property = glue.CfnConnectionType.ResponseConfigurationProperty(
    result_path="resultPath",

    # the properties below are optional
    error_path="errorPath"
)
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.*;

ResponseConfigurationProperty responseConfigurationProperty = ResponseConfigurationProperty.builder()
        .resultPath("resultPath")

        // the properties below are optional
        .errorPath("errorPath")
        .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 responseConfigurationProperty = new ResponseConfigurationProperty {
    ResultPath = "resultPath",

    // the properties below are optional
    ErrorPath = "errorPath"
};
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"

responseConfigurationProperty := &ResponseConfigurationProperty{
	ResultPath: jsii.String("resultPath"),

	// the properties below are optional
	ErrorPath: jsii.String("errorPath"),
}

Properties ​

errorPathoptionalstringerror_pathoptionalstrerrorPathoptionalStringErrorPathoptionalstringErrorPathoptional*string #
JSON path expression for error information location.
resultPathstringresult_pathstrresultPathStringResultPathstringResultPath*string required #
JSON path expression for result data location.