Interface BatchJobStateChange.BatchJobStateChangeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BatchJobStateChange.BatchJobStateChangeProps.Jsii$Proxy
- Enclosing class:
BatchJobStateChange
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.batch.events.*;
Object networkInterfaces;
BatchJobStateChangeProps batchJobStateChangeProps = BatchJobStateChangeProps.builder()
.attempts(List.of(BatchJobStateChangeItem.builder()
.container(Container1.builder()
.containerInstanceArn(List.of("containerInstanceArn"))
.exitCode(List.of("exitCode"))
.logStreamName(List.of("logStreamName"))
.networkInterfaces(List.of(networkInterfaces))
.taskArn(List.of("taskArn"))
.build())
.startedAt(List.of("startedAt"))
.statusReason(List.of("statusReason"))
.stoppedAt(List.of("stoppedAt"))
.build()))
.container(Container.builder()
.command(List.of("command"))
.containerInstanceArn(List.of("containerInstanceArn"))
.environment(List.of(ContainerItem.builder()
.name(List.of("name"))
.value(List.of("value"))
.build()))
.exitCode(List.of("exitCode"))
.image(List.of("image"))
.logStreamName(List.of("logStreamName"))
.memory(List.of("memory"))
.mountPoints(List.of(MountPoint.builder()
.containerPath(List.of("containerPath"))
.readOnly(List.of("readOnly"))
.sourceVolume(List.of("sourceVolume"))
.build()))
.networkInterfaces(List.of(NetworkInterface.builder()
.attachmentId(List.of("attachmentId"))
.ipv6Address(List.of("ipv6Address"))
.privateIpv4Address(List.of("privateIpv4Address"))
.build()))
.resourceRequirements(List.of(ResourceRequirement.builder()
.type(List.of("type"))
.value(List.of("value"))
.build()))
.taskArn(List.of("taskArn"))
.ulimits(List.of(ULimit.builder()
.hardLimit(List.of("hardLimit"))
.name(List.of("name"))
.softLimit(List.of("softLimit"))
.build()))
.vcpus(List.of("vcpus"))
.volumes(List.of(Volumes.builder()
.host(Host.builder()
.sourcePath(List.of("sourcePath"))
.build())
.name(List.of("name"))
.build()))
.build())
.createdAt(List.of("createdAt"))
.dependsOn(List.of(JobDependency.builder()
.jobId(List.of("jobId"))
.type(List.of("type"))
.build()))
.eventMetadata(AWSEventMetadataProps.builder()
.region(List.of("region"))
.resources(List.of("resources"))
.version(List.of("version"))
.build())
.jobDefinition(List.of("jobDefinition"))
.jobId(List.of("jobId"))
.jobName(List.of("jobName"))
.jobQueue(List.of("jobQueue"))
.parameters(List.of("parameters"))
.retryStrategy(RetryStrategy.builder()
.attempts(List.of("attempts"))
.build())
.startedAt(List.of("startedAt"))
.status(List.of("status"))
.statusReason(List.of("statusReason"))
.stoppedAt(List.of("stoppedAt"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBatchJobStateChange.BatchJobStateChangePropsstatic final classAn implementation forBatchJobStateChange.BatchJobStateChangeProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) attempts property.default BatchJobStateChange.Container(experimental) container property.(experimental) createdAt property.default List<BatchJobStateChange.JobDependency> (experimental) dependsOn property.default AWSEventMetadataProps(experimental) EventBridge event metadata.(experimental) jobDefinition property.getJobId()(experimental) jobId property.(experimental) jobName property.(experimental) jobQueue property.(experimental) parameters property.(experimental) retryStrategy property.(experimental) startedAt property.(experimental) status property.(experimental) statusReason property.(experimental) stoppedAt property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttempts
@Stability(Experimental) @Nullable default List<BatchJobStateChange.BatchJobStateChangeItem> getAttempts()(experimental) attempts property.Specify an array of string values to match this event if the actual value of attempts is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getContainer
(experimental) container property.Specify an array of string values to match this event if the actual value of container is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getCreatedAt
(experimental) createdAt property.Specify an array of string values to match this event if the actual value of createdAt is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getDependsOn
(experimental) dependsOn property.Specify an array of string values to match this event if the actual value of dependsOn is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getEventMetadata
(experimental) EventBridge event metadata.Default: - -
-
getJobDefinition
(experimental) jobDefinition property.Specify an array of string values to match this event if the actual value of jobDefinition is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getJobId
(experimental) jobId property.Specify an array of string values to match this event if the actual value of jobId is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getJobName
(experimental) jobName property.Specify an array of string values to match this event if the actual value of jobName is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getJobQueue
(experimental) jobQueue property.Specify an array of string values to match this event if the actual value of jobQueue is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getParameters
(experimental) parameters property.Specify an array of string values to match this event if the actual value of parameters is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getRetryStrategy
(experimental) retryStrategy property.Specify an array of string values to match this event if the actual value of retryStrategy is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getStartedAt
(experimental) startedAt property.Specify an array of string values to match this event if the actual value of startedAt is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getStatus
(experimental) status property.Specify an array of string values to match this event if the actual value of status is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getStatusReason
(experimental) statusReason property.Specify an array of string values to match this event if the actual value of statusReason is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getStoppedAt
(experimental) stoppedAt property.Specify an array of string values to match this event if the actual value of stoppedAt is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
-