Interface InstanceEvents.AWSAPICallViaCloudTrail.TargetCapacitySpecification

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
InstanceEvents.AWSAPICallViaCloudTrail.TargetCapacitySpecification.Jsii$Proxy
Enclosing class:
InstanceEvents.AWSAPICallViaCloudTrail

@Stability(Experimental) public static interface InstanceEvents.AWSAPICallViaCloudTrail.TargetCapacitySpecification extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for TargetCapacitySpecification.

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.ec2.events.*;
 TargetCapacitySpecification targetCapacitySpecification = TargetCapacitySpecification.builder()
         .defaultTargetCapacityType(List.of("defaultTargetCapacityType"))
         .onDemandTargetCapacity(List.of("onDemandTargetCapacity"))
         .spotTargetCapacity(List.of("spotTargetCapacity"))
         .totalTargetCapacity(List.of("totalTargetCapacity"))
         .build();
 
  • Method Details

    • getDefaultTargetCapacityType

      @Stability(Experimental) @Nullable default List<String> getDefaultTargetCapacityType()
      (experimental) DefaultTargetCapacityType property.

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

    • getOnDemandTargetCapacity

      @Stability(Experimental) @Nullable default List<String> getOnDemandTargetCapacity()
      (experimental) OnDemandTargetCapacity property.

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

    • getSpotTargetCapacity

      @Stability(Experimental) @Nullable default List<String> getSpotTargetCapacity()
      (experimental) SpotTargetCapacity property.

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

    • getTotalTargetCapacity

      @Stability(Experimental) @Nullable default List<String> getTotalTargetCapacity()
      (experimental) TotalTargetCapacity property.

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

      Returns:
      a InstanceEvents.AWSAPICallViaCloudTrail.TargetCapacitySpecification.Builder of InstanceEvents.AWSAPICallViaCloudTrail.TargetCapacitySpecification