Elastigroup

Create a Elastigroup Resource

def Elastigroup(resource_name, opts=None, availability_zones=None, block_devices_mode=None, capacity_unit=None, cpu_credits=None, description=None, desired_capacity=None, draining_timeout=None, ebs_block_devices=None, ebs_optimized=None, elastic_ips=None, elastic_load_balancers=None, enable_monitoring=None, ephemeral_block_devices=None, fallback_to_ondemand=None, health_check_grace_period=None, health_check_type=None, health_check_unhealthy_duration_before_replacement=None, iam_instance_profile=None, image_id=None, instance_types_ondemand=None, instance_types_preferred_spots=None, instance_types_spots=None, instance_types_weights=None, integration_beanstalk=None, integration_codedeploy=None, integration_docker_swarm=None, integration_ecs=None, integration_gitlab=None, integration_kubernetes=None, integration_mesosphere=None, integration_multai_runtime=None, integration_nomad=None, integration_rancher=None, integration_route53=None, key_name=None, lifetime_period=None, max_size=None, min_size=None, multai_target_sets=None, name=None, network_interfaces=None, ondemand_count=None, orientation=None, persist_block_devices=None, persist_private_ip=None, persist_root_device=None, placement_tenancy=None, preferred_availability_zones=None, private_ips=None, product=None, region=None, revert_to_spot=None, scaling_down_policies=None, scaling_strategies=None, scaling_target_policies=None, scaling_up_policies=None, scheduled_tasks=None, security_groups=None, shutdown_script=None, signals=None, spot_percentage=None, stateful_deallocation=None, subnet_ids=None, tags=None, target_group_arns=None, update_policy=None, user_data=None, utilize_reserved_instances=None, wait_for_capacity=None, wait_for_capacity_timeout=None, __props__=None);
func NewElastigroup(ctx *Context, name string, args ElastigroupArgs, opts ...ResourceOption) (*Elastigroup, error)
public Elastigroup(string name, ElastigroupArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ElastigroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ElastigroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ElastigroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Elastigroup Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Elastigroup resource accepts the following input properties:

FallbackToOndemand bool

In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.

InstanceTypesOndemand string

The type of instance determines your instance’s CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).

InstanceTypesSpots List<string>

One or more instance types.

Orientation string

Select a prediction strategy. Valid values: "balanced", "costOriented", "equalAzDistribution", "availabilityOriented".

Product string

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)".

SecurityGroups List<string>

A list of associated security group IDS.

AvailabilityZones List<string>

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"]

BlockDevicesMode string
CapacityUnit string

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.

CpuCredits string

Controls how T3 instances are launched. Valid values: standard, unlimited.

Description string

The group description.

DesiredCapacity int

The desired number of instances the group should have at any time.

DrainingTimeout int

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.

EbsBlockDevices List<Pulumi.SpotInst.Aws.Inputs.ElastigroupEbsBlockDeviceArgs>
EbsOptimized bool

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.

ElasticIps List<string>

A list of AWS Elastic IP allocation IDs to associate to the group instances.

ElasticLoadBalancers List<string>
EnableMonitoring bool

Indicates whether monitoring is enabled for the instance.

EphemeralBlockDevices List<Pulumi.SpotInst.Aws.Inputs.ElastigroupEphemeralBlockDeviceArgs>
HealthCheckGracePeriod int

The amount of time, in seconds, after the instance has launched to starts and check its health.

HealthCheckType string

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".

HealthCheckUnhealthyDurationBeforeReplacement int

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).

IamInstanceProfile string

The ARN or name of an IAM instance profile to associate with launched instances.

ImageId string

The ID of the AMI used to launch the instance.

InstanceTypesPreferredSpots List<string>

Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.

InstanceTypesWeights List<Pulumi.SpotInst.Aws.Inputs.ElastigroupInstanceTypesWeightArgs>

List of weights per instance type for weighted groups. Each object in the list should have the following attributes:

IntegrationBeanstalk Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationBeanstalkArgs
IntegrationCodedeploy Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationCodedeployArgs
IntegrationDockerSwarm Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationDockerSwarmArgs
IntegrationEcs Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationEcsArgs
IntegrationGitlab Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationGitlabArgs
IntegrationKubernetes Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationKubernetesArgs
IntegrationMesosphere Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationMesosphereArgs
IntegrationMultaiRuntime Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationMultaiRuntimeArgs
IntegrationNomad Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationNomadArgs
IntegrationRancher Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationRancherArgs
IntegrationRoute53 Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationRoute53Args
KeyName string

The key name that should be used for the instance.

LifetimePeriod string
MaxSize int

The maximum number of instances the group should have at any time.

MinSize int

The minimum number of instances the group should have at any time.

MultaiTargetSets List<Pulumi.SpotInst.Aws.Inputs.ElastigroupMultaiTargetSetArgs>
Name string

The group name.

NetworkInterfaces List<Pulumi.SpotInst.Aws.Inputs.ElastigroupNetworkInterfaceArgs>
OndemandCount int

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.

PersistBlockDevices bool
PersistPrivateIp bool
PersistRootDevice bool
PlacementTenancy string

Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.

PreferredAvailabilityZones List<string>

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".

PrivateIps List<string>
Region string

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).

RevertToSpot Pulumi.SpotInst.Aws.Inputs.ElastigroupRevertToSpotArgs

Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values: "never", "always", "timeWindow"

ScalingDownPolicies List<Pulumi.SpotInst.Aws.Inputs.ElastigroupScalingDownPolicyArgs>
ScalingStrategies List<Pulumi.SpotInst.Aws.Inputs.ElastigroupScalingStrategyArgs>

Set termination policy.

ScalingTargetPolicies List<Pulumi.SpotInst.Aws.Inputs.ElastigroupScalingTargetPolicyArgs>
ScalingUpPolicies List<Pulumi.SpotInst.Aws.Inputs.ElastigroupScalingUpPolicyArgs>
ScheduledTasks List<Pulumi.SpotInst.Aws.Inputs.ElastigroupScheduledTaskArgs>
ShutdownScript string

The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script

Signals List<Pulumi.SpotInst.Aws.Inputs.ElastigroupSignalArgs>
SpotPercentage double

The percentage of Spot instances that would spin up from the desired_capacity number.

StatefulDeallocation Pulumi.SpotInst.Aws.Inputs.ElastigroupStatefulDeallocationArgs
SubnetIds List<string>

List of Strings of subnet identifiers. Note: When this parameter is set, availability_zones should be left unused.

Tags List<Pulumi.SpotInst.Aws.Inputs.ElastigroupTagArgs>

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

TargetGroupArns List<string>
UpdatePolicy Pulumi.SpotInst.Aws.Inputs.ElastigroupUpdatePolicyArgs
UserData string

The user data to provide when launching the instance.

UtilizeReservedInstances bool

In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.

WaitForCapacity int

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.

WaitForCapacityTimeout int

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.

FallbackToOndemand bool

In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.

InstanceTypesOndemand string

The type of instance determines your instance’s CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).

InstanceTypesSpots []string

One or more instance types.

Orientation string

Select a prediction strategy. Valid values: "balanced", "costOriented", "equalAzDistribution", "availabilityOriented".

Product string

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)".

SecurityGroups []string

A list of associated security group IDS.

AvailabilityZones []string

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"]

BlockDevicesMode string
CapacityUnit string

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.

CpuCredits string

Controls how T3 instances are launched. Valid values: standard, unlimited.

Description string

The group description.

DesiredCapacity int

The desired number of instances the group should have at any time.

DrainingTimeout int

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.

EbsBlockDevices []ElastigroupEbsBlockDevice
EbsOptimized bool

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.

ElasticIps []string

A list of AWS Elastic IP allocation IDs to associate to the group instances.

ElasticLoadBalancers []string
EnableMonitoring bool

Indicates whether monitoring is enabled for the instance.

EphemeralBlockDevices []ElastigroupEphemeralBlockDevice
HealthCheckGracePeriod int

The amount of time, in seconds, after the instance has launched to starts and check its health.

HealthCheckType string

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".

HealthCheckUnhealthyDurationBeforeReplacement int

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).

IamInstanceProfile string

The ARN or name of an IAM instance profile to associate with launched instances.

ImageId string

The ID of the AMI used to launch the instance.

InstanceTypesPreferredSpots []string

Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.

InstanceTypesWeights []ElastigroupInstanceTypesWeight

List of weights per instance type for weighted groups. Each object in the list should have the following attributes:

