Class ElastigroupArgs
Inheritance
System.Object
ElastigroupArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.SpotInst.dll
Syntax
public sealed class ElastigroupArgs : ResourceArgs
Constructors
View Source
ElastigroupArgs()
Declaration
Properties
View Source
AvailabilityZones
List of Strings of availability zones. When this parameter is set, subnet_ids should be left unused.
Note: availability_zones naming syntax follows the convention availability-zone:subnet:placement-group-name. For example, to set an AZ in us-east-1 with subnet subnet-123456 and placement group ClusterI03, you would set:
availability_zones = ["us-east-1a:subnet-123456:ClusterI03"]
Declaration
public InputList<string> AvailabilityZones { get; set; }
Property Value
View Source
BlockDevicesMode
Declaration
public Input<string> BlockDevicesMode { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
CapacityUnit
The capacity unit to launch instances by. If not specified, when choosing the weight unit, each instance will weight as the number of its vCPUs.
Declaration
public Input<string> CapacityUnit { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
CpuCredits
Controls how T3 instances are launched. Valid values: standard, unlimited.
Declaration
public Input<string> CpuCredits { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Description
Declaration
public Input<string> Description { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DesiredCapacity
The desired number of instances the group should have at any time.
Declaration
public Input<int> DesiredCapacity { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
DrainingTimeout
The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
Declaration
public Input<int> DrainingTimeout { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
EbsBlockDevices
Declaration
public InputList<ElastigroupEbsBlockDeviceArgs> EbsBlockDevices { get; set; }
Property Value
View Source
EbsOptimized
Enable high bandwidth connectivity between instances and AWS’s Elastic Block Store (EBS). For instance types that are EBS-optimized by default this parameter will be ignored.
Declaration
public Input<bool> EbsOptimized { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
ElasticIps
A list of AWS Elastic IP allocation IDs to associate to the group instances.
Declaration
public InputList<string> ElasticIps { get; set; }
Property Value
View Source
ElasticLoadBalancers
Declaration
public InputList<string> ElasticLoadBalancers { get; set; }
Property Value
View Source
EnableMonitoring
Indicates whether monitoring is enabled for the instance.
Declaration
public Input<bool> EnableMonitoring { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
EphemeralBlockDevices
Declaration
public InputList<ElastigroupEphemeralBlockDeviceArgs> EphemeralBlockDevices { get; set; }
Property Value
View Source
FallbackToOndemand
In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.
Declaration
public Input<bool> FallbackToOndemand { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
HealthCheckGracePeriod
The amount of time, in seconds, after the instance has launched to starts and check its health.
Declaration
public Input<int> HealthCheckGracePeriod { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
HealthCheckType
The service that will perform health checks for the instance. Valid values: "ELB", "HCS", "TARGET_GROUP", "MLB", "EC2", "MULTAI_TARGET_SET", "MLB_RUNTIME", "K8S_NODE", "NOMAD_NODE", "ECS_CLUSTER_INSTANCE".
Declaration
public Input<string> HealthCheckType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
HealthCheckUnhealthyDurationBeforeReplacement
The amount of time, in seconds, that we will wait before replacing an instance that is running and became unhealthy (this is only applicable for instances that were once healthy).
Declaration
public Input<int> HealthCheckUnhealthyDurationBeforeReplacement { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
IamInstanceProfile
The ARN or name of an IAM instance profile to associate with launched instances.
Declaration
public Input<string> IamInstanceProfile { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ImageId
The ID of the AMI used to launch the instance.
Declaration
public Input<string> ImageId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstanceTypesOndemand
The type of instance determines your instance's CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).
Declaration
public Input<string> InstanceTypesOndemand { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstanceTypesPreferredSpots
Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.
Declaration
public InputList<string> InstanceTypesPreferredSpots { get; set; }
Property Value
View Source
InstanceTypesSpots
One or more instance types.
Declaration
public InputList<string> InstanceTypesSpots { get; set; }
Property Value
View Source
InstanceTypesWeights
List of weights per instance type for weighted groups. Each object in the list should have the following attributes:
Declaration
public InputList<ElastigroupInstanceTypesWeightArgs> InstanceTypesWeights { get; set; }
Property Value
View Source
IntegrationBeanstalk
Declaration
public Input<ElastigroupIntegrationBeanstalkArgs> IntegrationBeanstalk { get; set; }
Property Value
View Source
IntegrationCodedeploy
Declaration
public Input<ElastigroupIntegrationCodedeployArgs> IntegrationCodedeploy { get; set; }
Property Value
View Source
IntegrationDockerSwarm
Declaration
public Input<ElastigroupIntegrationDockerSwarmArgs> IntegrationDockerSwarm { get; set; }
Property Value
View Source
IntegrationEcs
Declaration
public Input<ElastigroupIntegrationEcsArgs> IntegrationEcs { get; set; }
Property Value
View Source
IntegrationGitlab
Declaration
public Input<ElastigroupIntegrationGitlabArgs> IntegrationGitlab { get; set; }
Property Value
View Source
IntegrationKubernetes
Declaration
public Input<ElastigroupIntegrationKubernetesArgs> IntegrationKubernetes { get; set; }
Property Value
View Source
IntegrationMesosphere
Declaration
public Input<ElastigroupIntegrationMesosphereArgs> IntegrationMesosphere { get; set; }
Property Value
View Source
IntegrationMultaiRuntime
Declaration
public Input<ElastigroupIntegrationMultaiRuntimeArgs> IntegrationMultaiRuntime { get; set; }
Property Value
View Source
IntegrationNomad
Declaration
public Input<ElastigroupIntegrationNomadArgs> IntegrationNomad { get; set; }
Property Value
View Source
IntegrationRancher
Declaration
public Input<ElastigroupIntegrationRancherArgs> IntegrationRancher { get; set; }
Property Value
View Source
IntegrationRoute53
Declaration
public Input<ElastigroupIntegrationRoute53Args> IntegrationRoute53 { get; set; }
Property Value
View Source
KeyName
The key name that should be used for the instance.
Declaration
public Input<string> KeyName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
LifetimePeriod
Declaration
public Input<string> LifetimePeriod { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
MaxSize
The maximum number of instances the group should have at any time.
Declaration
public Input<int> MaxSize { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
MinSize
The minimum number of instances the group should have at any time.
Declaration
public Input<int> MinSize { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
MultaiTargetSets
Declaration
public InputList<ElastigroupMultaiTargetSetArgs> MultaiTargetSets { get; set; }
Property Value
View Source
Name
Declaration
public Input<string> Name { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
NetworkInterfaces
Declaration
public InputList<ElastigroupNetworkInterfaceArgs> NetworkInterfaces { get; set; }
Property Value
View Source
OndemandCount
Number of on demand instances to launch in the group. All other instances will be spot instances. When this parameter is set the spot_percentage parameter is being ignored.
Declaration
public Input<int> OndemandCount { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
Orientation
Select a prediction strategy. Valid values: "balanced", "costOriented", "equalAzDistribution", "availabilityOriented".
Declaration
public Input<string> Orientation { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
PersistBlockDevices
Declaration
public Input<bool> PersistBlockDevices { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
PersistPrivateIp
Declaration
public Input<bool> PersistPrivateIp { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
PersistRootDevice
Declaration
public Input<bool> PersistRootDevice { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
PlacementTenancy
Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.
Declaration
public Input<string> PlacementTenancy { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
PreferredAvailabilityZones
The AZs to prioritize when launching Spot instances. If no markets are available in the Preferred AZs, Spot instances are launched in the non-preferred AZs.
Note: Must be a sublist of availability_zones and orientation value must not be "equalAzDistribution".
Declaration
public InputList<string> PreferredAvailabilityZones { get; set; }
Property Value
View Source
PrivateIps
Declaration
public InputList<string> PrivateIps { get; set; }
Property Value
View Source
Product
Operation system type. Valid values: "Linux/UNIX", "SUSE Linux", "Windows".
For EC2 Classic instances: "Linux/UNIX (Amazon VPC)", "SUSE Linux (Amazon VPC)", "Windows (Amazon VPC)".
Declaration
public Input<string> Product { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Region
The AWS region your group will be created in.
Note: This parameter is required if you specify subnets (through subnet_ids). This parameter is optional if you specify Availability Zones (through availability_zones).
Declaration
public Input<string> Region { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
RevertToSpot
Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values: "never", "always", "timeWindow"
Declaration
public Input<ElastigroupRevertToSpotArgs> RevertToSpot { get; set; }
Property Value
View Source
ScalingDownPolicies
Declaration
public InputList<ElastigroupScalingDownPolicyArgs> ScalingDownPolicies { get; set; }
Property Value
View Source
ScalingStrategies
Declaration
public InputList<ElastigroupScalingStrategyArgs> ScalingStrategies { get; set; }
Property Value
View Source
ScalingTargetPolicies
Declaration
public InputList<ElastigroupScalingTargetPolicyArgs> ScalingTargetPolicies { get; set; }
Property Value
View Source
ScalingUpPolicies
Declaration
public InputList<ElastigroupScalingUpPolicyArgs> ScalingUpPolicies { get; set; }
Property Value
View Source
ScheduledTasks
Declaration
public InputList<ElastigroupScheduledTaskArgs> ScheduledTasks { get; set; }
Property Value
View Source
SecurityGroups
A list of associated security group IDS.
Declaration
public InputList<string> SecurityGroups { get; set; }
Property Value
View Source
ShutdownScript
The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script
Declaration
public Input<string> ShutdownScript { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Signals
Declaration
public InputList<ElastigroupSignalArgs> Signals { get; set; }
Property Value
View Source
SpotPercentage
The percentage of Spot instances that would spin up from the desired_capacity number.
Declaration
public Input<double> SpotPercentage { get; set; }
Property Value
| Type |
Description |
| Input<System.Double> |
|
View Source
StatefulDeallocation
Declaration
public Input<ElastigroupStatefulDeallocationArgs> StatefulDeallocation { get; set; }
Property Value
View Source
SubnetIds
List of Strings of subnet identifiers.
Note: When this parameter is set, availability_zones should be left unused.
Declaration
public InputList<string> SubnetIds { get; set; }
Property Value
View Source
A key/value mapping of tags to assign to the resource.
Declaration
public InputList<ElastigroupTagArgs> Tags { get; set; }
Property Value
View Source
TargetGroupArns
Declaration
public InputList<string> TargetGroupArns { get; set; }
Property Value
View Source
UpdatePolicy
Declaration
public Input<ElastigroupUpdatePolicyArgs> UpdatePolicy { get; set; }
Property Value
View Source
UserData
The user data to provide when launching the instance.
Declaration
public Input<string> UserData { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
UtilizeReservedInstances
In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.
Declaration
public Input<bool> UtilizeReservedInstances { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
WaitForCapacity
Minimum number of instances in a 'HEALTHY' status that is required before continuing. This is ignored when updating with blue/green deployment. Cannot exceed desired_capacity.
Declaration
public Input<int> WaitForCapacity { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
WaitForCapacityTimeout
Time (seconds) to wait for instances to report a 'HEALTHY' status. Useful for plans with multiple dependencies that take some time to initialize. Leave undefined or set to 0 to indicate no wait. This is ignored when updating with blue/green deployment.
Declaration
public Input<int> WaitForCapacityTimeout { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|