| Package | Description |
|---|---|
| com.amazonaws.services.cloudwatchevents.model |
| Modifier and Type | Method and Description |
|---|---|
Target |
Target.clone() |
Target |
Target.withArn(String arn)
The Amazon Resource Name (ARN) of the target.
|
Target |
Target.withBatchParameters(BatchParameters batchParameters)
If the event target is an AWS Batch job, this contains the job definition, job name, and other parameters.
|
Target |
Target.withEcsParameters(EcsParameters ecsParameters)
Contains the Amazon ECS task definition and task count to be used, if the event target is an Amazon ECS task.
|
Target |
Target.withId(String id)
The ID of the target.
|
Target |
Target.withInput(String input)
Valid JSON text passed to the target.
|
Target |
Target.withInputPath(String inputPath)
The value of the JSONPath that is used for extracting part of the matched event when passing it to the target.
|
Target |
Target.withInputTransformer(InputTransformer inputTransformer)
Settings to enable you to provide custom input to a target based on certain event data.
|
Target |
Target.withKinesisParameters(KinesisParameters kinesisParameters)
The custom parameter you can use to control the shard assignment, when the target is a Kinesis data stream.
|
Target |
Target.withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered.
|
Target |
Target.withRunCommandParameters(RunCommandParameters runCommandParameters)
Parameters used when you are using the rule to invoke Amazon EC2 Run Command.
|
Target |
Target.withSqsParameters(SqsParameters sqsParameters)
Contains the message group ID to use when the target is a FIFO queue.
|
| Modifier and Type | Method and Description |
|---|---|
List<Target> |
PutTargetsRequest.getTargets()
The targets to update or add to the rule.
|
List<Target> |
ListTargetsByRuleResult.getTargets()
The targets assigned to the rule.
|
| Modifier and Type | Method and Description |
|---|---|
PutTargetsRequest |
PutTargetsRequest.withTargets(Target... targets)
The targets to update or add to the rule.
|
ListTargetsByRuleResult |
ListTargetsByRuleResult.withTargets(Target... targets)
The targets assigned to the rule.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PutTargetsRequest.setTargets(Collection<Target> targets)
The targets to update or add to the rule.
|
void |
ListTargetsByRuleResult.setTargets(Collection<Target> targets)
The targets assigned to the rule.
|
PutTargetsRequest |
PutTargetsRequest.withTargets(Collection<Target> targets)
The targets to update or add to the rule.
|
ListTargetsByRuleResult |
ListTargetsByRuleResult.withTargets(Collection<Target> targets)
The targets assigned to the rule.
|
Copyright © 2019. All rights reserved.