Interface BatchJobStateChange.BatchJobStateChangeProps

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

@Stability(Experimental) public static interface BatchJobStateChange.BatchJobStateChangeProps extends software.amazon.jsii.JsiiSerializable
(experimental) Props type for aws.batch@BatchJobStateChange event.

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();
 
  • 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getContainer

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

      Default: - Do not filter on this field

    • getCreatedAt

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

      Default: - Do not filter on this field

    • getDependsOn

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

      Default: - Do not filter on this field

    • getEventMetadata

      @Stability(Experimental) @Nullable default AWSEventMetadataProps getEventMetadata()
      (experimental) EventBridge event metadata.

      Default: - -

    • getJobDefinition

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

      Default: - Do not filter on this field

    • getJobId

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

      Default: - Do not filter on this field

    • getJobName

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

      Default: - Do not filter on this field

    • getJobQueue

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

      Default: - Do not filter on this field

    • getParameters

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

      Default: - Do not filter on this field

    • getRetryStrategy

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

      Default: - Do not filter on this field

    • getStartedAt

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

      Default: - Do not filter on this field

    • getStatus

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

      Default: - Do not filter on this field

    • getStatusReason

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

      Default: - Do not filter on this field

    • getStoppedAt

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

      Default: - Do not filter on this field

    • builder

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