Interface InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions1

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

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

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.*;
 SpotOptions1 spotOptions1 = SpotOptions1.builder()
         .maxPrice(List.of("maxPrice"))
         .spotInstanceType(List.of("spotInstanceType"))
         .build();
 
  • Method Details

    • getMaxPrice

      @Stability(Experimental) @Nullable default List<String> getMaxPrice()
      (experimental) maxPrice property.

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

    • getSpotInstanceType

      @Stability(Experimental) @Nullable default List<String> getSpotInstanceType()
      (experimental) spotInstanceType property.

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