Show / Hide Table of Contents

Class ElastigroupState

Inheritance
System.Object
InputArgs
ResourceArgs
ElastigroupState
Inherited Members
ResourceArgs.Empty
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()
Namespace: Pulumi.SpotInst.Aws
Assembly: Pulumi.SpotInst.dll
Syntax
public sealed class ElastigroupState : ResourceArgs

Constructors

View Source

ElastigroupState()

Declaration
public ElastigroupState()

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
Type Description
InputList<System.String>
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

The group 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<ElastigroupEbsBlockDeviceGetArgs> EbsBlockDevices { get; set; }
Property Value
Type Description
InputList<ElastigroupEbsBlockDeviceGetArgs>
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
Type Description
InputList<System.String>
View Source

ElasticLoadBalancers

Declaration
public InputList<string> ElasticLoadBalancers { get; set; }
Property Value
Type Description
InputList<System.String>
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<ElastigroupEphemeralBlockDeviceGetArgs> EphemeralBlockDevices { get; set; }
Property Value
Type Description
InputList<ElastigroupEphemeralBlockDeviceGetArgs>
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: &quot;ELB&quot;, &quot;HCS&quot;, &quot;TARGET_GROUP&quot;, &quot;MLB&quot;, &quot;EC2&quot;, &quot;MULTAI_TARGET_SET&quot;, &quot;MLB_RUNTIME&quot;, &quot;K8S_NODE&quot;, &quot;NOMAD_NODE&quot;, &quot;ECS_CLUSTER_INSTANCE&quot;.

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
Type Description
InputList<System.String>
View Source

InstanceTypesSpots

One or more instance types.

Declaration
public InputList<string> InstanceTypesSpots { get; set; }
Property Value
Type Description
InputList<System.String>
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<ElastigroupInstanceTypesWeightGetArgs> InstanceTypesWeights { get; set; }
Property Value
Type Description
InputList<ElastigroupInstanceTypesWeightGetArgs>
View Source

IntegrationBeanstalk

Declaration
public Input<ElastigroupIntegrationBeanstalkGetArgs> IntegrationBeanstalk { get; set; }
Property Value
Type Description
Input<ElastigroupIntegrationBeanstalkGetArgs>
View Source

IntegrationCodedeploy

Declaration
public Input<ElastigroupIntegrationCodedeployGetArgs> IntegrationCodedeploy { get; set; }
Property Value
Type Description
Input<ElastigroupIntegrationCodedeployGetArgs>
View Source

IntegrationDockerSwarm

Declaration
public Input<ElastigroupIntegrationDockerSwarmGetArgs> IntegrationDockerSwarm { get; set; }
Property Value
Type Description
Input<ElastigroupIntegrationDockerSwarmGetArgs>
View Source

IntegrationEcs

Declaration
public Input<ElastigroupIntegrationEcsGetArgs> IntegrationEcs { get; set; }
Property Value
Type Description
Input<ElastigroupIntegrationEcsGetArgs>
View Source

IntegrationGitlab

Declaration
public Input<ElastigroupIntegrationGitlabGetArgs> IntegrationGitlab { get; set; }
Property Value
Type Description
Input<ElastigroupIntegrationGitlabGetArgs>
View Source

IntegrationKubernetes

Declaration
public Input<ElastigroupIntegrationKubernetesGetArgs> IntegrationKubernetes { get; set; }
Property Value
Type Description
Input<ElastigroupIntegrationKubernetesGetArgs>
View Source

IntegrationMesosphere

Declaration
public Input<ElastigroupIntegrationMesosphereGetArgs> IntegrationMesosphere { get; set; }
Property Value
Type Description
Input<ElastigroupIntegrationMesosphereGetArgs>
View Source

IntegrationMultaiRuntime

Declaration
public Input<ElastigroupIntegrationMultaiRuntimeGetArgs> IntegrationMultaiRuntime { get; set; }
Property Value
Type Description
Input<ElastigroupIntegrationMultaiRuntimeGetArgs>
View Source

IntegrationNomad

Declaration
public Input<ElastigroupIntegrationNomadGetArgs> IntegrationNomad { get; set; }
Property Value
Type Description
Input<ElastigroupIntegrationNomadGetArgs>
View Source

