Interface BatchJobStateChange.Container
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BatchJobStateChange.Container.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.*;
Container 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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBatchJobStateChange.Containerstatic final classAn implementation forBatchJobStateChange.Container -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) command property.(experimental) containerInstanceArn property.default List<BatchJobStateChange.ContainerItem> (experimental) environment property.(experimental) exitCode property.getImage()(experimental) image property.(experimental) logStreamName property.(experimental) memory property.default List<BatchJobStateChange.MountPoint> (experimental) mountPoints property.default List<BatchJobStateChange.NetworkInterface> (experimental) networkInterfaces property.(experimental) resourceRequirements property.(experimental) taskArn property.default List<BatchJobStateChange.ULimit> (experimental) ulimits property.getVcpus()(experimental) vcpus property.default List<BatchJobStateChange.Volumes> (experimental) volumes property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCommand
(experimental) command property.Specify an array of string values to match this event if the actual value of command 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
-
getContainerInstanceArn
(experimental) containerInstanceArn property.Specify an array of string values to match this event if the actual value of containerInstanceArn 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
-
getEnvironment
(experimental) environment property.Specify an array of string values to match this event if the actual value of environment 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
-
getExitCode
(experimental) exitCode property.Specify an array of string values to match this event if the actual value of exitCode 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
-
getImage
(experimental) image property.Specify an array of string values to match this event if the actual value of image 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
-
getLogStreamName
(experimental) logStreamName property.Specify an array of string values to match this event if the actual value of logStreamName 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
-
getMemory
(experimental) memory property.Specify an array of string values to match this event if the actual value of memory 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
-
getMountPoints
(experimental) mountPoints property.Specify an array of string values to match this event if the actual value of mountPoints 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
-
getNetworkInterfaces
@Stability(Experimental) @Nullable default List<BatchJobStateChange.NetworkInterface> getNetworkInterfaces()(experimental) networkInterfaces property.Specify an array of string values to match this event if the actual value of networkInterfaces 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
-
getResourceRequirements
@Stability(Experimental) @Nullable default List<BatchJobStateChange.ResourceRequirement> getResourceRequirements()(experimental) resourceRequirements property.Specify an array of string values to match this event if the actual value of resourceRequirements 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
-
getTaskArn
(experimental) taskArn property.Specify an array of string values to match this event if the actual value of taskArn 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
-
getUlimits
(experimental) ulimits property.Specify an array of string values to match this event if the actual value of ulimits 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
-
getVcpus
(experimental) vcpus property.Specify an array of string values to match this event if the actual value of vcpus 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
-
getVolumes
(experimental) volumes property.Specify an array of string values to match this event if the actual value of volumes 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
-