Paws::CloudWatchEvents::Target
This class represents one of two things:
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::CloudWatchEvents::Target object:
$service_obj->Method(Att1 => { Arn => $value, ..., InputPath => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatchEvents::Target object:
$result = $service_obj->Method(...); $result->Att1->Arn
Targets are the resources that can be invoked when a rule is triggered. For example, AWS Lambda functions, Amazon Kinesis streams, and built-in targets.
Input and InputPath are mutually-exclusive and optional parameters of a target. When a rule is triggered due to a matched event, if for a target:
Neither Input nor InputPath is specified, then the entire event is passed to the target in JSON form.
InputPath is specified in the form of JSONPath (e.g. $.detail), then only the part of the event specified in the path is passed to the target (e.g. only the detail part of the event is passed).
Input is specified in the form of a valid JSON, then the matched event is overridden with this constant.
The Amazon Resource Name (ARN) associated of the target.
The unique target assignment ID.
Valid JSON text passed to the target. For more information about JSON text, see The JavaScript Object Notation (JSON) Data Interchange Format.
The value of the JSONPath that is used for extracting part of the matched event when passing it to the target. For more information about JSON paths, see JSONPath.
This class forms part of Paws, describing an object used in Paws::CloudWatchEvents
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.