AwsEventbridgePipeEnrichmentParametersArgs
interface AwsEventbridgePipeEnrichmentParametersArgs {
httpParameters?: AwsEventbridgePipeEnrichmentHttpParametersArgs;
inputTemplate?: Input<string>;
}Parameters to configure the optional enrichment step for AwsEventbridgePipe.
Remarks
Enrichment runs between the source and the target. The result of the enrichment invocation is forwarded to the target as the event payload, unless inputTemplate overrides it.
Example
CODE
const pipe = new AwsEventbridgePipe({
name: 'myPipe',
iamRole: pipeRole.arn,
source: sourceQueue.arn,
target: targetQueue.arn,
enrichment: myApiDestination.arn,
enrichmentParameters: {
httpParameters: {
headerParameters: { 'x-correlation-id': '$.detail.id' },
},
},
});Properties
httpParameters: AwsEventbridgePipeEnrichmentHttpParametersArgs
HTTP parameters forwarded to the enrichment endpoint.
inputTemplate: Input<string>
Valid JSON template passed to the enrichment target instead of the raw event. Maximum length of 8192 characters.