Interface ClusterEvents.ECSServiceAction.ECSServiceActionProps

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

@Stability(Experimental) public static interface ClusterEvents.ECSServiceAction.ECSServiceActionProps extends software.amazon.jsii.JsiiSerializable
(experimental) Props type for Cluster aws.ecs@ECSServiceAction 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.*;
 ECSServiceActionProps eCSServiceActionProps = ECSServiceActionProps.builder()
         .capacityProviderArns(List.of("capacityProviderArns"))
         .clusterArn(List.of("clusterArn"))
         .containerInstanceArns(List.of("containerInstanceArns"))
         .containerPort(List.of("containerPort"))
         .createdAt(List.of("createdAt"))
         .desiredCount(List.of("desiredCount"))
         .ec2InstanceIds(List.of("ec2InstanceIds"))
         .eventMetadata(AWSEventMetadataProps.builder()
                 .region(List.of("region"))
                 .resources(List.of("resources"))
                 .version(List.of("version"))
                 .build())
         .eventName(List.of("eventName"))
         .eventType(List.of("eventType"))
         .reason(List.of("reason"))
         .serviceRegistryArns(List.of("serviceRegistryArns"))
         .targetGroupArns(List.of("targetGroupArns"))
         .targets(List.of("targets"))
         .taskArns(List.of("taskArns"))
         .taskSetArns(List.of("taskSetArns"))
         .build();
 
  • Method Details

    • getCapacityProviderArns

      @Stability(Experimental) @Nullable default List<String> getCapacityProviderArns()
      (experimental) capacityProviderArns property.

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

    • getContainerInstanceArns

      @Stability(Experimental) @Nullable default List<String> getContainerInstanceArns()
      (experimental) containerInstanceArns property.

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

    • getContainerPort

      @Stability(Experimental) @Nullable default List<String> getContainerPort()
      (experimental) containerPort property.

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

    • getDesiredCount

      @Stability(Experimental) @Nullable default List<String> getDesiredCount()
      (experimental) desiredCount property.

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

    • getEc2InstanceIds

      @Stability(Experimental) @Nullable default List<String> getEc2InstanceIds()
      (experimental) ec2InstanceIds property.

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

    • getEventName

      @Stability(Experimental) @Nullable default List<String> getEventName()
      (experimental) eventName property.

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

    • getEventType

      @Stability(Experimental) @Nullable default List<String> getEventType()
      (experimental) eventType property.

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

    • getReason

      @Stability(Experimental) @Nullable default List<String> getReason()
      (experimental) reason property.

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

    • getServiceRegistryArns

      @Stability(Experimental) @Nullable default List<String> getServiceRegistryArns()
      (experimental) serviceRegistryArns property.

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

    • getTargetGroupArns

      @Stability(Experimental) @Nullable default List<String> getTargetGroupArns()
      (experimental) targetGroupArns property.

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

    • getTargets

      @Stability(Experimental) @Nullable default List<String> getTargets()
      (experimental) targets property.

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

    • getTaskArns

      @Stability(Experimental) @Nullable default List<String> getTaskArns()
      (experimental) taskArns property.

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

    • getTaskSetArns

      @Stability(Experimental) @Nullable default List<String> getTaskSetArns()
      (experimental) taskSetArns property.

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