RuleTargetInput¶
-
class
aws_cdk.aws_events.
RuleTargetInput
¶ Bases:
object
The input to send to the event target.
Methods
-
abstract
bind
(rule)¶ Return the input properties for this input object.
- Parameters
rule (
IRule
) –- Return type
Static Methods
-
classmethod
from_event_path
(path)¶ Take the event target input from a path in the event JSON.
- Parameters
path (
str
) –- Return type
-
classmethod
from_multiline_text
(text)¶ Pass text to the event target, splitting on newlines.
This is only useful when passing to a target that does not take a single argument.
May contain strings returned by EventField.from() to substitute in parts of the matched event.
- Parameters
text (
str
) –- Return type
-
classmethod
from_object
(obj)¶ Pass a JSON object to the event target.
May contain strings returned by EventField.from() to substitute in parts of the matched event.
- Parameters
obj (
Any
) –- Return type
-
classmethod
from_text
(text)¶ Pass text to the event target.
May contain strings returned by EventField.from() to substitute in parts of the matched event.
- Parameters
text (
str
) –- Return type
-
abstract