IntegrationBeanstalk ElastigroupIntegrationBeanstalk
IntegrationCodedeploy ElastigroupIntegrationCodedeploy
IntegrationDockerSwarm ElastigroupIntegrationDockerSwarm
IntegrationEcs ElastigroupIntegrationEcs
IntegrationGitlab ElastigroupIntegrationGitlab
IntegrationKubernetes ElastigroupIntegrationKubernetes
IntegrationMesosphere ElastigroupIntegrationMesosphere
IntegrationMultaiRuntime ElastigroupIntegrationMultaiRuntime
IntegrationNomad ElastigroupIntegrationNomad
IntegrationRancher ElastigroupIntegrationRancher
IntegrationRoute53 ElastigroupIntegrationRoute53
KeyName string

The key name that should be used for the instance.

LifetimePeriod string
MaxSize int

The maximum number of instances the group should have at any time.

MinSize int

The minimum number of instances the group should have at any time.

MultaiTargetSets []ElastigroupMultaiTargetSet
Name string

The group name.

NetworkInterfaces []ElastigroupNetworkInterface
OndemandCount int

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.

PersistBlockDevices bool
PersistPrivateIp bool
PersistRootDevice bool
PlacementTenancy string

Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.

PreferredAvailabilityZones []string

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".

PrivateIps []string
Region string

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).

RevertToSpot ElastigroupRevertToSpot

Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values: "never", "always", "timeWindow"

ScalingDownPolicies []ElastigroupScalingDownPolicy
ScalingStrategies []ElastigroupScalingStrategy

Set termination policy.

ScalingTargetPolicies []ElastigroupScalingTargetPolicy
ScalingUpPolicies []ElastigroupScalingUpPolicy
ScheduledTasks []ElastigroupScheduledTask
ShutdownScript string

The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script

Signals []ElastigroupSignal
SpotPercentage float64

The percentage of Spot instances that would spin up from the desired_capacity number.

StatefulDeallocation ElastigroupStatefulDeallocation
SubnetIds []string

List of Strings of subnet identifiers. Note: When this parameter is set, availability_zones should be left unused.

Tags []ElastigroupTag

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

TargetGroupArns []string
UpdatePolicy ElastigroupUpdatePolicy
UserData string

The user data to provide when launching the instance.

UtilizeReservedInstances bool

In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.

WaitForCapacity int

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.

WaitForCapacityTimeout int

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.

fallbackToOndemand boolean

In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.

instanceTypesOndemand string

The type of instance determines your instance’s CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).

instanceTypesSpots string[]

One or more instance types.

orientation string

Select a prediction strategy. Valid values: "balanced", "costOriented", "equalAzDistribution", "availabilityOriented".

product string

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)".

securityGroups string[]

A list of associated security group IDS.

availabilityZones string[]

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"]

blockDevicesMode string
capacityUnit string

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.

cpuCredits string

Controls how T3 instances are launched. Valid values: standard, unlimited.

description string

The group description.

desiredCapacity number

The desired number of instances the group should have at any time.

drainingTimeout number

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.

ebsBlockDevices ElastigroupEbsBlockDevice[]
ebsOptimized boolean

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.

elasticIps string[]

A list of AWS Elastic IP allocation IDs to associate to the group instances.

elasticLoadBalancers string[]
enableMonitoring boolean

Indicates whether monitoring is enabled for the instance.

ephemeralBlockDevices ElastigroupEphemeralBlockDevice[]
healthCheckGracePeriod number

The amount of time, in seconds, after the instance has launched to starts and check its health.

healthCheckType string

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".

healthCheckUnhealthyDurationBeforeReplacement number

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).

iamInstanceProfile string

The ARN or name of an IAM instance profile to associate with launched instances.

imageId string

The ID of the AMI used to launch the instance.

instanceTypesPreferredSpots string[]

Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.

instanceTypesWeights ElastigroupInstanceTypesWeight[]

List of weights per instance type for weighted groups. Each object in the list should have the following attributes:

integrationBeanstalk ElastigroupIntegrationBeanstalk
integrationCodedeploy ElastigroupIntegrationCodedeploy
integrationDockerSwarm ElastigroupIntegrationDockerSwarm
integrationEcs ElastigroupIntegrationEcs
integrationGitlab ElastigroupIntegrationGitlab
integrationKubernetes ElastigroupIntegrationKubernetes
integrationMesosphere ElastigroupIntegrationMesosphere
integrationMultaiRuntime ElastigroupIntegrationMultaiRuntime
integrationNomad ElastigroupIntegrationNomad
integrationRancher ElastigroupIntegrationRancher
integrationRoute53 ElastigroupIntegrationRoute53
keyName string

The key name that should be used for the instance.

lifetimePeriod string
maxSize number

The maximum number of instances the group should have at any time.

minSize number

The minimum number of instances the group should have at any time.

multaiTargetSets ElastigroupMultaiTargetSet[]
name string

The group name.

networkInterfaces ElastigroupNetworkInterface[]
ondemandCount number

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.

persistBlockDevices boolean
persistPrivateIp boolean
persistRootDevice boolean
placementTenancy string

Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.

preferredAvailabilityZones string[]

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".

privateIps string[]
region string

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).

revertToSpot ElastigroupRevertToSpot

Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values: "never", "always", "timeWindow"

scalingDownPolicies ElastigroupScalingDownPolicy[]
scalingStrategies ElastigroupScalingStrategy[]

Set termination policy.

scalingTargetPolicies ElastigroupScalingTargetPolicy[]
scalingUpPolicies ElastigroupScalingUpPolicy[]
scheduledTasks ElastigroupScheduledTask[]
shutdownScript string

The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script

signals ElastigroupSignal[]
spotPercentage number

The percentage of Spot instances that would spin up from the desired_capacity number.

statefulDeallocation ElastigroupStatefulDeallocation
subnetIds string[]

List of Strings of subnet identifiers. Note: When this parameter is set, availability_zones should be left unused.

tags ElastigroupTag[]

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

targetGroupArns string[]
updatePolicy ElastigroupUpdatePolicy
userData string

The user data to provide when launching the instance.

utilizeReservedInstances boolean

In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.

waitForCapacity number

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.

waitForCapacityTimeout number

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.

fallback_to_ondemand bool

In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.

instance_types_ondemand str

The type of instance determines your instance’s CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).

instance_types_spots List[str]

One or more instance types.

orientation str

Select a prediction strategy. Valid values: "balanced", "costOriented", "equalAzDistribution", "availabilityOriented".

product str

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)".

security_groups List[str]

A list of associated security group IDS.

availability_zones List[str]

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"]

block_devices_mode str
capacity_unit str

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.

cpu_credits str

Controls how T3 instances are launched. Valid values: standard, unlimited.

description str

The group description.

desired_capacity float

The desired number of instances the group should have at any time.

draining_timeout float

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.

ebs_block_devices List[ElastigroupEbsBlockDevice]
ebs_optimized bool

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.

elastic_ips List[str]

A list of AWS Elastic IP allocation IDs to associate to the group instances.

elastic_load_balancers List[str]
enable_monitoring bool

Indicates whether monitoring is enabled for the instance.

ephemeral_block_devices List[ElastigroupEphemeralBlockDevice]
health_check_grace_period float

The amount of time, in seconds, after the instance has launched to starts and check its health.

health_check_type str

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".

health_check_unhealthy_duration_before_replacement float

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).

iam_instance_profile str

The ARN or name of an IAM instance profile to associate with launched instances.

image_id str

The ID of the AMI used to launch the instance.

instance_types_preferred_spots List[str]

Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.

instance_types_weights List[ElastigroupInstanceTypesWeight]

List of weights per instance type for weighted groups. Each object in the list should have the following attributes:

integration_beanstalk Dict[ElastigroupIntegrationBeanstalk]
integration_codedeploy Dict[ElastigroupIntegrationCodedeploy]
integration_docker_swarm Dict[ElastigroupIntegrationDockerSwarm]
integration_ecs Dict[ElastigroupIntegrationEcs]
integration_gitlab Dict[ElastigroupIntegrationGitlab]
integration_kubernetes Dict[ElastigroupIntegrationKubernetes]
integration_mesosphere Dict[ElastigroupIntegrationMesosphere]
integration_multai_runtime Dict[ElastigroupIntegrationMultaiRuntime]
integration_nomad Dict[ElastigroupIntegrationNomad]
integration_rancher Dict[ElastigroupIntegrationRancher]
integration_route53 Dict[ElastigroupIntegrationRoute53]
key_name str

