public class InstanceTypeConfiguration extends Object
Instance Type configuration
See http://schemas.taskcluster.net/aws-provisioner/v1/instance-type-configuration.json#
Modifier and Type | Field and Description |
---|---|
int |
capacity
This number represents the number of tasks that this instance type is capable of running concurrently.
|
String |
instanceType
InstanceType name for Amazon.
|
Object |
launchSpec
LaunchSpecification entries unique to this InstanceTypeSee http://schemas.taskcluster.net/aws-provisioner/v1/instance-type-configuration.json#/properties/launchSpec
|
String[] |
scopes
Scopes which should be included for this InstanceType.
|
Object |
secrets
Static Secrets unique to this InstanceTypeSee http://schemas.taskcluster.net/aws-provisioner/v1/instance-type-configuration.json#/properties/secrets
|
Object |
userData
UserData entries unique to this InstanceTypeSee http://schemas.taskcluster.net/aws-provisioner/v1/instance-type-configuration.json#/properties/userData
|
int |
utility
This number is a relative measure of performance between two instance types.
|
Constructor and Description |
---|
InstanceTypeConfiguration() |
public int capacity
This number represents the number of tasks that this instance type is capable of running concurrently. This is used by the provisioner to know how many pending tasks to offset a pending instance of this type by
public String instanceType
InstanceType name for Amazon.
public Object launchSpec
LaunchSpecification entries unique to this InstanceType
public String[] scopes
Scopes which should be included for this InstanceType. Scopes must be composed of printable ASCII characters and spaces.
public Object secrets
Static Secrets unique to this InstanceType
public Object userData
UserData entries unique to this InstanceType
public int utility
This number is a relative measure of performance between two instance types. It is multiplied by the spot price from Amazon to figure out which instance type is the cheapest one
Copyright © 2014–2018 Mozilla. All rights reserved.