Class RuleTargetInputProperties
The input properties for an event target.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RuleTargetInputProperties : IRuleTargetInputProperties
Syntax (vb)
Public Class RuleTargetInputProperties Implements 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
Constructors
RuleTargetInputProperties() | The input properties for an event target. |
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. |
Constructors
RuleTargetInputProperties()
The input properties for an event target.
public RuleTargetInputProperties()
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"
};
Properties
Input
Literal input to the target service (must be valid JSON).
public string? Input { get; set; }
Property Value
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.
public string? InputPath { get; set; }
Property Value
Remarks
Default: - None. The entire matched event is passed as input
InputPathsMap
Paths map to extract values from event and insert into inputTemplate
.
public IDictionary<string, string>? InputPathsMap { get; set; }
Property Value
Remarks
Default: - No values extracted from event.
InputTemplate
Input template to insert paths map into.
public string? InputTemplate { get; set; }
Property Value
Remarks
Default: - None.