The key name that should be used for the instance.

lifetime_period str
max_size float

The maximum number of instances the group should have at any time.

min_size float

The minimum number of instances the group should have at any time.

multai_target_sets List[ElastigroupMultaiTargetSet]
name str

The group name.

network_interfaces List[ElastigroupNetworkInterface]
ondemand_count float

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.

persist_block_devices bool
persist_private_ip bool
persist_root_device bool
placement_tenancy str

Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.

preferred_availability_zones List[str]

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".

private_ips List[str]
region str

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).

revert_to_spot Dict[ElastigroupRevertToSpot]

Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values: "never", "always", "timeWindow"

scaling_down_policies List[ElastigroupScalingDownPolicy]
scaling_strategies List[ElastigroupScalingStrategy]

Set termination policy.

scaling_target_policies List[ElastigroupScalingTargetPolicy]
scaling_up_policies List[ElastigroupScalingUpPolicy]
scheduled_tasks List[ElastigroupScheduledTask]
shutdown_script str

The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script

signals List[ElastigroupSignal]
spot_percentage float

The percentage of Spot instances that would spin up from the desired_capacity number.

stateful_deallocation Dict[ElastigroupStatefulDeallocation]
subnet_ids List[str]

List of Strings of subnet identifiers. Note: When this parameter is set, availability_zones should be left unused.

tags List[ElastigroupTag]

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

target_group_arns List[str]
update_policy Dict[ElastigroupUpdatePolicy]
user_data str

The user data to provide when launching the instance.

utilize_reserved_instances bool

In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.

wait_for_capacity float

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.

wait_for_capacity_timeout float

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.

Outputs

All input properties are implicitly available as output properties. Additionally, the Elastigroup resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Elastigroup Resource

Get an existing Elastigroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ElastigroupState, opts?: CustomResourceOptions): Elastigroup
static get(resource_name, id, opts=None, availability_zones=None, block_devices_mode=None, capacity_unit=None, cpu_credits=None, description=None, desired_capacity=None, draining_timeout=None, ebs_block_devices=None, ebs_optimized=None, elastic_ips=None, elastic_load_balancers=None, enable_monitoring=None, ephemeral_block_devices=None, fallback_to_ondemand=None, health_check_grace_period=None, health_check_type=None, health_check_unhealthy_duration_before_replacement=None, iam_instance_profile=None, image_id=None, instance_types_ondemand=None, instance_types_preferred_spots=None, instance_types_spots=None, instance_types_weights=None, integration_beanstalk=None, integration_codedeploy=None, integration_docker_swarm=None, integration_ecs=None, integration_gitlab=None, integration_kubernetes=None, integration_mesosphere=None, integration_multai_runtime=None, integration_nomad=None, integration_rancher=None, integration_route53=None, key_name=None, lifetime_period=None, max_size=None, min_size=None, multai_target_sets=None, name=None, network_interfaces=None, ondemand_count=None, orientation=None, persist_block_devices=None, persist_private_ip=None, persist_root_device=None, placement_tenancy=None, preferred_availability_zones=None, private_ips=None, product=None, region=None, revert_to_spot=None, scaling_down_policies=None, scaling_strategies=None, scaling_target_policies=None, scaling_up_policies=None, scheduled_tasks=None, security_groups=None, shutdown_script=None, signals=None, spot_percentage=None, stateful_deallocation=None, subnet_ids=None, tags=None, target_group_arns=None, update_policy=None, user_data=None, utilize_reserved_instances=None, wait_for_capacity=None, wait_for_capacity_timeout=None, __props__=None);
func GetElastigroup(ctx *Context, name string, id IDInput, state *ElastigroupState, opts ...ResourceOption) (*Elastigroup, error)
public static Elastigroup Get(string name, Input<string> id, ElastigroupState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AvailabilityZones List<string>

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"]

BlockDevicesMode string
CapacityUnit string

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.

CpuCredits string

Controls how T3 instances are launched. Valid values: standard, unlimited.

Description string

The group description.

DesiredCapacity int

The desired number of instances the group should have at any time.

DrainingTimeout int

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.

EbsBlockDevices List<Pulumi.SpotInst.Aws.Inputs.ElastigroupEbsBlockDeviceArgs>
EbsOptimized bool

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.

ElasticIps List<string>

A list of AWS Elastic IP allocation IDs to associate to the group instances.

ElasticLoadBalancers List<string>
EnableMonitoring bool

Indicates whether monitoring is enabled for the instance.

EphemeralBlockDevices List<Pulumi.SpotInst.Aws.Inputs.ElastigroupEphemeralBlockDeviceArgs>
FallbackToOndemand bool

In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.

HealthCheckGracePeriod int

The amount of time, in seconds, after the instance has launched to starts and check its health.

HealthCheckType string

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".

HealthCheckUnhealthyDurationBeforeReplacement int

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).

IamInstanceProfile string

The ARN or name of an IAM instance profile to associate with launched instances.

ImageId string

The ID of the AMI used to launch the instance.

InstanceTypesOndemand string

The type of instance determines your instance’s CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).

InstanceTypesPreferredSpots List<string>

Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.

InstanceTypesSpots List<string>

One or more instance types.

InstanceTypesWeights List<Pulumi.SpotInst.Aws.Inputs.ElastigroupInstanceTypesWeightArgs>

List of weights per instance type for weighted groups. Each object in the list should have the following attributes:

IntegrationBeanstalk Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationBeanstalkArgs
IntegrationCodedeploy Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationCodedeployArgs
IntegrationDockerSwarm Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationDockerSwarmArgs
IntegrationEcs Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationEcsArgs
IntegrationGitlab Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationGitlabArgs
IntegrationKubernetes Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationKubernetesArgs
IntegrationMesosphere Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationMesosphereArgs
IntegrationMultaiRuntime Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationMultaiRuntimeArgs
IntegrationNomad Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationNomadArgs
IntegrationRancher Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationRancherArgs
IntegrationRoute53 Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationRoute53Args
KeyName string

The key name that should be used for the instance.

LifetimePeriod string
MaxSize int

The maximum number of instances the group should have at any time.

MinSize int

The minimum number of instances the group should have at any time.

MultaiTargetSets List<Pulumi.SpotInst.Aws.Inputs.ElastigroupMultaiTargetSetArgs>
Name string

The group name.

NetworkInterfaces List<Pulumi.SpotInst.Aws.Inputs.ElastigroupNetworkInterfaceArgs>
OndemandCount int

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.

Orientation string

Select a prediction strategy. Valid values: "balanced", "costOriented", "equalAzDistribution", "availabilityOriented".

PersistBlockDevices bool
PersistPrivateIp bool
PersistRootDevice bool
PlacementTenancy string

Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.

PreferredAvailabilityZones List<string>

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".

PrivateIps List<string>
Product string

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)".

Region string

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).

RevertToSpot Pulumi.SpotInst.Aws.Inputs.ElastigroupRevertToSpotArgs

Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values: "never", "always", "timeWindow"

ScalingDownPolicies List<Pulumi.SpotInst.Aws.Inputs.ElastigroupScalingDownPolicyArgs>
ScalingStrategies List<Pulumi.SpotInst.Aws.Inputs.ElastigroupScalingStrategyArgs>

Set termination policy.

ScalingTargetPolicies List<Pulumi.SpotInst.Aws.Inputs.ElastigroupScalingTargetPolicyArgs>
ScalingUpPolicies List<Pulumi.SpotInst.Aws.Inputs.ElastigroupScalingUpPolicyArgs>
ScheduledTasks List<Pulumi.SpotInst.Aws.Inputs.ElastigroupScheduledTaskArgs>
SecurityGroups List<string>

A list of associated security group IDS.

ShutdownScript string

The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script

Signals List<Pulumi.SpotInst.Aws.Inputs.ElastigroupSignalArgs>
SpotPercentage double

The percentage of Spot instances that would spin up from the desired_capacity number.

StatefulDeallocation Pulumi.SpotInst.Aws.Inputs.ElastigroupStatefulDeallocationArgs
SubnetIds List<string>

List of Strings of subnet identifiers. Note: When this parameter is set, availability_zones should be left unused.

Tags List<Pulumi.SpotInst.Aws.Inputs.ElastigroupTagArgs>

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

