@Stability(value=Stable) public static final class CfnSchedule.TargetProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnSchedule.TargetProperty>
CfnSchedule.TargetProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder arn(String arn)
CfnSchedule.TargetProperty.getArn()arn - The Amazon Resource Name (ARN) of the target. This parameter is required.this@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder roleArn(String roleArn)
CfnSchedule.TargetProperty.getRoleArn()roleArn - The Amazon Resource Name (ARN) of the IAM role that EventBridge Scheduler will use for this target when the schedule is invoked. This parameter is required.this@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder deadLetterConfig(IResolvable deadLetterConfig)
CfnSchedule.TargetProperty.getDeadLetterConfig()deadLetterConfig - An object that contains information about an Amazon SQS queue that EventBridge Scheduler uses as a dead-letter queue for your schedule.
If specified, EventBridge Scheduler delivers failed events that could not be successfully delivered to a target to the queue.this@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder deadLetterConfig(CfnSchedule.DeadLetterConfigProperty deadLetterConfig)
CfnSchedule.TargetProperty.getDeadLetterConfig()deadLetterConfig - An object that contains information about an Amazon SQS queue that EventBridge Scheduler uses as a dead-letter queue for your schedule.
If specified, EventBridge Scheduler delivers failed events that could not be successfully delivered to a target to the queue.this@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder ecsParameters(IResolvable ecsParameters)
CfnSchedule.TargetProperty.getEcsParameters()ecsParameters - The templated target type for the Amazon ECS [`RunTask`](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html) API operation.this@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder ecsParameters(CfnSchedule.EcsParametersProperty ecsParameters)
CfnSchedule.TargetProperty.getEcsParameters()ecsParameters - The templated target type for the Amazon ECS [`RunTask`](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html) API operation.this@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder eventBridgeParameters(IResolvable eventBridgeParameters)
CfnSchedule.TargetProperty.getEventBridgeParameters()eventBridgeParameters - The templated target type for the EventBridge [`PutEvents`](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html) API operation.this@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder eventBridgeParameters(CfnSchedule.EventBridgeParametersProperty eventBridgeParameters)
CfnSchedule.TargetProperty.getEventBridgeParameters()eventBridgeParameters - The templated target type for the EventBridge [`PutEvents`](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html) API operation.this@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder input(String input)
CfnSchedule.TargetProperty.getInput()input - The text, or well-formed JSON, passed to the target.
If you are configuring a templated Lambda , AWS Step Functions , or Amazon EventBridge target, the input must be a well-formed JSON. For all other target types, a JSON is not required. If you do not specify anything for this field, Amazon EventBridge Scheduler delivers a default notification to the target.this@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder kinesisParameters(IResolvable kinesisParameters)
CfnSchedule.TargetProperty.getKinesisParameters()kinesisParameters - The templated target type for the Amazon Kinesis [`PutRecord`](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_PutRecord.html) API operation.this@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder kinesisParameters(CfnSchedule.KinesisParametersProperty kinesisParameters)
CfnSchedule.TargetProperty.getKinesisParameters()kinesisParameters - The templated target type for the Amazon Kinesis [`PutRecord`](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_PutRecord.html) API operation.this@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder retryPolicy(IResolvable retryPolicy)
CfnSchedule.TargetProperty.getRetryPolicy()retryPolicy - A `RetryPolicy` object that includes information about the retry policy settings, including the maximum age of an event, and the maximum number of times EventBridge Scheduler will try to deliver the event to a target.this@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder retryPolicy(CfnSchedule.RetryPolicyProperty retryPolicy)
CfnSchedule.TargetProperty.getRetryPolicy()retryPolicy - A `RetryPolicy` object that includes information about the retry policy settings, including the maximum age of an event, and the maximum number of times EventBridge Scheduler will try to deliver the event to a target.this@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder sageMakerPipelineParameters(IResolvable sageMakerPipelineParameters)
CfnSchedule.TargetProperty.getSageMakerPipelineParameters()sageMakerPipelineParameters - The templated target type for the Amazon SageMaker [`StartPipelineExecution`](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_StartPipelineExecution.html) API operation.this@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder sageMakerPipelineParameters(CfnSchedule.SageMakerPipelineParametersProperty sageMakerPipelineParameters)
CfnSchedule.TargetProperty.getSageMakerPipelineParameters()sageMakerPipelineParameters - The templated target type for the Amazon SageMaker [`StartPipelineExecution`](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_StartPipelineExecution.html) API operation.this@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder sqsParameters(IResolvable sqsParameters)
CfnSchedule.TargetProperty.getSqsParameters()sqsParameters - The templated target type for the Amazon SQS [`SendMessage`](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessage.html) API operation. Contains the message group ID to use when the target is a FIFO queue. If you specify an Amazon SQS FIFO queue as a target, the queue must have content-based deduplication enabled. For more information, see [Using the Amazon SQS message deduplication ID](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html) in the *Amazon SQS Developer Guide* .this@Stability(value=Stable) public CfnSchedule.TargetProperty.Builder sqsParameters(CfnSchedule.SqsParametersProperty sqsParameters)
CfnSchedule.TargetProperty.getSqsParameters()sqsParameters - The templated target type for the Amazon SQS [`SendMessage`](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessage.html) API operation. Contains the message group ID to use when the target is a FIFO queue. If you specify an Amazon SQS FIFO queue as a target, the queue must have content-based deduplication enabled. For more information, see [Using the Amazon SQS message deduplication ID](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html) in the *Amazon SQS Developer Guide* .this@Stability(value=Stable) public CfnSchedule.TargetProperty build()
build in interface software.amazon.jsii.Builder<CfnSchedule.TargetProperty>CfnSchedule.TargetPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.