broad-dog-22463
08/05/2019, 8:43 AMtype Target struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the target.
//
// Arn is a required field
Arn *string `min:"1" type:"string" required:"true"`
// If the event target is an AWS Batch job, this contains the job definition,
// job name, and other parameters. For more information, see Jobs (<https://docs.aws.amazon.com/batch/latest/userguide/jobs.html>)
// in the AWS Batch User Guide.
BatchParameters *BatchParameters `type:"structure"`
// 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 (<https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html>)
// in the Amazon EC2 Container Service Developer Guide.
EcsParameters *EcsParameters `type:"structure"`
// The ID of the target.
//
// Id is a required field
Id *string `min:"1" type:"string" required:"true"`
// Valid JSON text passed to the target. In this case, nothing from the event
// itself is passed to the target. For more information, see The JavaScript
// Object Notation (JSON) Data Interchange Format (<http://www.rfc-editor.org/rfc/rfc7159.txt>).
Input *string `type:"string"`
// 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 (<http://goessner.net/articles/JsonPath/>).
InputPath *string `type:"string"`
// 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.
InputTransformer *InputTransformer `type:"structure"`
// The custom parameter that you can use to control the shard assignment when
// the target is a Kinesis data stream. If you don't include this parameter,
// the default is to use the eventId as the partition key.
KinesisParameters *KinesisParameters `type:"structure"`
// 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.
RoleArn *string `min:"1" type:"string"`
// Parameters used when you are using the rule to invoke Amazon EC2 Run Command.
RunCommandParameters *RunCommandParameters `type:"structure"`
// Contains the message group ID to use when the target is a FIFO queue.
//
// If you specify an SQS FIFO queue as a target, the queue must have content-based
// deduplication enabled.
SqsParameters *SqsParameters `type:"structure"`
}