TargetGroupArns List<string>
UpdatePolicy Pulumi.SpotInst.Aws.Inputs.ElastigroupUpdatePolicyArgs
UserData string

The user data to provide when launching the instance.

UtilizeReservedInstances bool

In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.

WaitForCapacity int

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.

WaitForCapacityTimeout int

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.

AvailabilityZones []string

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"]

BlockDevicesMode string
CapacityUnit string

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.

CpuCredits string

Controls how T3 instances are launched. Valid values: standard, unlimited.

Description string

The group description.

DesiredCapacity int

The desired number of instances the group should have at any time.

DrainingTimeout int

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.

EbsBlockDevices []ElastigroupEbsBlockDevice
EbsOptimized bool

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.

ElasticIps []string

A list of AWS Elastic IP allocation IDs to associate to the group instances.

ElasticLoadBalancers []string
EnableMonitoring bool

Indicates whether monitoring is enabled for the instance.

EphemeralBlockDevices []ElastigroupEphemeralBlockDevice
FallbackToOndemand bool

In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.

HealthCheckGracePeriod int

The amount of time, in seconds, after the instance has launched to starts and check its health.

HealthCheckType string

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".

HealthCheckUnhealthyDurationBeforeReplacement int

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).

IamInstanceProfile string

The ARN or name of an IAM instance profile to associate with launched instances.

ImageId string

The ID of the AMI used to launch the instance.

InstanceTypesOndemand string

The type of instance determines your instance’s CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).

InstanceTypesPreferredSpots []string

Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.

InstanceTypesSpots []string

One or more instance types.

InstanceTypesWeights []ElastigroupInstanceTypesWeight

List of weights per instance type for weighted groups. Each object in the list should have the following attributes:

IntegrationBeanstalk ElastigroupIntegrationBeanstalk
IntegrationCodedeploy ElastigroupIntegrationCodedeploy
IntegrationDockerSwarm ElastigroupIntegrationDockerSwarm
IntegrationEcs ElastigroupIntegrationEcs
IntegrationGitlab ElastigroupIntegrationGitlab
IntegrationKubernetes ElastigroupIntegrationKubernetes
IntegrationMesosphere ElastigroupIntegrationMesosphere
IntegrationMultaiRuntime ElastigroupIntegrationMultaiRuntime
IntegrationNomad ElastigroupIntegrationNomad
IntegrationRancher ElastigroupIntegrationRancher
IntegrationRoute53 ElastigroupIntegrationRoute53
KeyName string

The key name that should be used for the instance.

LifetimePeriod string
MaxSize int

The maximum number of instances the group should have at any time.

MinSize int

The minimum number of instances the group should have at any time.

MultaiTargetSets []ElastigroupMultaiTargetSet
Name string

The group name.

NetworkInterfaces []ElastigroupNetworkInterface
OndemandCount int

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.

Orientation string

Select a prediction strategy. Valid values: "balanced", "costOriented", "equalAzDistribution", "availabilityOriented".

PersistBlockDevices bool
PersistPrivateIp bool
PersistRootDevice bool
PlacementTenancy string

Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.

PreferredAvailabilityZones []string

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".

PrivateIps []string
Product string

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)".

Region string

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).

RevertToSpot ElastigroupRevertToSpot

Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values: "never", "always", "timeWindow"

ScalingDownPolicies []ElastigroupScalingDownPolicy
ScalingStrategies []ElastigroupScalingStrategy

Set termination policy.

ScalingTargetPolicies []ElastigroupScalingTargetPolicy
ScalingUpPolicies []ElastigroupScalingUpPolicy
ScheduledTasks []ElastigroupScheduledTask
SecurityGroups []string

A list of associated security group IDS.

ShutdownScript string

The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script

Signals []ElastigroupSignal
SpotPercentage float64

The percentage of Spot instances that would spin up from the desired_capacity number.

StatefulDeallocation ElastigroupStatefulDeallocation
SubnetIds []string

List of Strings of subnet identifiers. Note: When this parameter is set, availability_zones should be left unused.

Tags []ElastigroupTag

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

TargetGroupArns []string
UpdatePolicy ElastigroupUpdatePolicy
UserData string

The user data to provide when launching the instance.

UtilizeReservedInstances bool

In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.

WaitForCapacity int

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.

WaitForCapacityTimeout int

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.

availabilityZones string[]

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"]

blockDevicesMode string
capacityUnit string

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.

cpuCredits string

Controls how T3 instances are launched. Valid values: standard, unlimited.

description string

The group description.

desiredCapacity number

The desired number of instances the group should have at any time.

drainingTimeout number

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.

ebsBlockDevices ElastigroupEbsBlockDevice[]
ebsOptimized boolean

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.

elasticIps string[]

A list of AWS Elastic IP allocation IDs to associate to the group instances.

elasticLoadBalancers string[]
enableMonitoring boolean

Indicates whether monitoring is enabled for the instance.

ephemeralBlockDevices ElastigroupEphemeralBlockDevice[]
fallbackToOndemand boolean

In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.

healthCheckGracePeriod number

The amount of time, in seconds, after the instance has launched to starts and check its health.

healthCheckType string

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".

healthCheckUnhealthyDurationBeforeReplacement number

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).

iamInstanceProfile string

The ARN or name of an IAM instance profile to associate with launched instances.

imageId string

The ID of the AMI used to launch the instance.

instanceTypesOndemand string

The type of instance determines your instance’s CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).

instanceTypesPreferredSpots string[]

Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.

instanceTypesSpots string[]

One or more instance types.

instanceTypesWeights ElastigroupInstanceTypesWeight[]

List of weights per instance type for weighted groups. Each object in the list should have the following attributes:

integrationBeanstalk ElastigroupIntegrationBeanstalk
integrationCodedeploy ElastigroupIntegrationCodedeploy
integrationDockerSwarm ElastigroupIntegrationDockerSwarm
integrationEcs ElastigroupIntegrationEcs
integrationGitlab ElastigroupIntegrationGitlab
integrationKubernetes ElastigroupIntegrationKubernetes
integrationMesosphere ElastigroupIntegrationMesosphere
integrationMultaiRuntime ElastigroupIntegrationMultaiRuntime
integrationNomad ElastigroupIntegrationNomad
integrationRancher ElastigroupIntegrationRancher
integrationRoute53 ElastigroupIntegrationRoute53
keyName string

The key name that should be used for the instance.

lifetimePeriod string
maxSize number

The maximum number of instances the group should have at any time.

minSize number

The minimum number of instances the group should have at any time.

multaiTargetSets ElastigroupMultaiTargetSet[]
name string

The group name.

networkInterfaces ElastigroupNetworkInterface[]
ondemandCount number

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.

orientation string

Select a prediction strategy. Valid values: "balanced", "costOriented", "equalAzDistribution", "availabilityOriented".

persistBlockDevices boolean
persistPrivateIp boolean
persistRootDevice boolean
placementTenancy string

Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.

preferredAvailabilityZones string[]

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".

privateIps string[]
product string

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)".

region string

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).

revertToSpot ElastigroupRevertToSpot

Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values: "never", "always", "timeWindow"

scalingDownPolicies ElastigroupScalingDownPolicy[]
scalingStrategies ElastigroupScalingStrategy[]

Set termination policy.

scalingTargetPolicies ElastigroupScalingTargetPolicy[]
scalingUpPolicies ElastigroupScalingUpPolicy[]
scheduledTasks ElastigroupScheduledTask[]
securityGroups string[]

A list of associated security group IDS.

shutdownScript string

The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script

signals ElastigroupSignal[]
spotPercentage number

The percentage of Spot instances that would spin up from the desired_capacity number.

statefulDeallocation ElastigroupStatefulDeallocation
subnetIds string[]

List of Strings of subnet identifiers. Note: When this parameter is set, availability_zones should be left unused.

tags ElastigroupTag[]

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

targetGroupArns string[]
updatePolicy ElastigroupUpdatePolicy
userData string

The user data to provide when launching the instance.

utilizeReservedInstances boolean

In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.

waitForCapacity number

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.

waitForCapacityTimeout number

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.

availability_zones List[str]

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"]

block_devices_mode str
capacity_unit str

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.

cpu_credits str

Controls how T3 instances are launched. Valid values: standard, unlimited.

description str

The group description.

desired_capacity float

The desired number of instances the group should have at any time.

draining_timeout float

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.

ebs_block_devices List[ElastigroupEbsBlockDevice]
ebs_optimized bool

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.

elastic_ips List[str]

