Interface InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetRequest

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

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

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.*;
 Object overrides;
 CreateFleetRequest createFleetRequest = CreateFleetRequest.builder()
         .clientToken(List.of("clientToken"))
         .existingInstances(ExistingInstances.builder()
                 .availabilityZone(List.of("availabilityZone"))
                 .count(List.of("count"))
                 .instanceType(List.of("instanceType"))
                 .marketOption(List.of("marketOption"))
                 .operatingSystem(List.of("operatingSystem"))
                 .tag(List.of("tag"))
                 .build())
         .launchTemplateConfigs(LaunchTemplateConfigs.builder()
                 .launchTemplateSpecification(LaunchTemplateSpecification.builder()
                         .launchTemplateId(List.of("launchTemplateId"))
                         .version(List.of("version"))
                         .build())
                 .overrides(List.of(overrides))
                 .tag(List.of("tag"))
                 .build())
         .onDemandOptions(OnDemandOptions.builder()
                 .allocationStrategy(List.of("allocationStrategy"))
                 .instancePoolConstraintFilterDisabled(List.of("instancePoolConstraintFilterDisabled"))
                 .maxInstanceCount(List.of("maxInstanceCount"))
                 .maxTargetCapacity(List.of("maxTargetCapacity"))
                 .build())
         .spotOptions(SpotOptions.builder()
                 .allocationStrategy(List.of("allocationStrategy"))
                 .instancePoolConstraintFilterDisabled(List.of("instancePoolConstraintFilterDisabled"))
                 .instancePoolsToUseCount(List.of("instancePoolsToUseCount"))
                 .maxInstanceCount(List.of("maxInstanceCount"))
                 .maxTargetCapacity(List.of("maxTargetCapacity"))
                 .build())
         .tagSpecification(TagSpecification.builder()
                 .resourceType(List.of("resourceType"))
                 .tag(Tag.builder()
                         .key(List.of("key"))
                         .tag(List.of("tag"))
                         .value(List.of("value"))
                         .build())
                 .build())
         .targetCapacitySpecification(TargetCapacitySpecification.builder()
                 .defaultTargetCapacityType(List.of("defaultTargetCapacityType"))
                 .onDemandTargetCapacity(List.of("onDemandTargetCapacity"))
                 .spotTargetCapacity(List.of("spotTargetCapacity"))
                 .totalTargetCapacity(List.of("totalTargetCapacity"))
                 .build())
         .type(List.of("type"))
         .build();
 
  • Method Details

    • getClientToken

      @Stability(Experimental) @Nullable default List<String> getClientToken()
      (experimental) ClientToken property.

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

    • getExistingInstances

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.ExistingInstances getExistingInstances()
      (experimental) ExistingInstances property.

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

    • getLaunchTemplateConfigs

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplateConfigs getLaunchTemplateConfigs()
      (experimental) LaunchTemplateConfigs property.

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

    • getOnDemandOptions

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.OnDemandOptions getOnDemandOptions()
      (experimental) OnDemandOptions property.

      Specify an array of string values to match this event if the actual value of OnDemandOptions 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 InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions 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

    • getTagSpecification

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.TagSpecification getTagSpecification()
      (experimental) TagSpecification property.

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

    • getTargetCapacitySpecification

      @Stability(Experimental) @Nullable default InstanceEvents.AWSAPICallViaCloudTrail.TargetCapacitySpecification getTargetCapacitySpecification()
      (experimental) TargetCapacitySpecification property.

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

    • getType

      @Stability(Experimental) @Nullable default List<String> getType()
      (experimental) Type property.

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