Interface AWSAPICallViaCloudTrail.InstanceMarketOptions1

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

@Stability(Experimental) public static interface AWSAPICallViaCloudTrail.InstanceMarketOptions1 extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for InstanceMarketOptions_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.*;
 InstanceMarketOptions1 instanceMarketOptions1 = InstanceMarketOptions1.builder()
         .marketType(List.of("marketType"))
         .spotOptions(SpotOptions2.builder()
                 .maxPrice(List.of("maxPrice"))
                 .spotInstanceType(List.of("spotInstanceType"))
                 .build())
         .build();
 
  • Method Details

    • getMarketType

      @Stability(Experimental) @Nullable default List<String> getMarketType()
      (experimental) MarketType property.

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

    • getSpotOptions

      @Stability(Experimental) @Nullable default AWSAPICallViaCloudTrail.SpotOptions2 getSpotOptions()
      (experimental) SpotOptions property.

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