A list of AWS Elastic IP allocation IDs to associate to the group instances.

elastic_load_balancers List[str]
enable_monitoring bool

Indicates whether monitoring is enabled for the instance.

ephemeral_block_devices List[ElastigroupEphemeralBlockDevice]
fallback_to_ondemand bool

In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.

health_check_grace_period float

The amount of time, in seconds, after the instance has launched to starts and check its health.

health_check_type str

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".

health_check_unhealthy_duration_before_replacement float

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).

iam_instance_profile str

The ARN or name of an IAM instance profile to associate with launched instances.

image_id str

The ID of the AMI used to launch the instance.

instance_types_ondemand str

The type of instance determines your instance’s CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).

instance_types_preferred_spots List[str]

Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.

instance_types_spots List[str]

One or more instance types.

instance_types_weights List[ElastigroupInstanceTypesWeight]

List of weights per instance type for weighted groups. Each object in the list should have the following attributes:

integration_beanstalk Dict[ElastigroupIntegrationBeanstalk]
integration_codedeploy Dict[ElastigroupIntegrationCodedeploy]
integration_docker_swarm Dict[ElastigroupIntegrationDockerSwarm]
integration_ecs Dict[ElastigroupIntegrationEcs]
integration_gitlab Dict[ElastigroupIntegrationGitlab]
integration_kubernetes Dict[ElastigroupIntegrationKubernetes]
integration_mesosphere Dict[ElastigroupIntegrationMesosphere]
integration_multai_runtime Dict[ElastigroupIntegrationMultaiRuntime]
integration_nomad Dict[ElastigroupIntegrationNomad]
integration_rancher Dict[ElastigroupIntegrationRancher]
integration_route53 Dict[ElastigroupIntegrationRoute53]
key_name str

The key name that should be used for the instance.

lifetime_period str
max_size float

The maximum number of instances the group should have at any time.

min_size float

The minimum number of instances the group should have at any time.

multai_target_sets List[ElastigroupMultaiTargetSet]
name str

The group name.

network_interfaces List[ElastigroupNetworkInterface]
ondemand_count float

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.

orientation str

Select a prediction strategy. Valid values: "balanced", "costOriented", "equalAzDistribution", "availabilityOriented".

persist_block_devices bool
persist_private_ip bool
persist_root_device bool
placement_tenancy str

Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.

preferred_availability_zones List[str]

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".

private_ips List[str]
product str

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)".

region str

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).

revert_to_spot Dict[ElastigroupRevertToSpot]

Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values: "never", "always", "timeWindow"

scaling_down_policies List[ElastigroupScalingDownPolicy]
scaling_strategies List[ElastigroupScalingStrategy]

Set termination policy.

scaling_target_policies List[ElastigroupScalingTargetPolicy]
scaling_up_policies List[ElastigroupScalingUpPolicy]
scheduled_tasks List[ElastigroupScheduledTask]
security_groups List[str]

A list of associated security group IDS.

shutdown_script str

The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script

signals List[ElastigroupSignal]
spot_percentage float

The percentage of Spot instances that would spin up from the desired_capacity number.

stateful_deallocation Dict[ElastigroupStatefulDeallocation]
subnet_ids List[str]

List of Strings of subnet identifiers. Note: When this parameter is set, availability_zones should be left unused.

tags List[ElastigroupTag]

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

target_group_arns List[str]
update_policy Dict[ElastigroupUpdatePolicy]
user_data str

The user data to provide when launching the instance.

utilize_reserved_instances bool

In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.

wait_for_capacity float

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.

wait_for_capacity_timeout float

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.

Supporting Types

ElastigroupEbsBlockDevice

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

DeviceName string
DeleteOnTermination bool
Encrypted bool
Iops int
KmsKeyId string
SnapshotId string
VolumeSize int
VolumeType string
DeviceName string
DeleteOnTermination bool
Encrypted bool
Iops int
KmsKeyId string
SnapshotId string
VolumeSize int
VolumeType string
deviceName string
deleteOnTermination boolean
encrypted boolean
iops number
kmsKeyId string
snapshotId string
volumeSize number
volumeType string
deviceName str
deleteOnTermination bool
encrypted bool
iops float
kmsKeyId str
snapshotId str
volumeSize float
volumeType str

ElastigroupEphemeralBlockDevice

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

DeviceName string
VirtualName string
DeviceName string
VirtualName string
deviceName string
virtualName string
deviceName str
virtualName str

ElastigroupInstanceTypesWeight

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

InstanceType string

Name of instance type (String).

Weight int

Weight per instance type (Integer).

InstanceType string

Name of instance type (String).

Weight int

Weight per instance type (Integer).

instanceType string

Name of instance type (String).

weight number

Weight per instance type (Integer).

instanceType str

Name of instance type (String).

weight float

Weight per instance type (Integer).

ElastigroupIntegrationBeanstalk

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

DeploymentPreferences Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationBeanstalkDeploymentPreferencesArgs
EnvironmentId string
ManagedActions Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationBeanstalkManagedActionsArgs
DeploymentPreferences ElastigroupIntegrationBeanstalkDeploymentPreferences
EnvironmentId string
ManagedActions ElastigroupIntegrationBeanstalkManagedActions
deploymentPreferences ElastigroupIntegrationBeanstalkDeploymentPreferences
environmentId string
managedActions ElastigroupIntegrationBeanstalkManagedActions
deployment_preferences Dict[ElastigroupIntegrationBeanstalkDeploymentPreferences]
environmentId str
managed_actions Dict[ElastigroupIntegrationBeanstalkManagedActions]

ElastigroupIntegrationBeanstalkDeploymentPreferences

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

AutomaticRoll bool
BatchSizePercentage int
GracePeriod int
Strategy Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationBeanstalkDeploymentPreferencesStrategyArgs
AutomaticRoll bool
BatchSizePercentage int
GracePeriod int
Strategy ElastigroupIntegrationBeanstalkDeploymentPreferencesStrategy
automaticRoll boolean
batchSizePercentage number
gracePeriod number
strategy ElastigroupIntegrationBeanstalkDeploymentPreferencesStrategy
automaticRoll bool
batchSizePercentage float
grace_period float
strategy Dict[ElastigroupIntegrationBeanstalkDeploymentPreferencesStrategy]

ElastigroupIntegrationBeanstalkDeploymentPreferencesStrategy

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Action string
ShouldDrainInstances bool
Action string
ShouldDrainInstances bool
action string
shouldDrainInstances boolean
action str
shouldDrainInstances bool

ElastigroupIntegrationBeanstalkManagedActions

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

PlatformUpdate Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationBeanstalkManagedActionsPlatformUpdateArgs
PlatformUpdate ElastigroupIntegrationBeanstalkManagedActionsPlatformUpdate
platformUpdate ElastigroupIntegrationBeanstalkManagedActionsPlatformUpdate
platformUpdate Dict[ElastigroupIntegrationBeanstalkManagedActionsPlatformUpdate]

ElastigroupIntegrationBeanstalkManagedActionsPlatformUpdate

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

PerformAt string

In the event of a fallback to On-Demand instances, select the time period to revert back to Spot. Supported Arguments – always (default), timeWindow, never. For timeWindow or never to be valid the group must have availabilityOriented OR persistence defined.

TimeWindow string
UpdateLevel string
PerformAt string

In the event of a fallback to On-Demand instances, select the time period to revert back to Spot. Supported Arguments – always (default), timeWindow, never. For timeWindow or never to be valid the group must have availabilityOriented OR persistence defined.

TimeWindow string
UpdateLevel string
performAt string

In the event of a fallback to On-Demand instances, select the time period to revert back to Spot. Supported Arguments – always (default), timeWindow, never. For timeWindow or never to be valid the group must have availabilityOriented OR persistence defined.

timeWindow string
updateLevel string
performAt str

In the event of a fallback to On-Demand instances, select the time period to revert back to Spot. Supported Arguments – always (default), timeWindow, never. For timeWindow or never to be valid the group must have availabilityOriented OR persistence defined.

timeWindow str
updateLevel str

ElastigroupIntegrationCodedeploy

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

CleanupOnFailure bool
DeploymentGroups List<Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationCodedeployDeploymentGroupArgs>
TerminateInstanceOnFailure bool
CleanupOnFailure bool
DeploymentGroups []ElastigroupIntegrationCodedeployDeploymentGroup
TerminateInstanceOnFailure bool
cleanupOnFailure boolean
deploymentGroups ElastigroupIntegrationCodedeployDeploymentGroup[]
terminateInstanceOnFailure boolean
cleanupOnFailure bool
deploymentGroups List[ElastigroupIntegrationCodedeployDeploymentGroup]
terminateInstanceOnFailure bool

