Interface CfnPipe.IPipeEnrichmentParametersProperty
The parameters required to set up enrichment on your pipe.
Namespace: Amazon.CDK.AWS.Pipes
Assembly: Amazon.CDK.AWS.Pipes.dll
Syntax (csharp)
public interface IPipeEnrichmentParametersProperty
Syntax (vb)
Public Interface IPipeEnrichmentParametersProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pipes;
var pipeEnrichmentParametersProperty = new PipeEnrichmentParametersProperty {
HttpParameters = new PipeEnrichmentHttpParametersProperty {
HeaderParameters = new Dictionary<string, string> {
{ "headerParametersKey", "headerParameters" }
},
PathParameterValues = new [] { "pathParameterValues" },
QueryStringParameters = new Dictionary<string, string> {
{ "queryStringParametersKey", "queryStringParameters" }
}
},
InputTemplate = "inputTemplate"
};
Synopsis
Properties
HttpParameters | Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination. |
InputTemplate | Valid JSON text passed to the enrichment. |
Properties
HttpParameters
Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination.
virtual object HttpParameters { get; }
Property Value
System.Object
Remarks
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.
InputTemplate
Valid JSON text passed to the enrichment.
virtual string InputTemplate { get; }
Property Value
System.String
Remarks
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.