@Stability(value=Stable)
public static interface CfnRule.BatchParametersProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRule.BatchParametersProperty.Builder
A builder for
CfnRule.BatchParametersProperty |
static class |
CfnRule.BatchParametersProperty.Jsii$Proxy
An implementation for
CfnRule.BatchParametersProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRule.BatchParametersProperty.Builder |
builder() |
default Object |
getArrayProperties()
The array properties for the submitted job, such as the size of the array.
|
String |
getJobDefinition()
The ARN or name of the job definition to use if the event target is an AWS Batch job.
|
String |
getJobName()
The name to use for this execution of the job, if the target is an AWS Batch job.
|
default Object |
getRetryStrategy()
The retry strategy to use for failed jobs, if the target is an AWS Batch job.
|
@Stability(value=Stable) @NotNull String getJobDefinition()
This job definition must already exist.
@Stability(value=Stable) @NotNull String getJobName()
@Stability(value=Stable) @Nullable default Object getArrayProperties()
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.
@Stability(value=Stable) @Nullable default Object getRetryStrategy()
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.
@Stability(value=Stable) static CfnRule.BatchParametersProperty.Builder builder()
Copyright © 2022. All rights reserved.