Interface InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions

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

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

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.*;
 SpotOptions spotOptions = SpotOptions.builder()
         .allocationStrategy(List.of("allocationStrategy"))
         .instancePoolConstraintFilterDisabled(List.of("instancePoolConstraintFilterDisabled"))
         .instancePoolsToUseCount(List.of("instancePoolsToUseCount"))
         .maxInstanceCount(List.of("maxInstanceCount"))
         .maxTargetCapacity(List.of("maxTargetCapacity"))
         .build();
 
  • Method Details

    • getAllocationStrategy

      @Stability(Experimental) @Nullable default List<String> getAllocationStrategy()
      (experimental) AllocationStrategy property.

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

    • getInstancePoolConstraintFilterDisabled

      @Stability(Experimental) @Nullable default List<String> getInstancePoolConstraintFilterDisabled()
      (experimental) InstancePoolConstraintFilterDisabled property.

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

    • getInstancePoolsToUseCount

      @Stability(Experimental) @Nullable default List<String> getInstancePoolsToUseCount()
      (experimental) InstancePoolsToUseCount property.

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

    • getMaxInstanceCount

      @Stability(Experimental) @Nullable default List<String> getMaxInstanceCount()
      (experimental) MaxInstanceCount property.

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

    • getMaxTargetCapacity

      @Stability(Experimental) @Nullable default List<String> getMaxTargetCapacity()
      (experimental) MaxTargetCapacity property.

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