IntegrationRancher

Declaration
public Input<ElastigroupIntegrationRancherGetArgs> IntegrationRancher { get; set; }
Property Value
Type Description
Input<ElastigroupIntegrationRancherGetArgs>
View Source

IntegrationRoute53

Declaration
public Input<ElastigroupIntegrationRoute53GetArgs> IntegrationRoute53 { get; set; }
Property Value
Type Description
Input<ElastigroupIntegrationRoute53GetArgs>
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<ElastigroupMultaiTargetSetGetArgs> MultaiTargetSets { get; set; }
Property Value
Type Description
InputList<ElastigroupMultaiTargetSetGetArgs>
View Source

Name

The group name.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

NetworkInterfaces

Declaration
public InputList<ElastigroupNetworkInterfaceGetArgs> NetworkInterfaces { get; set; }
Property Value
Type Description
InputList<ElastigroupNetworkInterfaceGetArgs>
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: &quot;balanced&quot;, &quot;costOriented&quot;, &quot;equalAzDistribution&quot;, &quot;availabilityOriented&quot;.

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 &quot;equalAzDistribution&quot;.

Declaration
public InputList<string> PreferredAvailabilityZones { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

PrivateIps

Declaration
public InputList<string> PrivateIps { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

Product

Operation system type. Valid values: &quot;Linux/UNIX&quot;, &quot;SUSE Linux&quot;, &quot;Windows&quot;. For EC2 Classic instances: &quot;Linux/UNIX (Amazon VPC)&quot;, &quot;SUSE Linux (Amazon VPC)&quot;, &quot;Windows (Amazon VPC)&quot;.

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: &quot;never&quot;, &quot;always&quot;, &quot;timeWindow&quot;

Declaration
public Input<ElastigroupRevertToSpotGetArgs> RevertToSpot { get; set; }
Property Value
Type Description
Input<ElastigroupRevertToSpotGetArgs>
View Source

ScalingDownPolicies

Declaration
public InputList<ElastigroupScalingDownPolicyGetArgs> ScalingDownPolicies { get; set; }
Property Value
Type Description
InputList<ElastigroupScalingDownPolicyGetArgs>
View Source

ScalingStrategies

Set termination policy.

Declaration
public InputList<ElastigroupScalingStrategyGetArgs> ScalingStrategies { get; set; }
Property Value
Type Description
InputList<ElastigroupScalingStrategyGetArgs>
View Source

ScalingTargetPolicies

Declaration
public InputList<ElastigroupScalingTargetPolicyGetArgs> ScalingTargetPolicies { get; set; }
Property Value
Type Description
InputList<ElastigroupScalingTargetPolicyGetArgs>
View Source

ScalingUpPolicies

Declaration
public InputList<ElastigroupScalingUpPolicyGetArgs> ScalingUpPolicies { get; set; }
Property Value
Type Description
InputList<ElastigroupScalingUpPolicyGetArgs>
View Source

ScheduledTasks

Declaration
public InputList<ElastigroupScheduledTaskGetArgs> ScheduledTasks { get; set; }
Property Value
Type Description
InputList<ElastigroupScheduledTaskGetArgs>
View Source

SecurityGroups

A list of associated security group IDS.

Declaration
public InputList<string> SecurityGroups { get; set; }
Property Value
Type Description
InputList<System.String>
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<ElastigroupSignalGetArgs> Signals { get; set; }
Property Value
Type Description
InputList<ElastigroupSignalGetArgs>
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<ElastigroupStatefulDeallocationGetArgs> StatefulDeallocation { get; set; }
Property Value
Type Description
Input<ElastigroupStatefulDeallocationGetArgs>
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
Type Description
InputList<System.String>
View Source

Tags

A key/value mapping of tags to assign to the resource.

Declaration
public InputList<ElastigroupTagGetArgs> Tags { get; set; }
Property Value
Type Description
InputList<ElastigroupTagGetArgs>
View Source

TargetGroupArns

Declaration
public InputList<string> TargetGroupArns { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

UpdatePolicy

Declaration
public Input<ElastigroupUpdatePolicyGetArgs> UpdatePolicy { get; set; }
Property Value
Type Description
Input<ElastigroupUpdatePolicyGetArgs>
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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.