Interface InstanceEvents.AWSAPICallViaCloudTrail.OnDemandOptions

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

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

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.*;
 OnDemandOptions onDemandOptions = OnDemandOptions.builder()
         .allocationStrategy(List.of("allocationStrategy"))
         .instancePoolConstraintFilterDisabled(List.of("instancePoolConstraintFilterDisabled"))
         .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

    • 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.OnDemandOptions.Builder builder()
      Returns:
      a InstanceEvents.AWSAPICallViaCloudTrail.OnDemandOptions.Builder of InstanceEvents.AWSAPICallViaCloudTrail.OnDemandOptions