Interface AWSAPICallViaCloudTrail.InstancesDistribution

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

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

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.autoscaling.events.*;
 InstancesDistribution instancesDistribution = InstancesDistribution.builder()
         .onDemandAllocationStrategy(List.of("onDemandAllocationStrategy"))
         .onDemandBaseCapacity(List.of("onDemandBaseCapacity"))
         .onDemandPercentageAboveBaseCapacity(List.of("onDemandPercentageAboveBaseCapacity"))
         .spotAllocationStrategy(List.of("spotAllocationStrategy"))
         .spotInstancePools(List.of("spotInstancePools"))
         .build();
 
  • Method Details

    • getOnDemandAllocationStrategy

      @Stability(Experimental) @Nullable default List<String> getOnDemandAllocationStrategy()
      (experimental) onDemandAllocationStrategy property.

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

    • getOnDemandBaseCapacity

      @Stability(Experimental) @Nullable default List<String> getOnDemandBaseCapacity()
      (experimental) onDemandBaseCapacity property.

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

    • getOnDemandPercentageAboveBaseCapacity

      @Stability(Experimental) @Nullable default List<String> getOnDemandPercentageAboveBaseCapacity()
      (experimental) onDemandPercentageAboveBaseCapacity property.

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

    • getSpotAllocationStrategy

      @Stability(Experimental) @Nullable default List<String> getSpotAllocationStrategy()
      (experimental) spotAllocationStrategy property.

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

    • getSpotInstancePools

      @Stability(Experimental) @Nullable default List<String> getSpotInstancePools()
      (experimental) spotInstancePools property.

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