Show / Hide Table of Contents

Class RuleTargetInputProperties

The input properties for an event target.

Inheritance
System.Object
RuleTargetInputProperties
Implements
IRuleTargetInputProperties
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.AWS.Events.dll
Syntax (csharp)
public class RuleTargetInputProperties : Object, IRuleTargetInputProperties
Syntax (vb)
Public Class RuleTargetInputProperties
    Inherits Object
    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()

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.

InputTemplate

Input template to insert paths map into.

Constructors

RuleTargetInputProperties()

public RuleTargetInputProperties()

Properties

Input

Literal input to the target service (must be valid JSON).

public string Input { get; set; }
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.

public string InputPath { get; set; }
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.

public IDictionary<string, string> InputPathsMap { get; set; }
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.

public string InputTemplate { get; set; }
Property Value

System.String

Remarks

Default: - None.

Implements

IRuleTargetInputProperties
Back to top Generated by DocFX