Interface IRuleTargetInputProperties
The input properties for an event target.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.AWS.Events.dll
Syntax (csharp)
public interface IRuleTargetInputProperties
Syntax (vb)
Public Interface IRuleTargetInputProperties
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.Events;
var ruleTargetInputProperties = new RuleTargetInputProperties {
Input = "input",
InputPath = "inputPath",
InputPathsMap = new Dictionary<string, string> {
{ "inputPathsMapKey", "inputPathsMap" }
},
InputTemplate = "inputTemplate"
};
Synopsis
Properties
Input | Literal input to the target service (must be valid JSON). |
InputPath | JsonPath to take input from the input event. |
InputPathsMap | Paths map to extract values from event and insert into |
InputTemplate | Input template to insert paths map into. |
Properties
Input
Literal input to the target service (must be valid JSON).
virtual string Input { get; }
Property Value
System.String
Remarks
Default: - input for the event target. If the input contains a paths map
values wil be extracted from event and inserted into the inputTemplate
.
InputPath
JsonPath to take input from the input event.
virtual string InputPath { get; }
Property Value
System.String
Remarks
Default: - None. The entire matched event is passed as input
InputPathsMap
Paths map to extract values from event and insert into inputTemplate
.
virtual IDictionary<string, string> InputPathsMap { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Remarks
Default: - No values extracted from event.
InputTemplate
Input template to insert paths map into.
virtual string InputTemplate { get; }
Property Value
System.String
Remarks
Default: - None.