AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Targets are the resources to be invoked when a rule is triggered. Target types include EC2 instances, AWS Lambda functions, Amazon Kinesis streams, Amazon ECS tasks, AWS Step Functions state machines, Run Command, and built-in targets.
public class Target
The Target type exposes the following members
Gets and sets the property Arn.
The Amazon Resource Name (ARN) of the target.
Gets and sets the property EcsParameters.
Contains the Amazon ECS task definition and task count to be used, if the event target is an Amazon ECS task. For more information about Amazon ECS tasks, see Task Definitions in the Amazon EC2 Container Service Developer Guide.
Gets and sets the property Id.
The ID of the target.
Gets and sets the property Input.
Gets and sets the property InputPath.
The value of the JSONPath that is used for extracting part of the matched event when passing it to the target. You must use JSON dot notation, not bracket notation. For more information about JSON paths, see JSONPath.
Gets and sets the property InputTransformer.
Settings to enable you to provide custom input to a target based on certain event data. You can extract one or more key-value pairs from the event and then use that data to send customized input to the target.
Gets and sets the property KinesisParameters.
The custom parameter you can use to control shard assignment, when the target is an
Amazon Kinesis stream. If you do not include this parameter, the default is to use
Gets and sets the property RoleArn.
The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. If one rule triggers multiple targets, you can use a different IAM role for each target.
Gets and sets the property RunCommandParameters.
Parameters used when you are using the rule to invoke Amazon EC2 Run Command.
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms