Interface AWSAPICallViaCloudTrail.MixedInstancesPolicy

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

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

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.autoscaling.events.*;
 Object overrides;
 MixedInstancesPolicy mixedInstancesPolicy = MixedInstancesPolicy.builder()
         .instancesDistribution(InstancesDistribution.builder()
                 .onDemandAllocationStrategy(List.of("onDemandAllocationStrategy"))
                 .onDemandBaseCapacity(List.of("onDemandBaseCapacity"))
                 .onDemandPercentageAboveBaseCapacity(List.of("onDemandPercentageAboveBaseCapacity"))
                 .spotAllocationStrategy(List.of("spotAllocationStrategy"))
                 .spotInstancePools(List.of("spotInstancePools"))
                 .build())
         .launchTemplate(LaunchTemplate1.builder()
                 .launchTemplateSpecification(LaunchTemplateSpecification.builder()
                         .launchTemplateName(List.of("launchTemplateName"))
                         .version(List.of("version"))
                         .build())
                 .overrides(List.of(overrides))
                 .build())
         .build();