Interface CfnRule.BatchParametersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRule.BatchParametersProperty.Jsii$Proxy
- Enclosing class:
CfnRule
@Stability(Stable)
public static interface CfnRule.BatchParametersProperty
extends software.amazon.jsii.JsiiSerializable
The custom parameters to be used when the target is an AWS Batch job.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.events.*; BatchParametersProperty batchParametersProperty = BatchParametersProperty.builder() .jobDefinition("jobDefinition") .jobName("jobName") // the properties below are optional .arrayProperties(BatchArrayPropertiesProperty.builder() .size(123) .build()) .retryStrategy(BatchRetryStrategyProperty.builder() .attempts(123) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRule.BatchParametersProperty
static final class
An implementation forCfnRule.BatchParametersProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The array properties for the submitted job, such as the size of the array.The ARN or name of the job definition to use if the event target is an AWS Batch job.The name to use for this execution of the job, if the target is an AWS Batch job.default Object
The retry strategy to use for failed jobs, if the target is an AWS Batch job.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getJobDefinition
The ARN or name of the job definition to use if the event target is an AWS Batch job.This job definition must already exist.
- See Also:
-
getJobName
The name to use for this execution of the job, if the target is an AWS Batch job.- See Also:
-
getArrayProperties
The array properties for the submitted job, such as the size of the array.The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an AWS Batch job.
- See Also:
-
getRetryStrategy
The retry strategy to use for failed jobs, if the target is an AWS Batch job.The retry strategy is the number of times to retry the failed job execution. Valid values are 1–10. When you specify a retry strategy here, it overrides the retry strategy defined in the job definition.
- See Also:
-
builder
-