ElastigroupIntegrationCodedeployDeploymentGroup

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ApplicationName string
DeploymentGroupName string
ApplicationName string
DeploymentGroupName string
applicationName string
deploymentGroupName string
applicationName str
deploymentGroupName str

ElastigroupIntegrationDockerSwarm

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

MasterHost string
MasterPort int
AutoscaleCooldown int
AutoscaleDown Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationDockerSwarmAutoscaleDownArgs
AutoscaleHeadroom Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationDockerSwarmAutoscaleHeadroomArgs
AutoscaleIsEnabled bool
MasterHost string
MasterPort int
AutoscaleCooldown int
AutoscaleDown ElastigroupIntegrationDockerSwarmAutoscaleDown
AutoscaleHeadroom ElastigroupIntegrationDockerSwarmAutoscaleHeadroom
AutoscaleIsEnabled bool
masterHost string
masterPort number
autoscaleCooldown number
autoscaleDown ElastigroupIntegrationDockerSwarmAutoscaleDown
autoscaleHeadroom ElastigroupIntegrationDockerSwarmAutoscaleHeadroom
autoscaleIsEnabled boolean
masterHost str
masterPort float
autoscaleCooldown float
autoscaleDown Dict[ElastigroupIntegrationDockerSwarmAutoscaleDown]
autoscaleHeadroom Dict[ElastigroupIntegrationDockerSwarmAutoscaleHeadroom]
autoscaleIsEnabled bool

ElastigroupIntegrationDockerSwarmAutoscaleDown

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

EvaluationPeriods int
EvaluationPeriods int
evaluationPeriods number
evaluationPeriods float

ElastigroupIntegrationDockerSwarmAutoscaleHeadroom

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

CpuPerUnit int
MemoryPerUnit int
NumOfUnits int
CpuPerUnit int
MemoryPerUnit int
NumOfUnits int
cpuPerUnit number
memoryPerUnit number
numOfUnits number
cpuPerUnit float
memoryPerUnit float
numOfUnits float

ElastigroupIntegrationEcs

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ClusterName string
AutoscaleAttributes List<Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationEcsAutoscaleAttributeArgs>
AutoscaleCooldown int
AutoscaleDown Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationEcsAutoscaleDownArgs
AutoscaleHeadroom Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationEcsAutoscaleHeadroomArgs
AutoscaleIsAutoConfig bool
AutoscaleIsEnabled bool
AutoscaleScaleDownNonServiceTasks bool
ClusterName string
AutoscaleAttributes []ElastigroupIntegrationEcsAutoscaleAttribute
AutoscaleCooldown int
AutoscaleDown ElastigroupIntegrationEcsAutoscaleDown
AutoscaleHeadroom ElastigroupIntegrationEcsAutoscaleHeadroom
AutoscaleIsAutoConfig bool
AutoscaleIsEnabled bool
AutoscaleScaleDownNonServiceTasks bool
clusterName string
autoscaleAttributes ElastigroupIntegrationEcsAutoscaleAttribute[]
autoscaleCooldown number
autoscaleDown ElastigroupIntegrationEcsAutoscaleDown
autoscaleHeadroom ElastigroupIntegrationEcsAutoscaleHeadroom
autoscaleIsAutoConfig boolean
autoscaleIsEnabled boolean
autoscaleScaleDownNonServiceTasks boolean
cluster_name str
autoscaleAttributes List[ElastigroupIntegrationEcsAutoscaleAttribute]
autoscaleCooldown float
autoscaleDown Dict[ElastigroupIntegrationEcsAutoscaleDown]
autoscaleHeadroom Dict[ElastigroupIntegrationEcsAutoscaleHeadroom]
autoscaleIsAutoConfig bool
autoscaleIsEnabled bool
autoscaleScaleDownNonServiceTasks bool

ElastigroupIntegrationEcsAutoscaleAttribute

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Key string
Value string
Key string
Value string
key string
value string
key str
value str

ElastigroupIntegrationEcsAutoscaleDown

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

EvaluationPeriods int
MaxScaleDownPercentage int
EvaluationPeriods int
MaxScaleDownPercentage int
evaluationPeriods number
maxScaleDownPercentage number
evaluationPeriods float
maxScaleDownPercentage float

ElastigroupIntegrationEcsAutoscaleHeadroom

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

CpuPerUnit int
MemoryPerUnit int
NumOfUnits int
CpuPerUnit int
MemoryPerUnit int
NumOfUnits int
cpuPerUnit number
memoryPerUnit number
numOfUnits number
cpuPerUnit float
memoryPerUnit float
numOfUnits float

ElastigroupIntegrationGitlab

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Runner Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationGitlabRunnerArgs
Runner ElastigroupIntegrationGitlabRunner
runner ElastigroupIntegrationGitlabRunner
runner Dict[ElastigroupIntegrationGitlabRunner]

ElastigroupIntegrationGitlabRunner

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

IsEnabled bool
IsEnabled bool
isEnabled boolean
isEnabled bool

ElastigroupIntegrationKubernetes

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ApiServer string
AutoscaleCooldown int
AutoscaleDown Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationKubernetesAutoscaleDownArgs
AutoscaleHeadroom Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationKubernetesAutoscaleHeadroomArgs
AutoscaleIsAutoConfig bool
AutoscaleIsEnabled bool
AutoscaleLabels List<Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationKubernetesAutoscaleLabelArgs>
ClusterIdentifier string
IntegrationMode string
Token string
ApiServer string
AutoscaleCooldown int
AutoscaleDown ElastigroupIntegrationKubernetesAutoscaleDown
AutoscaleHeadroom ElastigroupIntegrationKubernetesAutoscaleHeadroom
AutoscaleIsAutoConfig bool
AutoscaleIsEnabled bool
AutoscaleLabels []ElastigroupIntegrationKubernetesAutoscaleLabel
ClusterIdentifier string
IntegrationMode string
Token string
apiServer string
autoscaleCooldown number
autoscaleDown ElastigroupIntegrationKubernetesAutoscaleDown
autoscaleHeadroom ElastigroupIntegrationKubernetesAutoscaleHeadroom
autoscaleIsAutoConfig boolean
autoscaleIsEnabled boolean
autoscaleLabels ElastigroupIntegrationKubernetesAutoscaleLabel[]
clusterIdentifier string
integrationMode string
token string
apiServer str
autoscaleCooldown float
autoscaleDown Dict[ElastigroupIntegrationKubernetesAutoscaleDown]
autoscaleHeadroom Dict[ElastigroupIntegrationKubernetesAutoscaleHeadroom]
autoscaleIsAutoConfig bool
autoscaleIsEnabled bool
autoscaleLabels List[ElastigroupIntegrationKubernetesAutoscaleLabel]
clusterIdentifier str
integrationMode str
token str

ElastigroupIntegrationKubernetesAutoscaleDown

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

EvaluationPeriods int
EvaluationPeriods int
evaluationPeriods number
evaluationPeriods float

ElastigroupIntegrationKubernetesAutoscaleHeadroom

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

CpuPerUnit int
MemoryPerUnit int
NumOfUnits int
CpuPerUnit int
MemoryPerUnit int
NumOfUnits int
cpuPerUnit number
memoryPerUnit number
numOfUnits number
cpuPerUnit float
memoryPerUnit float
numOfUnits float

ElastigroupIntegrationKubernetesAutoscaleLabel

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Key string
Value string
Key string
Value string
key string
value string
key str
value str

ElastigroupIntegrationMesosphere

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ApiServer string
ApiServer string
apiServer string
apiServer str

ElastigroupIntegrationMultaiRuntime

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

DeploymentId string
DeploymentId string
deploymentId string
deployment_id str

ElastigroupIntegrationNomad

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

