| Modifier and Type | Method and Description |
|---|---|
default AllocationStrategy |
ComputeResources.getAllocationStrategy()
(experimental) The allocation strategy to use for the compute resource in case not enough instances of the best fitting instance type can be allocated.
|
AllocationStrategy |
ComputeResources.Jsii$Proxy.getAllocationStrategy() |
static AllocationStrategy |
AllocationStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllocationStrategy[] |
AllocationStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ComputeResources.Builder |
ComputeResources.Builder.allocationStrategy(AllocationStrategy allocationStrategy)
Sets the value of
ComputeResources.getAllocationStrategy() |
| Constructor and Description |
|---|
Jsii$Proxy(IVpc vpc,
AllocationStrategy allocationStrategy,
Number bidPercentage,
Map<String,String> computeResourcesTags,
Number desiredvCpus,
String ec2KeyPair,
IMachineImage image,
String instanceRole,
List<? extends InstanceType> instanceTypes,
LaunchTemplateSpecification launchTemplate,
Number maxvCpus,
Number minvCpus,
String placementGroup,
List<? extends ISecurityGroup> securityGroups,
IRole spotFleetRole,
ComputeResourceType type,
SubnetSelection vpcSubnets)
Constructor that initializes the object based on literal property values passed by the
ComputeResources.Builder. |
Copyright © 2021. All rights reserved.