Interface ClusterEvents.ECSTaskStateChange.ECSTaskStateChangeProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ClusterEvents.ECSTaskStateChange.ECSTaskStateChangeProps.Jsii$Proxy
Enclosing class:
ClusterEvents.ECSTaskStateChange

@Stability(Experimental) public static interface ClusterEvents.ECSTaskStateChange.ECSTaskStateChangeProps extends software.amazon.jsii.JsiiSerializable
(experimental) Props type for Cluster aws.ecs@ECSTaskStateChange 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.ecs.events.*;
 ECSTaskStateChangeProps eCSTaskStateChangeProps = ECSTaskStateChangeProps.builder()
         .attachments(List.of(AttachmentDetails.builder()
                 .details(Details.builder()
                         .name(List.of("name"))
                         .value(List.of("value"))
                         .build())
                 .id(List.of("id"))
                 .status(List.of("status"))
                 .type(List.of("type"))
                 .build()))
         .attributes(List.of(AttributesDetails.builder()
                 .name(List.of("name"))
                 .value(List.of("value"))
                 .build()))
         .availabilityZone(List.of("availabilityZone"))
         .clusterArn(List.of("clusterArn"))
         .connectivity(List.of("connectivity"))
         .connectivityAt(List.of("connectivityAt"))
         .containerInstanceArn(List.of("containerInstanceArn"))
         .containers(List.of(ContainerDetails.builder()
                 .containerArn(List.of("containerArn"))
                 .cpu(List.of("cpu"))
                 .exitCode(List.of("exitCode"))
                 .gpuIds(List.of("gpuIds"))
                 .image(List.of("image"))
                 .imageDigest(List.of("imageDigest"))
                 .lastStatus(List.of("lastStatus"))
                 .memory(List.of("memory"))
                 .memoryReservation(List.of("memoryReservation"))
                 .name(List.of("name"))
                 .networkBindings(List.of(NetworkBindingDetails.builder()
                         .bindIp(List.of("bindIp"))
                         .containerPort(List.of("containerPort"))
                         .hostPort(List.of("hostPort"))
                         .protocol(List.of("protocol"))
                         .build()))
                 .networkInterfaces(List.of(NetworkInterfaceDetails.builder()
                         .attachmentId(List.of("attachmentId"))
                         .ipv6Address(List.of("ipv6Address"))
                         .privateIpv4Address(List.of("privateIpv4Address"))
                         .build()))
                 .reason(List.of("reason"))
                 .runtimeId(List.of("runtimeId"))
                 .taskArn(List.of("taskArn"))
                 .build()))
         .cpu(List.of("cpu"))
         .createdAt(List.of("createdAt"))
         .desiredStatus(List.of("desiredStatus"))
         .eventMetadata(AWSEventMetadataProps.builder()
                 .region(List.of("region"))
                 .resources(List.of("resources"))
                 .version(List.of("version"))
                 .build())
         .executionStoppedAt(List.of("executionStoppedAt"))
         .group(List.of("group"))
         .lastStatus(List.of("lastStatus"))
         .launchType(List.of("launchType"))
         .memory(List.of("memory"))
         .overrides(Overrides.builder()
                 .containerOverrides(List.of(OverridesItem.builder()
                         .command(List.of("command"))
                         .cpu(List.of("cpu"))
                         .environment(List.of(Map.of(
                                 "environmentKey", "environment")))
                         .memory(List.of("memory"))
                         .name(List.of("name"))
                         .build()))
                 .build())
         .platformVersion(List.of("platformVersion"))
         .pullStartedAt(List.of("pullStartedAt"))
         .pullStoppedAt(List.of("pullStoppedAt"))
         .startedAt(List.of("startedAt"))
         .startedBy(List.of("startedBy"))
         .stopCode(List.of("stopCode"))
         .stoppedAt(List.of("stoppedAt"))
         .stoppedReason(List.of("stoppedReason"))
         .stoppingAt(List.of("stoppingAt"))
         .taskArn(List.of("taskArn"))
         .taskDefinitionArn(List.of("taskDefinitionArn"))
         .updatedAt(List.of("updatedAt"))
         .version(List.of("version"))
         .build();
 
  • Method Details

    • getAttachments

      @Stability(Experimental) @Nullable default List<ClusterEvents.ECSTaskStateChange.AttachmentDetails> getAttachments()
      (experimental) attachments property.

      Specify an array of string values to match this event if the actual value of attachments 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

    • getAttributes

      @Stability(Experimental) @Nullable default List<ClusterEvents.ECSTaskStateChange.AttributesDetails> getAttributes()
      (experimental) attributes property.

      Specify an array of string values to match this event if the actual value of attributes 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

    • getAvailabilityZone

      @Stability(Experimental) @Nullable default List<String> getAvailabilityZone()
      (experimental) availabilityZone property.

      Specify an array of string values to match this event if the actual value of availabilityZone 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

    • getClusterArn

      @Stability(Experimental) @Nullable default List<String> getClusterArn()
      (experimental) clusterArn property.

      Specify an array of string values to match this event if the actual value of clusterArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Filter with the Cluster reference

    • getConnectivity

      @Stability(Experimental) @Nullable default List<String> getConnectivity()
      (experimental) connectivity property.

      Specify an array of string values to match this event if the actual value of connectivity 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

    • getConnectivityAt

      @Stability(Experimental) @Nullable default List<String> getConnectivityAt()
      (experimental) connectivityAt property.

      Specify an array of string values to match this event if the actual value of connectivityAt 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

    • getContainers

      @Stability(Experimental) @Nullable default List<ClusterEvents.ECSTaskStateChange.ContainerDetails> getContainers()
      (experimental) containers property.

      Specify an array of string values to match this event if the actual value of containers 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

    • getCpu

      @Stability(Experimental) @Nullable default List<String> getCpu()
      (experimental) cpu property.

      Specify an array of string values to match this event if the actual value of cpu 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

    • getDesiredStatus

      @Stability(Experimental) @Nullable default List<String> getDesiredStatus()
      (experimental) desiredStatus property.

      Specify an array of string values to match this event if the actual value of desiredStatus 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: - -

    • getExecutionStoppedAt

      @Stability(Experimental) @Nullable default List<String> getExecutionStoppedAt()
      (experimental) executionStoppedAt property.

      Specify an array of string values to match this event if the actual value of executionStoppedAt 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

    • getGroup

      @Stability(Experimental) @Nullable default List<String> getGroup()
      (experimental) group property.

      Specify an array of string values to match this event if the actual value of group 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

    • getLastStatus

      @Stability(Experimental) @Nullable default List<String> getLastStatus()
      (experimental) lastStatus property.

      Specify an array of string values to match this event if the actual value of lastStatus 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

    • getLaunchType

      @Stability(Experimental) @Nullable default List<String> getLaunchType()
      (experimental) launchType property.

      Specify an array of string values to match this event if the actual value of launchType 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

    • getOverrides

      @Stability(Experimental) @Nullable default ClusterEvents.ECSTaskStateChange.Overrides getOverrides()
      (experimental) overrides property.

      Specify an array of string values to match this event if the actual value of overrides 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

    • getPlatformVersion

      @Stability(Experimental) @Nullable default List<String> getPlatformVersion()
      (experimental) platformVersion property.

      Specify an array of string values to match this event if the actual value of platformVersion 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

    • getPullStartedAt

      @Stability(Experimental) @Nullable default List<String> getPullStartedAt()
      (experimental) pullStartedAt property.

      Specify an array of string values to match this event if the actual value of pullStartedAt 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

    • getPullStoppedAt

      @Stability(Experimental) @Nullable default List<String> getPullStoppedAt()
      (experimental) pullStoppedAt property.

      Specify an array of string values to match this event if the actual value of pullStoppedAt 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

    • getStartedBy

      @Stability(Experimental) @Nullable default List<String> getStartedBy()
      (experimental) startedBy property.

      Specify an array of string values to match this event if the actual value of startedBy 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

    • getStopCode

      @Stability(Experimental) @Nullable default List<String> getStopCode()
      (experimental) stopCode property.

      Specify an array of string values to match this event if the actual value of stopCode 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

    • getStoppedReason

      @Stability(Experimental) @Nullable default List<String> getStoppedReason()
      (experimental) stoppedReason property.

      Specify an array of string values to match this event if the actual value of stoppedReason 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

    • getStoppingAt

      @Stability(Experimental) @Nullable default List<String> getStoppingAt()
      (experimental) stoppingAt property.

      Specify an array of string values to match this event if the actual value of stoppingAt 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

    • getTaskDefinitionArn

      @Stability(Experimental) @Nullable default List<String> getTaskDefinitionArn()
      (experimental) taskDefinitionArn property.

      Specify an array of string values to match this event if the actual value of taskDefinitionArn 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

    • getUpdatedAt

      @Stability(Experimental) @Nullable default List<String> getUpdatedAt()
      (experimental) updatedAt property.

      Specify an array of string values to match this event if the actual value of updatedAt 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

    • getVersion

      @Stability(Experimental) @Nullable default List<String> getVersion()
      (experimental) version property.

      Specify an array of string values to match this event if the actual value of version 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 ClusterEvents.ECSTaskStateChange.ECSTaskStateChangeProps.Builder builder()
      Returns:
      a ClusterEvents.ECSTaskStateChange.ECSTaskStateChangeProps.Builder of ClusterEvents.ECSTaskStateChange.ECSTaskStateChangeProps