Interface BatchJobStateChange.Container

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
BatchJobStateChange.Container.Jsii$Proxy
Enclosing class:
BatchJobStateChange

@Stability(Experimental) public static interface BatchJobStateChange.Container extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for Container.

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();
 
  • Method Details

    • getCommand

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getContainerInstanceArn

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getEnvironment

      @Stability(Experimental) @Nullable default List<BatchJobStateChange.ContainerItem> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getExitCode

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getImage

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getLogStreamName

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getMemory

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getMountPoints

      @Stability(Experimental) @Nullable default List<BatchJobStateChange.MountPoint> 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.Match for 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.Match for 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getTaskArn

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getUlimits

      @Stability(Experimental) @Nullable default List<BatchJobStateChange.ULimit> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getVcpus

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getVolumes

      @Stability(Experimental) @Nullable default List<BatchJobStateChange.Volumes> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • builder

      @Stability(Experimental) static BatchJobStateChange.Container.Builder builder()
      Returns:
      a BatchJobStateChange.Container.Builder of BatchJobStateChange.Container