| Modifier and Type | Method and Description |
|---|---|
default ComputeResourceType |
ComputeResources.getType()
(experimental) The type of compute environment: ON_DEMAND or SPOT.
|
ComputeResourceType |
ComputeResources.Jsii$Proxy.getType() |
static ComputeResourceType |
ComputeResourceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComputeResourceType[] |
ComputeResourceType.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.type(ComputeResourceType type)
Sets the value of
ComputeResources.getType() |
| 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.