Skip to content
v2.275.0

PipeEnrichmentParametersProperty Struct ​

The parameters required to set up enrichment on your pipe.

Example ​

ts
declare const sourceQueue: sqs.Queue;
declare const targetQueue: sqs.Queue;

const targetInputTransformation = pipes.InputTransformation.fromEventPath('$.body.payload')

const pipe = new pipes.Pipe(this, 'Pipe', {
  source: new SqsSource(sourceQueue),
  target: new SqsTarget(targetQueue, {
    inputTransformation: targetInputTransformation,
  }),
});

Properties ​

httpParametersoptionalIResolvable | CfnPipe.PipeEnrichmentHttpParametersPropertyhttp_parametersoptionaltyping.Union[IResolvable, PipeEnrichmentHttpParametersProperty]httpParametersoptionalIResolvableHttpParametersoptionalIResolvableHttpParametersoptionalinterface{}#
Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination.
notes

If you specify an API Gateway REST API or EventBridge ApiDestination as a target, you can use this parameter to specify headers, path parameters, and query string keys/values as part of your target invoking request. If you're using ApiDestinations, the corresponding Connection can also have these values configured. In case of any conflicting keys, values from the Connection take precedence.

inputTemplateoptionalstringinput_templateoptionalstrinputTemplateoptionalStringInputTemplateoptionalstringInputTemplateoptional*string#
Valid JSON text passed to the enrichment.
notes

In this case, nothing from the event itself is passed to the enrichment. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format .

To remove an input template, specify an empty string.