MasterHost string
MasterPort int
AclToken string
AutoscaleConstraints List<Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationNomadAutoscaleConstraintArgs>
AutoscaleCooldown int
AutoscaleDown Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationNomadAutoscaleDownArgs
AutoscaleHeadroom Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationNomadAutoscaleHeadroomArgs
AutoscaleIsEnabled bool
MasterHost string
MasterPort int
AclToken string
AutoscaleConstraints []ElastigroupIntegrationNomadAutoscaleConstraint
AutoscaleCooldown int
AutoscaleDown ElastigroupIntegrationNomadAutoscaleDown
AutoscaleHeadroom ElastigroupIntegrationNomadAutoscaleHeadroom
AutoscaleIsEnabled bool
masterHost string
masterPort number
aclToken string
autoscaleConstraints ElastigroupIntegrationNomadAutoscaleConstraint[]
autoscaleCooldown number
autoscaleDown ElastigroupIntegrationNomadAutoscaleDown
autoscaleHeadroom ElastigroupIntegrationNomadAutoscaleHeadroom
autoscaleIsEnabled boolean
masterHost str
masterPort float
aclToken str
autoscaleConstraints List[ElastigroupIntegrationNomadAutoscaleConstraint]
autoscaleCooldown float
autoscaleDown Dict[ElastigroupIntegrationNomadAutoscaleDown]
autoscaleHeadroom Dict[ElastigroupIntegrationNomadAutoscaleHeadroom]
autoscaleIsEnabled bool

ElastigroupIntegrationNomadAutoscaleConstraint

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Key string
Value string
Key string
Value string
key string
value string
key str
value str

ElastigroupIntegrationNomadAutoscaleDown

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

EvaluationPeriods int
EvaluationPeriods int
evaluationPeriods number
evaluationPeriods float

ElastigroupIntegrationNomadAutoscaleHeadroom

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

CpuPerUnit int
MemoryPerUnit int
NumOfUnits int
CpuPerUnit int
MemoryPerUnit int
NumOfUnits int
cpuPerUnit number
memoryPerUnit number
numOfUnits number
cpuPerUnit float
memoryPerUnit float
numOfUnits float

ElastigroupIntegrationRancher

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

AccessKey string
MasterHost string
SecretKey string
Version string
AccessKey string
MasterHost string
SecretKey string
Version string
accessKey string
masterHost string
secretKey string
version string
accessKey str
masterHost str
secretKey str
version str

ElastigroupIntegrationRoute53

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Domains List<Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationRoute53DomainArgs>
Domains []ElastigroupIntegrationRoute53Domain
domains ElastigroupIntegrationRoute53Domain[]
domains List[ElastigroupIntegrationRoute53Domain]

ElastigroupIntegrationRoute53Domain

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

HostedZoneId string
RecordSets List<Pulumi.SpotInst.Aws.Inputs.ElastigroupIntegrationRoute53DomainRecordSetArgs>
SpotinstAcctId string
HostedZoneId string
RecordSets []ElastigroupIntegrationRoute53DomainRecordSet
SpotinstAcctId string
hostedZoneId string
recordSets ElastigroupIntegrationRoute53DomainRecordSet[]
spotinstAcctId string
hostedZoneId str
recordSets List[ElastigroupIntegrationRoute53DomainRecordSet]
spotinstAcctId str

ElastigroupIntegrationRoute53DomainRecordSet

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

The group name.

UsePublicIp bool
Name string

The group name.

UsePublicIp bool
name string

The group name.

usePublicIp boolean
name str

The group name.

usePublicIp bool

ElastigroupMultaiTargetSet

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

BalancerId string
TargetSetId string
BalancerId string
TargetSetId string
balancerId string
targetSetId string
balancer_id str
target_set_id str

ElastigroupNetworkInterface

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

DeviceIndex string
AssociateIpv6Address bool
AssociatePublicIpAddress bool
DeleteOnTermination bool
Description string

The group description.

NetworkInterfaceId string
PrivateIpAddress string
SecondaryPrivateIpAddressCount string
DeviceIndex string
AssociateIpv6Address bool
AssociatePublicIpAddress bool
DeleteOnTermination bool
Description string

The group description.

NetworkInterfaceId string
PrivateIpAddress string
SecondaryPrivateIpAddressCount string
deviceIndex string
associateIpv6Address boolean
associatePublicIpAddress boolean
deleteOnTermination boolean
description string

The group description.

networkInterfaceId string
privateIpAddress string
secondaryPrivateIpAddressCount string
deviceIndex str
associateIpv6Address bool
associate_public_ip_address bool
deleteOnTermination bool
description str

The group description.

networkInterfaceId str
privateIpAddress str
secondaryPrivateIpAddressCount str

ElastigroupRevertToSpot

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

PerformAt string

In the event of a fallback to On-Demand instances, select the time period to revert back to Spot. Supported Arguments – always (default), timeWindow, never. For timeWindow or never to be valid the group must have availabilityOriented OR persistence defined.

TimeWindows List<string>

Specify a list of time windows for to execute revertToSpot strategy. Time window format: ddd:hh:mm-ddd:hh:mm. Example: Mon:03:00-Wed:02:30

PerformAt string

In the event of a fallback to On-Demand instances, select the time period to revert back to Spot. Supported Arguments – always (default), timeWindow, never. For timeWindow or never to be valid the group must have availabilityOriented OR persistence defined.

TimeWindows []string

Specify a list of time windows for to execute revertToSpot strategy. Time window format: ddd:hh:mm-ddd:hh:mm. Example: Mon:03:00-Wed:02:30

performAt string

In the event of a fallback to On-Demand instances, select the time period to revert back to Spot. Supported Arguments – always (default), timeWindow, never. For timeWindow or never to be valid the group must have availabilityOriented OR persistence defined.

timeWindows string[]

Specify a list of time windows for to execute revertToSpot strategy. Time window format: ddd:hh:mm-ddd:hh:mm. Example: Mon:03:00-Wed:02:30

performAt str

In the event of a fallback to On-Demand instances, select the time period to revert back to Spot. Supported Arguments – always (default), timeWindow, never. For timeWindow or never to be valid the group must have availabilityOriented OR persistence defined.

timeWindows List[str]

Specify a list of time windows for to execute revertToSpot strategy. Time window format: ddd:hh:mm-ddd:hh:mm. Example: Mon:03:00-Wed:02:30

ElastigroupScalingDownPolicy

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

MetricName string
Namespace string
PolicyName string
Threshold double
Unit string
ActionType string
Adjustment string
Cooldown int
Dimensions List<Pulumi.SpotInst.Aws.Inputs.ElastigroupScalingDownPolicyDimensionArgs>
EvaluationPeriods int
IsEnabled bool
MaxTargetCapacity string
Maximum string
MinTargetCapacity string
Minimum string
Operator string
Period int
Source string
Statistic string
Target string
MetricName string
Namespace string
PolicyName string
Threshold float64
Unit string
ActionType string
Adjustment string
Cooldown int
Dimensions []ElastigroupScalingDownPolicyDimension
EvaluationPeriods int
IsEnabled bool
MaxTargetCapacity string
Maximum string
MinTargetCapacity string
Minimum string
Operator string
Period int
Source string
Statistic string
Target string
metricName string
namespace string
policyName string
threshold number
unit string
actionType string
adjustment string
cooldown number
dimensions ElastigroupScalingDownPolicyDimension[]
evaluationPeriods number
isEnabled boolean
maxTargetCapacity string
maximum string
minTargetCapacity string
minimum string
operator string
period number
source string
statistic string
target string
metricName str
namespace str
policyName str
threshold float
unit str
actionType str
adjustment str
cooldown float
dimensions List[ElastigroupScalingDownPolicyDimension]
evaluationPeriods float
isEnabled bool
maxTargetCapacity str
maximum str
minTargetCapacity str
minimum str
operator str
period float
source str
statistic str
target str

ElastigroupScalingDownPolicyDimension

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

The group name.

Value string
Name string

The group name.

Value string
name string

The group name.

value string
name str

The group name.

value str

ElastigroupScalingStrategy

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

TerminateAtEndOfBillingHour bool

Specify whether to terminate instances at the end of each billing hour.

TerminationPolicy string
  • Determines whether to terminate the newest instances when performing a scaling action. Valid values: "default", "newestInstance".
TerminateAtEndOfBillingHour bool

Specify whether to terminate instances at the end of each billing hour.

TerminationPolicy string
  • Determines whether to terminate the newest instances when performing a scaling action. Valid values: "default", "newestInstance".
terminateAtEndOfBillingHour boolean

Specify whether to terminate instances at the end of each billing hour.

terminationPolicy string
  • Determines whether to terminate the newest instances when performing a scaling action. Valid values: "default", "newestInstance".
terminateAtEndOfBillingHour bool

Specify whether to terminate instances at the end of each billing hour.

