ApiGatewayEnrichmentProps Struct
Properties for a ApiGatewayEnrichment.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as pipes_alpha from '@aws-cdk/aws-pipes-alpha';
import * as pipes_enrichments_alpha from '@aws-cdk/aws-pipes-enrichments-alpha';
declare const inputTransformation: pipes_alpha.InputTransformation;
const apiGatewayEnrichmentProps: pipes_enrichments_alpha.ApiGatewayEnrichmentProps = {
headerParameters: {
headerParametersKey: 'headerParameters',
},
inputTransformation: inputTransformation,
method: 'method',
path: 'path',
pathParameterValues: ['pathParameterValues'],
queryStringParameters: {
queryStringParametersKey: 'queryStringParameters',
},
stage: 'stage',
};
Properties
headerParameters{ [key: string]: string }header_parameterstyping.Mapping[str, str]headerParametersMap<String, String>HeaderParametersIDictionary<string, string>HeaderParameters*map[string]*string= none#The headers that need to be sent as part of request invoking the API Gateway REST API.
inputTransformationInputTransformationinput_transformationInputTransformationinputTransformationInputTransformationInputTransformationInputTransformationInputTransformationInputTransformation= None#The input transformation for the enrichment.
The method for API Gateway resource.
The path for the API Gateway resource.
pathParameterValuesstring[]path_parameter_valuestyping.List[str]pathParameterValuesList<String>PathParameterValuesstring[]PathParameterValues*[]*string= none#The path parameter values used to populate the API Gateway REST API path wildcards ("*").
queryStringParameters{ [key: string]: string }query_string_parameterstyping.Mapping[str, str]queryStringParametersMap<String, String>QueryStringParametersIDictionary<string, string>QueryStringParameters*map[string]*string= none#The query string keys/values that need to be sent as part of request invoking the EventBridge API destination.
The deployment stage for the API Gateway resource.
default
Default: the value of deploymentStage.stageName of target API Gateway resource.