Interface InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions2
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions2.Jsii$Proxy
- Enclosing class:
InstanceEvents.AWSAPICallViaCloudTrail
@Stability(Experimental)
public static interface InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions2
extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for SpotOptions_2.
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.*;
SpotOptions2 spotOptions2 = SpotOptions2.builder()
.maxPrice(List.of("maxPrice"))
.spotInstanceType(List.of("spotInstanceType"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forInstanceEvents.AWSAPICallViaCloudTrail.SpotOptions2static final classAn implementation forInstanceEvents.AWSAPICallViaCloudTrail.SpotOptions2 -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) MaxPrice property.(experimental) SpotInstanceType property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
@Stability(Experimental) static InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions2.Builder builder()
-