terminationPolicy str
  • Determines whether to terminate the newest instances when performing a scaling action. Valid values: "default", "newestInstance".

ElastigroupScalingTargetPolicy

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

MetricName string
Namespace string
PolicyName string
Target double
Unit string
Cooldown int
Dimensions List<Pulumi.SpotInst.Aws.Inputs.ElastigroupScalingTargetPolicyDimensionArgs>
MaxCapacityPerScale string
PredictiveMode string
Source string
Statistic string
MetricName string
Namespace string
PolicyName string
Target float64
Unit string
Cooldown int
Dimensions []ElastigroupScalingTargetPolicyDimension
MaxCapacityPerScale string
PredictiveMode string
Source string
Statistic string
metricName string
namespace string
policyName string
target number
unit string
cooldown number
dimensions ElastigroupScalingTargetPolicyDimension[]
maxCapacityPerScale string
predictiveMode string
source string
statistic string
metricName str
namespace str
policyName str
target float
unit str
cooldown float
dimensions List[ElastigroupScalingTargetPolicyDimension]
maxCapacityPerScale str
predictiveMode str
source str
statistic str

ElastigroupScalingTargetPolicyDimension

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

The group name.

Value string
Name string

The group name.

Value string
name string

The group name.

value string
name str

The group name.

value str

ElastigroupScalingUpPolicy

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

MetricName string
Namespace string
PolicyName string
Threshold double
Unit string
ActionType string
Adjustment string
Cooldown int
Dimensions List<Pulumi.SpotInst.Aws.Inputs.ElastigroupScalingUpPolicyDimensionArgs>
EvaluationPeriods int
IsEnabled bool
MaxTargetCapacity string
Maximum string
MinTargetCapacity string
Minimum string
Operator string
Period int
Source string
Statistic string
Target string
MetricName string
Namespace string
PolicyName string
Threshold float64
Unit string
ActionType string
Adjustment string
Cooldown int
Dimensions []ElastigroupScalingUpPolicyDimension
EvaluationPeriods int
IsEnabled bool
MaxTargetCapacity string
Maximum string
MinTargetCapacity string
Minimum string
Operator string
Period int
Source string
Statistic string
Target string
metricName string
namespace string
policyName string
threshold number
unit string
actionType string
adjustment string
cooldown number
dimensions ElastigroupScalingUpPolicyDimension[]
evaluationPeriods number
isEnabled boolean
maxTargetCapacity string
maximum string
minTargetCapacity string
minimum string
operator string
period number
source string
statistic string
target string
metricName str
namespace str
policyName str
threshold float
unit str
actionType str
adjustment str
cooldown float
dimensions List[ElastigroupScalingUpPolicyDimension]
evaluationPeriods float
isEnabled bool
maxTargetCapacity str
maximum str
minTargetCapacity str
minimum str
operator str
period float
source str
statistic str
target str

ElastigroupScalingUpPolicyDimension

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

The group name.

Value string
Name string

The group name.

Value string
name string

The group name.

value string
name str

The group name.

value str

ElastigroupScheduledTask

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

TaskType string
Adjustment string
AdjustmentPercentage string
BatchSizePercentage string
CronExpression string
Frequency string
GracePeriod string
IsEnabled bool
MaxCapacity string
MinCapacity string
ScaleMaxCapacity string
ScaleMinCapacity string
ScaleTargetCapacity string
StartTime string
TargetCapacity string
TaskType string
Adjustment string
AdjustmentPercentage string
BatchSizePercentage string
CronExpression string
Frequency string
GracePeriod string
IsEnabled bool
MaxCapacity string
MinCapacity string
ScaleMaxCapacity string
ScaleMinCapacity string
ScaleTargetCapacity string
StartTime string
TargetCapacity string
taskType string
adjustment string
adjustmentPercentage string
batchSizePercentage string
cronExpression string
frequency string
gracePeriod string
isEnabled boolean
maxCapacity string
minCapacity string
scaleMaxCapacity string
scaleMinCapacity string
scaleTargetCapacity string
startTime string
targetCapacity string
taskType str
adjustment str
adjustmentPercentage str
batchSizePercentage str
cronExpression str
frequency str
grace_period str
isEnabled bool
maxCapacity str
minCapacity str
scaleMaxCapacity str
scaleMinCapacity str
scaleTargetCapacity str
startTime str
targetCapacity str

ElastigroupSignal

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

The group name.

Timeout int
Name string

The group name.

Timeout int
name string

The group name.

timeout number
name str

The group name.

timeout float

ElastigroupStatefulDeallocation

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ShouldDeleteImages bool
ShouldDeleteNetworkInterfaces bool
ShouldDeleteSnapshots bool
ShouldDeleteVolumes bool
ShouldDeleteImages bool
ShouldDeleteNetworkInterfaces bool
ShouldDeleteSnapshots bool
ShouldDeleteVolumes bool
shouldDeleteImages boolean
shouldDeleteNetworkInterfaces boolean
shouldDeleteSnapshots boolean
shouldDeleteVolumes boolean
shouldDeleteImages bool
shouldDeleteNetworkInterfaces bool
shouldDeleteSnapshots bool
shouldDeleteVolumes bool

ElastigroupTag

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Key string
Value string
Key string
Value string
key string
value string
key str
value str

ElastigroupUpdatePolicy

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ShouldResumeStateful bool
ShouldRoll bool
AutoApplyTags bool
RollConfig Pulumi.SpotInst.Aws.Inputs.ElastigroupUpdatePolicyRollConfigArgs
ShouldResumeStateful bool
ShouldRoll bool
AutoApplyTags bool
RollConfig ElastigroupUpdatePolicyRollConfig
shouldResumeStateful boolean
shouldRoll boolean
autoApplyTags boolean
rollConfig ElastigroupUpdatePolicyRollConfig
shouldResumeStateful bool
shouldRoll bool
autoApplyTags bool
rollConfig Dict[ElastigroupUpdatePolicyRollConfig]

ElastigroupUpdatePolicyRollConfig

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

BatchSizePercentage int
GracePeriod int
HealthCheckType string

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".

Strategy Pulumi.SpotInst.Aws.Inputs.ElastigroupUpdatePolicyRollConfigStrategyArgs
WaitForRollPercentage int
WaitForRollTimeout int
BatchSizePercentage int
GracePeriod int
HealthCheckType string

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".

Strategy ElastigroupUpdatePolicyRollConfigStrategy
WaitForRollPercentage int
WaitForRollTimeout int
batchSizePercentage number
gracePeriod number
healthCheckType string

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".

strategy ElastigroupUpdatePolicyRollConfigStrategy
waitForRollPercentage number
waitForRollTimeout number
batchSizePercentage float
grace_period float
health_check_type str

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".

strategy Dict[ElastigroupUpdatePolicyRollConfigStrategy]
waitForRollPercentage float
waitForRollTimeout float

ElastigroupUpdatePolicyRollConfigStrategy

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Action string
BatchMinHealthyPercentage int
OnFailure Pulumi.SpotInst.Aws.Inputs.ElastigroupUpdatePolicyRollConfigStrategyOnFailureArgs
ShouldDrainInstances bool
Action string
BatchMinHealthyPercentage int
OnFailure ElastigroupUpdatePolicyRollConfigStrategyOnFailure
ShouldDrainInstances bool
action string
batchMinHealthyPercentage number
onFailure ElastigroupUpdatePolicyRollConfigStrategyOnFailure
shouldDrainInstances boolean
action str
batchMinHealthyPercentage float
onFailure Dict[ElastigroupUpdatePolicyRollConfigStrategyOnFailure]
shouldDrainInstances bool

ElastigroupUpdatePolicyRollConfigStrategyOnFailure

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ActionType string
BatchNum int
DrainingTimeout int

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.

ShouldDecrementTargetCapacity bool
ShouldHandleAllBatches bool
ActionType string
BatchNum int
DrainingTimeout int

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.

ShouldDecrementTargetCapacity bool
ShouldHandleAllBatches bool
actionType string
batchNum number
drainingTimeout number

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.

shouldDecrementTargetCapacity boolean
shouldHandleAllBatches boolean
actionType str
batchNum float
draining_timeout float

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.

shouldDecrementTargetCapacity bool
shouldHandleAllBatches bool

Package Details

Repository
https://github.com/pulumi/pulumi-spotinst
License
Apache-2.0
Notes
This Pulumi package is based on the spotinst Terraform Provider.