Elastigroup
Create a Elastigroup Resource
new Elastigroup(name: string, args: ElastigroupArgs, opts?: CustomResourceOptions);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:
- Fallback
To boolOndemand In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.
- Instance
Types stringOndemand The type of instance determines your instance’s CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).
- Instance
Types List<string>Spots 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)".- Security
Groups List<string> A list of associated security group IDS.
- Availability
Zones List<string> List of Strings of availability zones. When this parameter is set,
subnet_idsshould be left unused. Note:availability_zonesnaming syntax follows the conventionavailability-zone:subnet:placement-group-name. For example, to set an AZ inus-east-1with subnetsubnet-123456and placement groupClusterI03, you would set:availability_zones = ["us-east-1a:subnet-123456:ClusterI03"]- Block
Devices stringMode - Capacity
Unit 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.
- Cpu
Credits string Controls how T3 instances are launched. Valid values:
standard,unlimited.- Description string
The group description.
- Desired
Capacity int The desired number of instances the group should have at any time.
- Draining
Timeout 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.
- Ebs
Block List<Pulumi.Devices Spot Inst. Aws. Inputs. Elastigroup Ebs Block Device Args> - 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<string> A list of AWS Elastic IP allocation IDs to associate to the group instances.
- Elastic
Load List<string>Balancers - Enable
Monitoring bool Indicates whether monitoring is enabled for the instance.
- Ephemeral
Block List<Pulumi.Devices Spot Inst. Aws. Inputs. Elastigroup Ephemeral Block Device Args> - Health
Check intGrace Period The amount of time, in seconds, after the instance has launched to starts and check its health.
- Health
Check stringType 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 intUnhealthy Duration Before Replacement 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 stringProfile The ARN or name of an IAM instance profile to associate with launched instances.
- Image
Id string The ID of the AMI used to launch the instance.
- Instance
Types List<string>Preferred Spots Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.
- Instance
Types List<Pulumi.Weights Spot Inst. Aws. Inputs. Elastigroup Instance Types Weight Args> List of weights per instance type for weighted groups. Each object in the list should have the following attributes:
- Integration
Beanstalk Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Beanstalk Args - Integration
Codedeploy Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Codedeploy Args - Integration
Docker Pulumi.Swarm Spot Inst. Aws. Inputs. Elastigroup Integration Docker Swarm Args - Integration
Ecs Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Ecs Args - Integration
Gitlab Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Gitlab Args - Integration
Kubernetes Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Kubernetes Args - Integration
Mesosphere Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Mesosphere Args - Integration
Multai Pulumi.Runtime Spot Inst. Aws. Inputs. Elastigroup Integration Multai Runtime Args - Integration
Nomad Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Nomad Args - Integration
Rancher Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Rancher Args - Integration
Route53 Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Route53Args - Key
Name string The key name that should be used for the instance.
- Lifetime
Period string - Max
Size int The maximum number of instances the group should have at any time.
- Min
Size int The minimum number of instances the group should have at any time.
- Multai
Target List<Pulumi.Sets Spot Inst. Aws. Inputs. Elastigroup Multai Target Set Args> - Name string
The group name.
- Network
Interfaces List<Pulumi.Spot Inst. Aws. Inputs. Elastigroup Network Interface Args> - Ondemand
Count 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_percentageparameter is being ignored.- Persist
Block boolDevices - Persist
Private boolIp - Persist
Root boolDevice - Placement
Tenancy string Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.
- Preferred
Availability List<string>Zones 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_zonesandorientationvalue must not be"equalAzDistribution".- Private
Ips 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).
- Revert
To Pulumi.Spot Spot Inst. Aws. Inputs. Elastigroup Revert To Spot Args Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values:
"never","always","timeWindow"- Scaling
Down List<Pulumi.Policies Spot Inst. Aws. Inputs. Elastigroup Scaling Down Policy Args> - Scaling
Strategies List<Pulumi.Spot Inst. Aws. Inputs. Elastigroup Scaling Strategy Args> Set termination policy.
- Scaling
Target List<Pulumi.Policies Spot Inst. Aws. Inputs. Elastigroup Scaling Target Policy Args> - Scaling
Up List<Pulumi.Policies Spot Inst. Aws. Inputs. Elastigroup Scaling Up Policy Args> - Scheduled
Tasks List<Pulumi.Spot Inst. Aws. Inputs. Elastigroup Scheduled Task Args> - Shutdown
Script string The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script
- Signals
List<Pulumi.
Spot Inst. Aws. Inputs. Elastigroup Signal Args> - Spot
Percentage double The percentage of Spot instances that would spin up from the
desired_capacitynumber.- Stateful
Deallocation Pulumi.Spot Inst. Aws. Inputs. Elastigroup Stateful Deallocation Args - Subnet
Ids List<string> List of Strings of subnet identifiers. Note: When this parameter is set,
availability_zonesshould be left unused.-
List<Pulumi.
Spot Inst. Aws. Inputs. Elastigroup Tag Args> A key/value mapping of tags to assign to the resource.
- Target
Group List<string>Arns - Update
Policy Pulumi.Spot Inst. Aws. Inputs. Elastigroup Update Policy Args - User
Data string The user data to provide when launching the instance.
- Utilize
Reserved boolInstances In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.
- Wait
For intCapacity 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 intCapacity Timeout 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
0to indicate no wait. This is ignored when updating with blue/green deployment.
- Fallback
To boolOndemand In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.
- Instance
Types stringOndemand The type of instance determines your instance’s CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).
- Instance
Types []stringSpots 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)".- Security
Groups []string A list of associated security group IDS.
- Availability
Zones []string List of Strings of availability zones. When this parameter is set,
subnet_idsshould be left unused. Note:availability_zonesnaming syntax follows the conventionavailability-zone:subnet:placement-group-name. For example, to set an AZ inus-east-1with subnetsubnet-123456and placement groupClusterI03, you would set:availability_zones = ["us-east-1a:subnet-123456:ClusterI03"]- Block
Devices stringMode - Capacity
Unit 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.
- Cpu
Credits string Controls how T3 instances are launched. Valid values:
standard,unlimited.- Description string
The group description.
- Desired
Capacity int The desired number of instances the group should have at any time.
- Draining
Timeout 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.
- Ebs
Block []ElastigroupDevices Ebs Block Device - 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 []string A list of AWS Elastic IP allocation IDs to associate to the group instances.
- Elastic
Load []stringBalancers - Enable
Monitoring bool Indicates whether monitoring is enabled for the instance.
- Ephemeral
Block []ElastigroupDevices Ephemeral Block Device - Health
Check intGrace Period The amount of time, in seconds, after the instance has launched to starts and check its health.
- Health
Check stringType 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 intUnhealthy Duration Before Replacement 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 stringProfile The ARN or name of an IAM instance profile to associate with launched instances.
- Image
Id string The ID of the AMI used to launch the instance.
- Instance
Types []stringPreferred Spots Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.
- Instance
Types []ElastigroupWeights Instance Types Weight List of weights per instance type for weighted groups. Each object in the list should have the following attributes:
- Integration
Beanstalk ElastigroupIntegration Beanstalk - Integration
Codedeploy ElastigroupIntegration Codedeploy - Integration
Docker ElastigroupSwarm Integration Docker Swarm - Integration
Ecs ElastigroupIntegration Ecs - Integration
Gitlab ElastigroupIntegration Gitlab - Integration
Kubernetes ElastigroupIntegration Kubernetes - Integration
Mesosphere ElastigroupIntegration Mesosphere - Integration
Multai ElastigroupRuntime Integration Multai Runtime - Integration
Nomad ElastigroupIntegration Nomad - Integration
Rancher ElastigroupIntegration Rancher - Integration
Route53 ElastigroupIntegration Route53 - Key
Name string The key name that should be used for the instance.
- Lifetime
Period string - Max
Size int The maximum number of instances the group should have at any time.
- Min
Size int The minimum number of instances the group should have at any time.
- Multai
Target []ElastigroupSets Multai Target Set - Name string
The group name.
- Network
Interfaces []ElastigroupNetwork Interface - Ondemand
Count 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_percentageparameter is being ignored.- Persist
Block boolDevices - Persist
Private boolIp - Persist
Root boolDevice - Placement
Tenancy string Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.
- Preferred
Availability []stringZones 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_zonesandorientationvalue must not be"equalAzDistribution".- Private
Ips []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).
- Revert
To ElastigroupSpot Revert To Spot Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values:
"never","always","timeWindow"- Scaling
Down []ElastigroupPolicies Scaling Down Policy - Scaling
Strategies []ElastigroupScaling Strategy Set termination policy.
- Scaling
Target []ElastigroupPolicies Scaling Target Policy - Scaling
Up []ElastigroupPolicies Scaling Up Policy - Scheduled
Tasks []ElastigroupScheduled Task - Shutdown
Script string The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script
- Signals
[]Elastigroup
Signal - Spot
Percentage float64 The percentage of Spot instances that would spin up from the
desired_capacitynumber.- Stateful
Deallocation ElastigroupStateful Deallocation - Subnet
Ids []string List of Strings of subnet identifiers. Note: When this parameter is set,
availability_zonesshould be left unused.-
[]Elastigroup
Tag A key/value mapping of tags to assign to the resource.
- Target
Group []stringArns - Update
Policy ElastigroupUpdate Policy - User
Data string The user data to provide when launching the instance.
- Utilize
Reserved boolInstances In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.
- Wait
For intCapacity 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 intCapacity Timeout 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
0to indicate no wait. This is ignored when updating with blue/green deployment.
- fallback
To booleanOndemand In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.
- instance
Types stringOndemand The type of instance determines your instance’s CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).
- instance
Types string[]Spots 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)".- security
Groups string[] A list of associated security group IDS.
- availability
Zones string[] List of Strings of availability zones. When this parameter is set,
subnet_idsshould be left unused. Note:availability_zonesnaming syntax follows the conventionavailability-zone:subnet:placement-group-name. For example, to set an AZ inus-east-1with subnetsubnet-123456and placement groupClusterI03, you would set:availability_zones = ["us-east-1a:subnet-123456:ClusterI03"]- block
Devices stringMode - capacity
Unit 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.
- cpu
Credits string Controls how T3 instances are launched. Valid values:
standard,unlimited.- description string
The group description.
- desired
Capacity number The desired number of instances the group should have at any time.
- draining
Timeout 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.
- ebs
Block ElastigroupDevices Ebs Block Device[] - ebs
Optimized 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.
- elastic
Ips string[] A list of AWS Elastic IP allocation IDs to associate to the group instances.
- elastic
Load string[]Balancers - enable
Monitoring boolean Indicates whether monitoring is enabled for the instance.
- ephemeral
Block ElastigroupDevices Ephemeral Block Device[] - health
Check numberGrace Period The amount of time, in seconds, after the instance has launched to starts and check its health.
- health
Check stringType 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 numberUnhealthy Duration Before Replacement 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 stringProfile The ARN or name of an IAM instance profile to associate with launched instances.
- image
Id string The ID of the AMI used to launch the instance.
- instance
Types string[]Preferred Spots Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.
- instance
Types ElastigroupWeights Instance Types Weight[] List of weights per instance type for weighted groups. Each object in the list should have the following attributes:
- integration
Beanstalk ElastigroupIntegration Beanstalk - integration
Codedeploy ElastigroupIntegration Codedeploy - integration
Docker ElastigroupSwarm Integration Docker Swarm - integration
Ecs ElastigroupIntegration Ecs - integration
Gitlab ElastigroupIntegration Gitlab - integration
Kubernetes ElastigroupIntegration Kubernetes - integration
Mesosphere ElastigroupIntegration Mesosphere - integration
Multai ElastigroupRuntime Integration Multai Runtime - integration
Nomad ElastigroupIntegration Nomad - integration
Rancher ElastigroupIntegration Rancher - integration
Route53 ElastigroupIntegration Route53 - key
Name string The key name that should be used for the instance.
- lifetime
Period string - max
Size number The maximum number of instances the group should have at any time.
- min
Size number The minimum number of instances the group should have at any time.
- multai
Target ElastigroupSets Multai Target Set[] - name string
The group name.
- network
Interfaces ElastigroupNetwork Interface[] - ondemand
Count 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_percentageparameter is being ignored.- persist
Block booleanDevices - persist
Private booleanIp - persist
Root booleanDevice - placement
Tenancy string Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.
- preferred
Availability string[]Zones 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_zonesandorientationvalue must not be"equalAzDistribution".- private
Ips 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).
- revert
To ElastigroupSpot Revert To Spot Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values:
"never","always","timeWindow"- scaling
Down ElastigroupPolicies Scaling Down Policy[] - scaling
Strategies ElastigroupScaling Strategy[] Set termination policy.
- scaling
Target ElastigroupPolicies Scaling Target Policy[] - scaling
Up ElastigroupPolicies Scaling Up Policy[] - scheduled
Tasks ElastigroupScheduled Task[] - shutdown
Script string The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script
- signals
Elastigroup
Signal[] - spot
Percentage number The percentage of Spot instances that would spin up from the
desired_capacitynumber.- stateful
Deallocation ElastigroupStateful Deallocation - subnet
Ids string[] List of Strings of subnet identifiers. Note: When this parameter is set,
availability_zonesshould be left unused.-
Elastigroup
Tag[] A key/value mapping of tags to assign to the resource.
- target
Group string[]Arns - update
Policy ElastigroupUpdate Policy - user
Data string The user data to provide when launching the instance.
- utilize
Reserved booleanInstances In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.
- wait
For numberCapacity 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 numberCapacity Timeout 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
0to indicate no wait. This is ignored when updating with blue/green deployment.
- fallback_
to_ boolondemand In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.
- instance_
types_ strondemand The type of instance determines your instance’s CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).
- instance_
types_ List[str]spots 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_idsshould be left unused. Note:availability_zonesnaming syntax follows the conventionavailability-zone:subnet:placement-group-name. For example, to set an AZ inus-east-1with subnetsubnet-123456and placement groupClusterI03, you would set:availability_zones = ["us-east-1a:subnet-123456:ClusterI03"]- block_
devices_ strmode - 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_ List[Elastigroupdevices Ebs Block Device] - 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_ List[str]balancers - enable_
monitoring bool Indicates whether monitoring is enabled for the instance.
- ephemeral_
block_ List[Elastigroupdevices Ephemeral Block Device] - health_
check_ floatgrace_ period The amount of time, in seconds, after the instance has launched to starts and check its health.
- health_
check_ strtype 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_ floatunhealthy_ duration_ before_ replacement 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_ strprofile 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_ List[str]preferred_ spots Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.
- instance_
types_ List[Elastigroupweights Instance Types Weight] List of weights per instance type for weighted groups. Each object in the list should have the following attributes:
- integration_
beanstalk Dict[ElastigroupIntegration Beanstalk] - integration_
codedeploy Dict[ElastigroupIntegration Codedeploy] - integration_
docker_ Dict[Elastigroupswarm Integration Docker Swarm] - integration_
ecs Dict[ElastigroupIntegration Ecs] - integration_
gitlab Dict[ElastigroupIntegration Gitlab] - integration_
kubernetes Dict[ElastigroupIntegration Kubernetes] - integration_
mesosphere Dict[ElastigroupIntegration Mesosphere] - integration_
multai_ Dict[Elastigroupruntime Integration Multai Runtime] - integration_
nomad Dict[ElastigroupIntegration Nomad] - integration_
rancher Dict[ElastigroupIntegration Rancher] - integration_
route53 Dict[ElastigroupIntegration Route53] - 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_ List[Elastigroupsets Multai Target Set] - name str
The group name.
- network_
interfaces List[ElastigroupNetwork Interface] - 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_percentageparameter is being ignored.- persist_
block_ booldevices - persist_
private_ boolip - persist_
root_ booldevice - placement_
tenancy str Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.
- preferred_
availability_ List[str]zones 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_zonesandorientationvalue 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_ Dict[Elastigroupspot Revert To Spot] Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values:
"never","always","timeWindow"- scaling_
down_ List[Elastigrouppolicies Scaling Down Policy] - scaling_
strategies List[ElastigroupScaling Strategy] Set termination policy.
- scaling_
target_ List[Elastigrouppolicies Scaling Target Policy] - scaling_
up_ List[Elastigrouppolicies Scaling Up Policy] - scheduled_
tasks List[ElastigroupScheduled Task] - shutdown_
script str The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script
- signals
List[Elastigroup
Signal] - spot_
percentage float The percentage of Spot instances that would spin up from the
desired_capacitynumber.- stateful_
deallocation Dict[ElastigroupStateful Deallocation] - subnet_
ids List[str] List of Strings of subnet identifiers. Note: When this parameter is set,
availability_zonesshould be left unused.-
List[Elastigroup
Tag] A key/value mapping of tags to assign to the resource.
- target_
group_ List[str]arns - update_
policy Dict[ElastigroupUpdate Policy] - user_
data str The user data to provide when launching the instance.
- utilize_
reserved_ boolinstances In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.
- wait_
for_ floatcapacity 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_ floatcapacity_ timeout 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
0to 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:
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): Elastigroupstatic 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:
- Availability
Zones List<string> List of Strings of availability zones. When this parameter is set,
subnet_idsshould be left unused. Note:availability_zonesnaming syntax follows the conventionavailability-zone:subnet:placement-group-name. For example, to set an AZ inus-east-1with subnetsubnet-123456and placement groupClusterI03, you would set:availability_zones = ["us-east-1a:subnet-123456:ClusterI03"]- Block
Devices stringMode - Capacity
Unit 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.
- Cpu
Credits string Controls how T3 instances are launched. Valid values:
standard,unlimited.- Description string
The group description.
- Desired
Capacity int The desired number of instances the group should have at any time.
- Draining
Timeout 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.
- Ebs
Block List<Pulumi.Devices Spot Inst. Aws. Inputs. Elastigroup Ebs Block Device Args> - 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<string> A list of AWS Elastic IP allocation IDs to associate to the group instances.
- Elastic
Load List<string>Balancers - Enable
Monitoring bool Indicates whether monitoring is enabled for the instance.
- Ephemeral
Block List<Pulumi.Devices Spot Inst. Aws. Inputs. Elastigroup Ephemeral Block Device Args> - Fallback
To boolOndemand In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.
- Health
Check intGrace Period The amount of time, in seconds, after the instance has launched to starts and check its health.
- Health
Check stringType 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 intUnhealthy Duration Before Replacement 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 stringProfile The ARN or name of an IAM instance profile to associate with launched instances.
- Image
Id string The ID of the AMI used to launch the instance.
- Instance
Types stringOndemand The type of instance determines your instance’s CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).
- Instance
Types List<string>Preferred Spots Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.
- Instance
Types List<string>Spots One or more instance types.
- Instance
Types List<Pulumi.Weights Spot Inst. Aws. Inputs. Elastigroup Instance Types Weight Args> List of weights per instance type for weighted groups. Each object in the list should have the following attributes:
- Integration
Beanstalk Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Beanstalk Args - Integration
Codedeploy Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Codedeploy Args - Integration
Docker Pulumi.Swarm Spot Inst. Aws. Inputs. Elastigroup Integration Docker Swarm Args - Integration
Ecs Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Ecs Args - Integration
Gitlab Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Gitlab Args - Integration
Kubernetes Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Kubernetes Args - Integration
Mesosphere Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Mesosphere Args - Integration
Multai Pulumi.Runtime Spot Inst. Aws. Inputs. Elastigroup Integration Multai Runtime Args - Integration
Nomad Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Nomad Args - Integration
Rancher Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Rancher Args - Integration
Route53 Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Route53Args - Key
Name string The key name that should be used for the instance.
- Lifetime
Period string - Max
Size int The maximum number of instances the group should have at any time.
- Min
Size int The minimum number of instances the group should have at any time.
- Multai
Target List<Pulumi.Sets Spot Inst. Aws. Inputs. Elastigroup Multai Target Set Args> - Name string
The group name.
- Network
Interfaces List<Pulumi.Spot Inst. Aws. Inputs. Elastigroup Network Interface Args> - Ondemand
Count 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_percentageparameter is being ignored.- Orientation string
Select a prediction strategy. Valid values:
"balanced","costOriented","equalAzDistribution","availabilityOriented".- Persist
Block boolDevices - Persist
Private boolIp - Persist
Root boolDevice - Placement
Tenancy string Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.
- Preferred
Availability List<string>Zones 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_zonesandorientationvalue must not be"equalAzDistribution".- Private
Ips 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).
- Revert
To Pulumi.Spot Spot Inst. Aws. Inputs. Elastigroup Revert To Spot Args Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values:
"never","always","timeWindow"- Scaling
Down List<Pulumi.Policies Spot Inst. Aws. Inputs. Elastigroup Scaling Down Policy Args> - Scaling
Strategies List<Pulumi.Spot Inst. Aws. Inputs. Elastigroup Scaling Strategy Args> Set termination policy.
- Scaling
Target List<Pulumi.Policies Spot Inst. Aws. Inputs. Elastigroup Scaling Target Policy Args> - Scaling
Up List<Pulumi.Policies Spot Inst. Aws. Inputs. Elastigroup Scaling Up Policy Args> - Scheduled
Tasks List<Pulumi.Spot Inst. Aws. Inputs. Elastigroup Scheduled Task Args> - Security
Groups List<string> A list of associated security group IDS.
- Shutdown
Script string The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script
- Signals
List<Pulumi.
Spot Inst. Aws. Inputs. Elastigroup Signal Args> - Spot
Percentage double The percentage of Spot instances that would spin up from the
desired_capacitynumber.- Stateful
Deallocation Pulumi.Spot Inst. Aws. Inputs. Elastigroup Stateful Deallocation Args - Subnet
Ids List<string> List of Strings of subnet identifiers. Note: When this parameter is set,
availability_zonesshould be left unused.-
List<Pulumi.
Spot Inst. Aws. Inputs. Elastigroup Tag Args> A key/value mapping of tags to assign to the resource.
- Target
Group List<string>Arns - Update
Policy Pulumi.Spot Inst. Aws. Inputs. Elastigroup Update Policy Args - User
Data string The user data to provide when launching the instance.
- Utilize
Reserved boolInstances In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.
- Wait
For intCapacity 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 intCapacity Timeout 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
0to indicate no wait. This is ignored when updating with blue/green deployment.
- Availability
Zones []string List of Strings of availability zones. When this parameter is set,
subnet_idsshould be left unused. Note:availability_zonesnaming syntax follows the conventionavailability-zone:subnet:placement-group-name. For example, to set an AZ inus-east-1with subnetsubnet-123456and placement groupClusterI03, you would set:availability_zones = ["us-east-1a:subnet-123456:ClusterI03"]- Block
Devices stringMode - Capacity
Unit 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.
- Cpu
Credits string Controls how T3 instances are launched. Valid values:
standard,unlimited.- Description string
The group description.
- Desired
Capacity int The desired number of instances the group should have at any time.
- Draining
Timeout 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.
- Ebs
Block []ElastigroupDevices Ebs Block Device - 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 []string A list of AWS Elastic IP allocation IDs to associate to the group instances.
- Elastic
Load []stringBalancers - Enable
Monitoring bool Indicates whether monitoring is enabled for the instance.
- Ephemeral
Block []ElastigroupDevices Ephemeral Block Device - Fallback
To boolOndemand In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.
- Health
Check intGrace Period The amount of time, in seconds, after the instance has launched to starts and check its health.
- Health
Check stringType 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 intUnhealthy Duration Before Replacement 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 stringProfile The ARN or name of an IAM instance profile to associate with launched instances.
- Image
Id string The ID of the AMI used to launch the instance.
- Instance
Types stringOndemand The type of instance determines your instance’s CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).
- Instance
Types []stringPreferred Spots Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.
- Instance
Types []stringSpots One or more instance types.
- Instance
Types []ElastigroupWeights Instance Types Weight List of weights per instance type for weighted groups. Each object in the list should have the following attributes:
- Integration
Beanstalk ElastigroupIntegration Beanstalk - Integration
Codedeploy ElastigroupIntegration Codedeploy - Integration
Docker ElastigroupSwarm Integration Docker Swarm - Integration
Ecs ElastigroupIntegration Ecs - Integration
Gitlab ElastigroupIntegration Gitlab - Integration
Kubernetes ElastigroupIntegration Kubernetes - Integration
Mesosphere ElastigroupIntegration Mesosphere - Integration
Multai ElastigroupRuntime Integration Multai Runtime - Integration
Nomad ElastigroupIntegration Nomad - Integration
Rancher ElastigroupIntegration Rancher - Integration
Route53 ElastigroupIntegration Route53 - Key
Name string The key name that should be used for the instance.
- Lifetime
Period string - Max
Size int The maximum number of instances the group should have at any time.
- Min
Size int The minimum number of instances the group should have at any time.
- Multai
Target []ElastigroupSets Multai Target Set - Name string
The group name.
- Network
Interfaces []ElastigroupNetwork Interface - Ondemand
Count 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_percentageparameter is being ignored.- Orientation string
Select a prediction strategy. Valid values:
"balanced","costOriented","equalAzDistribution","availabilityOriented".- Persist
Block boolDevices - Persist
Private boolIp - Persist
Root boolDevice - Placement
Tenancy string Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.
- Preferred
Availability []stringZones 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_zonesandorientationvalue must not be"equalAzDistribution".- Private
Ips []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).
- Revert
To ElastigroupSpot Revert To Spot Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values:
"never","always","timeWindow"- Scaling
Down []ElastigroupPolicies Scaling Down Policy - Scaling
Strategies []ElastigroupScaling Strategy Set termination policy.
- Scaling
Target []ElastigroupPolicies Scaling Target Policy - Scaling
Up []ElastigroupPolicies Scaling Up Policy - Scheduled
Tasks []ElastigroupScheduled Task - Security
Groups []string A list of associated security group IDS.
- Shutdown
Script string The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script
- Signals
[]Elastigroup
Signal - Spot
Percentage float64 The percentage of Spot instances that would spin up from the
desired_capacitynumber.- Stateful
Deallocation ElastigroupStateful Deallocation - Subnet
Ids []string List of Strings of subnet identifiers. Note: When this parameter is set,
availability_zonesshould be left unused.-
[]Elastigroup
Tag A key/value mapping of tags to assign to the resource.
- Target
Group []stringArns - Update
Policy ElastigroupUpdate Policy - User
Data string The user data to provide when launching the instance.
- Utilize
Reserved boolInstances In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.
- Wait
For intCapacity 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 intCapacity Timeout 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
0to indicate no wait. This is ignored when updating with blue/green deployment.
- availability
Zones string[] List of Strings of availability zones. When this parameter is set,
subnet_idsshould be left unused. Note:availability_zonesnaming syntax follows the conventionavailability-zone:subnet:placement-group-name. For example, to set an AZ inus-east-1with subnetsubnet-123456and placement groupClusterI03, you would set:availability_zones = ["us-east-1a:subnet-123456:ClusterI03"]- block
Devices stringMode - capacity
Unit 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.
- cpu
Credits string Controls how T3 instances are launched. Valid values:
standard,unlimited.- description string
The group description.
- desired
Capacity number The desired number of instances the group should have at any time.
- draining
Timeout 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.
- ebs
Block ElastigroupDevices Ebs Block Device[] - ebs
Optimized 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.
- elastic
Ips string[] A list of AWS Elastic IP allocation IDs to associate to the group instances.
- elastic
Load string[]Balancers - enable
Monitoring boolean Indicates whether monitoring is enabled for the instance.
- ephemeral
Block ElastigroupDevices Ephemeral Block Device[] - fallback
To booleanOndemand In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.
- health
Check numberGrace Period The amount of time, in seconds, after the instance has launched to starts and check its health.
- health
Check stringType 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 numberUnhealthy Duration Before Replacement 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 stringProfile The ARN or name of an IAM instance profile to associate with launched instances.
- image
Id string The ID of the AMI used to launch the instance.
- instance
Types stringOndemand The type of instance determines your instance’s CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).
- instance
Types string[]Preferred Spots Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.
- instance
Types string[]Spots One or more instance types.
- instance
Types ElastigroupWeights Instance Types Weight[] List of weights per instance type for weighted groups. Each object in the list should have the following attributes:
- integration
Beanstalk ElastigroupIntegration Beanstalk - integration
Codedeploy ElastigroupIntegration Codedeploy - integration
Docker ElastigroupSwarm Integration Docker Swarm - integration
Ecs ElastigroupIntegration Ecs - integration
Gitlab ElastigroupIntegration Gitlab - integration
Kubernetes ElastigroupIntegration Kubernetes - integration
Mesosphere ElastigroupIntegration Mesosphere - integration
Multai ElastigroupRuntime Integration Multai Runtime - integration
Nomad ElastigroupIntegration Nomad - integration
Rancher ElastigroupIntegration Rancher - integration
Route53 ElastigroupIntegration Route53 - key
Name string The key name that should be used for the instance.
- lifetime
Period string - max
Size number The maximum number of instances the group should have at any time.
- min
Size number The minimum number of instances the group should have at any time.
- multai
Target ElastigroupSets Multai Target Set[] - name string
The group name.
- network
Interfaces ElastigroupNetwork Interface[] - ondemand
Count 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_percentageparameter is being ignored.- orientation string
Select a prediction strategy. Valid values:
"balanced","costOriented","equalAzDistribution","availabilityOriented".- persist
Block booleanDevices - persist
Private booleanIp - persist
Root booleanDevice - placement
Tenancy string Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.
- preferred
Availability string[]Zones 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_zonesandorientationvalue must not be"equalAzDistribution".- private
Ips 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).
- revert
To ElastigroupSpot Revert To Spot Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values:
"never","always","timeWindow"- scaling
Down ElastigroupPolicies Scaling Down Policy[] - scaling
Strategies ElastigroupScaling Strategy[] Set termination policy.
- scaling
Target ElastigroupPolicies Scaling Target Policy[] - scaling
Up ElastigroupPolicies Scaling Up Policy[] - scheduled
Tasks ElastigroupScheduled Task[] - security
Groups string[] A list of associated security group IDS.
- shutdown
Script string The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script
- signals
Elastigroup
Signal[] - spot
Percentage number The percentage of Spot instances that would spin up from the
desired_capacitynumber.- stateful
Deallocation ElastigroupStateful Deallocation - subnet
Ids string[] List of Strings of subnet identifiers. Note: When this parameter is set,
availability_zonesshould be left unused.-
Elastigroup
Tag[] A key/value mapping of tags to assign to the resource.
- target
Group string[]Arns - update
Policy ElastigroupUpdate Policy - user
Data string The user data to provide when launching the instance.
- utilize
Reserved booleanInstances In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.
- wait
For numberCapacity 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 numberCapacity Timeout 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
0to 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_idsshould be left unused. Note:availability_zonesnaming syntax follows the conventionavailability-zone:subnet:placement-group-name. For example, to set an AZ inus-east-1with subnetsubnet-123456and placement groupClusterI03, you would set:availability_zones = ["us-east-1a:subnet-123456:ClusterI03"]- block_
devices_ strmode - 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_ List[Elastigroupdevices Ebs Block Device] - 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_ List[str]balancers - enable_
monitoring bool Indicates whether monitoring is enabled for the instance.
- ephemeral_
block_ List[Elastigroupdevices Ephemeral Block Device] - fallback_
to_ boolondemand In a case of no Spot instances available, Elastigroup will launch on-demand instances instead.
- health_
check_ floatgrace_ period The amount of time, in seconds, after the instance has launched to starts and check its health.
- health_
check_ strtype 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_ floatunhealthy_ duration_ before_ replacement 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_ strprofile 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_ strondemand The type of instance determines your instance’s CPU capacity, memory and storage (e.g., m1.small, c1.xlarge).
- instance_
types_ List[str]preferred_ spots Prioritize a subset of spot instance types. Must be a subset of the selected spot instance types.
- instance_
types_ List[str]spots One or more instance types.
- instance_
types_ List[Elastigroupweights Instance Types Weight] List of weights per instance type for weighted groups. Each object in the list should have the following attributes:
- integration_
beanstalk Dict[ElastigroupIntegration Beanstalk] - integration_
codedeploy Dict[ElastigroupIntegration Codedeploy] - integration_
docker_ Dict[Elastigroupswarm Integration Docker Swarm] - integration_
ecs Dict[ElastigroupIntegration Ecs] - integration_
gitlab Dict[ElastigroupIntegration Gitlab] - integration_
kubernetes Dict[ElastigroupIntegration Kubernetes] - integration_
mesosphere Dict[ElastigroupIntegration Mesosphere] - integration_
multai_ Dict[Elastigroupruntime Integration Multai Runtime] - integration_
nomad Dict[ElastigroupIntegration Nomad] - integration_
rancher Dict[ElastigroupIntegration Rancher] - integration_
route53 Dict[ElastigroupIntegration Route53] - 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_ List[Elastigroupsets Multai Target Set] - name str
The group name.
- network_
interfaces List[ElastigroupNetwork Interface] - 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_percentageparameter is being ignored.- orientation str
Select a prediction strategy. Valid values:
"balanced","costOriented","equalAzDistribution","availabilityOriented".- persist_
block_ booldevices - persist_
private_ boolip - persist_
root_ booldevice - placement_
tenancy str Enable dedicated tenancy. Note: There is a flat hourly fee for each region in which dedicated tenancy is used.
- preferred_
availability_ List[str]zones 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_zonesandorientationvalue 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_ Dict[Elastigroupspot Revert To Spot] Hold settings for strategy correction – replacing On-Demand for Spot instances. Supported Values:
"never","always","timeWindow"- scaling_
down_ List[Elastigrouppolicies Scaling Down Policy] - scaling_
strategies List[ElastigroupScaling Strategy] Set termination policy.
- scaling_
target_ List[Elastigrouppolicies Scaling Target Policy] - scaling_
up_ List[Elastigrouppolicies Scaling Up Policy] - scheduled_
tasks List[ElastigroupScheduled Task] - 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[Elastigroup
Signal] - spot_
percentage float The percentage of Spot instances that would spin up from the
desired_capacitynumber.- stateful_
deallocation Dict[ElastigroupStateful Deallocation] - subnet_
ids List[str] List of Strings of subnet identifiers. Note: When this parameter is set,
availability_zonesshould be left unused.-
List[Elastigroup
Tag] A key/value mapping of tags to assign to the resource.
- target_
group_ List[str]arns - update_
policy Dict[ElastigroupUpdate Policy] - user_
data str The user data to provide when launching the instance.
- utilize_
reserved_ boolinstances In a case of any available reserved instances, Elastigroup will utilize them first before purchasing Spot instances.
- wait_
for_ floatcapacity 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_ floatcapacity_ timeout 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
0to indicate no wait. This is ignored when updating with blue/green deployment.
Supporting Types
ElastigroupEbsBlockDevice
ElastigroupEphemeralBlockDevice
ElastigroupInstanceTypesWeight
- Instance
Type string Name of instance type (String).
- Weight int
Weight per instance type (Integer).
- Instance
Type string Name of instance type (String).
- Weight int
Weight per instance type (Integer).
- instance
Type string Name of instance type (String).
- weight number
Weight per instance type (Integer).
- instance
Type str Name of instance type (String).
- weight float
Weight per instance type (Integer).
ElastigroupIntegrationBeanstalk
ElastigroupIntegrationBeanstalkDeploymentPreferences
ElastigroupIntegrationBeanstalkDeploymentPreferencesStrategy
ElastigroupIntegrationBeanstalkManagedActions
ElastigroupIntegrationBeanstalkManagedActionsPlatformUpdate
- Perform
At 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.
- Time
Window string - Update
Level string
- Perform
At 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.
- Time
Window string - Update
Level string
- perform
At 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.
- time
Window string - update
Level string
- perform
At 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.
- time
Window str - update
Level str
ElastigroupIntegrationCodedeploy
ElastigroupIntegrationCodedeployDeploymentGroup
ElastigroupIntegrationDockerSwarm
ElastigroupIntegrationDockerSwarmAutoscaleDown
ElastigroupIntegrationDockerSwarmAutoscaleHeadroom
ElastigroupIntegrationEcs
- Cluster
Name string - Autoscale
Attributes List<Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Ecs Autoscale Attribute Args> - Autoscale
Cooldown int - Autoscale
Down Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Ecs Autoscale Down Args - Autoscale
Headroom Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Ecs Autoscale Headroom Args - Autoscale
Is boolAuto Config - Autoscale
Is boolEnabled - Autoscale
Scale boolDown Non Service Tasks
- Cluster
Name string - Autoscale
Attributes []ElastigroupIntegration Ecs Autoscale Attribute - Autoscale
Cooldown int - Autoscale
Down ElastigroupIntegration Ecs Autoscale Down - Autoscale
Headroom ElastigroupIntegration Ecs Autoscale Headroom - Autoscale
Is boolAuto Config - Autoscale
Is boolEnabled - Autoscale
Scale boolDown Non Service Tasks
- cluster
Name string - autoscale
Attributes ElastigroupIntegration Ecs Autoscale Attribute[] - autoscale
Cooldown number - autoscale
Down ElastigroupIntegration Ecs Autoscale Down - autoscale
Headroom ElastigroupIntegration Ecs Autoscale Headroom - autoscale
Is booleanAuto Config - autoscale
Is booleanEnabled - autoscale
Scale booleanDown Non Service Tasks
- cluster_
name str - autoscale
Attributes List[ElastigroupIntegration Ecs Autoscale Attribute] - autoscale
Cooldown float - autoscale
Down Dict[ElastigroupIntegration Ecs Autoscale Down] - autoscale
Headroom Dict[ElastigroupIntegration Ecs Autoscale Headroom] - autoscale
Is boolAuto Config - autoscale
Is boolEnabled - autoscale
Scale boolDown Non Service Tasks
ElastigroupIntegrationEcsAutoscaleAttribute
ElastigroupIntegrationEcsAutoscaleDown
ElastigroupIntegrationEcsAutoscaleHeadroom
ElastigroupIntegrationGitlab
ElastigroupIntegrationGitlabRunner
ElastigroupIntegrationKubernetes
- Api
Server string - Autoscale
Cooldown int - Autoscale
Down Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Kubernetes Autoscale Down Args - Autoscale
Headroom Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Kubernetes Autoscale Headroom Args - Autoscale
Is boolAuto Config - Autoscale
Is boolEnabled - Autoscale
Labels List<Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Kubernetes Autoscale Label Args> - Cluster
Identifier string - Integration
Mode string - Token string
- Api
Server string - Autoscale
Cooldown int - Autoscale
Down ElastigroupIntegration Kubernetes Autoscale Down - Autoscale
Headroom ElastigroupIntegration Kubernetes Autoscale Headroom - Autoscale
Is boolAuto Config - Autoscale
Is boolEnabled - Autoscale
Labels []ElastigroupIntegration Kubernetes Autoscale Label - Cluster
Identifier string - Integration
Mode string - Token string
- api
Server string - autoscale
Cooldown number - autoscale
Down ElastigroupIntegration Kubernetes Autoscale Down - autoscale
Headroom ElastigroupIntegration Kubernetes Autoscale Headroom - autoscale
Is booleanAuto Config - autoscale
Is booleanEnabled - autoscale
Labels ElastigroupIntegration Kubernetes Autoscale Label[] - cluster
Identifier string - integration
Mode string - token string
- api
Server str - autoscale
Cooldown float - autoscale
Down Dict[ElastigroupIntegration Kubernetes Autoscale Down] - autoscale
Headroom Dict[ElastigroupIntegration Kubernetes Autoscale Headroom] - autoscale
Is boolAuto Config - autoscale
Is boolEnabled - autoscale
Labels List[ElastigroupIntegration Kubernetes Autoscale Label] - cluster
Identifier str - integration
Mode str - token str
ElastigroupIntegrationKubernetesAutoscaleDown
ElastigroupIntegrationKubernetesAutoscaleHeadroom
ElastigroupIntegrationKubernetesAutoscaleLabel
ElastigroupIntegrationMesosphere
ElastigroupIntegrationMultaiRuntime
ElastigroupIntegrationNomad
- Master
Host string - Master
Port int - Acl
Token string - Autoscale
Constraints List<Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Nomad Autoscale Constraint Args> - Autoscale
Cooldown int - Autoscale
Down Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Nomad Autoscale Down Args - Autoscale
Headroom Pulumi.Spot Inst. Aws. Inputs. Elastigroup Integration Nomad Autoscale Headroom Args - Autoscale
Is boolEnabled
ElastigroupIntegrationNomadAutoscaleConstraint
ElastigroupIntegrationNomadAutoscaleDown
ElastigroupIntegrationNomadAutoscaleHeadroom
ElastigroupIntegrationRancher
ElastigroupIntegrationRoute53
ElastigroupIntegrationRoute53Domain
ElastigroupIntegrationRoute53DomainRecordSet
- Name string
The group name.
- Use
Public boolIp
- Name string
The group name.
- Use
Public boolIp
- name string
The group name.
- use
Public booleanIp
- name str
The group name.
- use
Public boolIp
ElastigroupMultaiTargetSet
ElastigroupNetworkInterface
ElastigroupRevertToSpot
- Perform
At 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.
- Time
Windows 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
- Perform
At 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.
- Time
Windows []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
- perform
At 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.
- time
Windows 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
- perform
At 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.
- time
Windows 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
- Metric
Name string - Namespace string
- Policy
Name string - Threshold double
- Unit string
- Action
Type string - Adjustment string
- Cooldown int
- Dimensions
List<Pulumi.
Spot Inst. Aws. Inputs. Elastigroup Scaling Down Policy Dimension Args> - Evaluation
Periods int - Is
Enabled bool - Max
Target stringCapacity - Maximum string
- Min
Target stringCapacity - Minimum string
- Operator string
- Period int
- Source string
- Statistic string
- Target string
- Metric
Name string - Namespace string
- Policy
Name string - Threshold float64
- Unit string
- Action
Type string - Adjustment string
- Cooldown int
- Dimensions
[]Elastigroup
Scaling Down Policy Dimension - Evaluation
Periods int - Is
Enabled bool - Max
Target stringCapacity - Maximum string
- Min
Target stringCapacity - Minimum string
- Operator string
- Period int
- Source string
- Statistic string
- Target string
- metric
Name string - namespace string
- policy
Name string - threshold number
- unit string
- action
Type string - adjustment string
- cooldown number
- dimensions
Elastigroup
Scaling Down Policy Dimension[] - evaluation
Periods number - is
Enabled boolean - max
Target stringCapacity - maximum string
- min
Target stringCapacity - minimum string
- operator string
- period number
- source string
- statistic string
- target string
- metric
Name str - namespace str
- policy
Name str - threshold float
- unit str
- action
Type str - adjustment str
- cooldown float
- dimensions
List[Elastigroup
Scaling Down Policy Dimension] - evaluation
Periods float - is
Enabled bool - max
Target strCapacity - maximum str
- min
Target strCapacity - minimum str
- operator str
- period float
- source str
- statistic str
- target str
ElastigroupScalingDownPolicyDimension
ElastigroupScalingStrategy
- Terminate
At boolEnd Of Billing Hour Specify whether to terminate instances at the end of each billing hour.
- Termination
Policy string - Determines whether to terminate the newest instances when performing a scaling action. Valid values:
"default","newestInstance".
- Determines whether to terminate the newest instances when performing a scaling action. Valid values:
- Terminate
At boolEnd Of Billing Hour Specify whether to terminate instances at the end of each billing hour.
- Termination
Policy string - Determines whether to terminate the newest instances when performing a scaling action. Valid values:
"default","newestInstance".
- Determines whether to terminate the newest instances when performing a scaling action. Valid values:
- terminate
At booleanEnd Of Billing Hour Specify whether to terminate instances at the end of each billing hour.
- termination
Policy string - Determines whether to terminate the newest instances when performing a scaling action. Valid values:
"default","newestInstance".
- Determines whether to terminate the newest instances when performing a scaling action. Valid values:
- terminate
At boolEnd Of Billing Hour Specify whether to terminate instances at the end of each billing hour.
- termination
Policy str - Determines whether to terminate the newest instances when performing a scaling action. Valid values:
"default","newestInstance".
- Determines whether to terminate the newest instances when performing a scaling action. Valid values:
ElastigroupScalingTargetPolicy
ElastigroupScalingTargetPolicyDimension
ElastigroupScalingUpPolicy
- Metric
Name string - Namespace string
- Policy
Name string - Threshold double
- Unit string
- Action
Type string - Adjustment string
- Cooldown int
- Dimensions
List<Pulumi.
Spot Inst. Aws. Inputs. Elastigroup Scaling Up Policy Dimension Args> - Evaluation
Periods int - Is
Enabled bool - Max
Target stringCapacity - Maximum string
- Min
Target stringCapacity - Minimum string
- Operator string
- Period int
- Source string
- Statistic string
- Target string
- Metric
Name string - Namespace string
- Policy
Name string - Threshold float64
- Unit string
- Action
Type string - Adjustment string
- Cooldown int
- Dimensions
[]Elastigroup
Scaling Up Policy Dimension - Evaluation
Periods int - Is
Enabled bool - Max
Target stringCapacity - Maximum string
- Min
Target stringCapacity - Minimum string
- Operator string
- Period int
- Source string
- Statistic string
- Target string
- metric
Name string - namespace string
- policy
Name string - threshold number
- unit string
- action
Type string - adjustment string
- cooldown number
- dimensions
Elastigroup
Scaling Up Policy Dimension[] - evaluation
Periods number - is
Enabled boolean - max
Target stringCapacity - maximum string
- min
Target stringCapacity - minimum string
- operator string
- period number
- source string
- statistic string
- target string
- metric
Name str - namespace str
- policy
Name str - threshold float
- unit str
- action
Type str - adjustment str
- cooldown float
- dimensions
List[Elastigroup
Scaling Up Policy Dimension] - evaluation
Periods float - is
Enabled bool - max
Target strCapacity - maximum str
- min
Target strCapacity - minimum str
- operator str
- period float
- source str
- statistic str
- target str
ElastigroupScalingUpPolicyDimension
ElastigroupScheduledTask
- task
Type string - adjustment string
- adjustment
Percentage string - batch
Size stringPercentage - cron
Expression string - frequency string
- grace
Period string - is
Enabled boolean - max
Capacity string - min
Capacity string - scale
Max stringCapacity - scale
Min stringCapacity - scale
Target stringCapacity - start
Time string - target
Capacity string
ElastigroupSignal
ElastigroupStatefulDeallocation
ElastigroupTag
ElastigroupUpdatePolicy
ElastigroupUpdatePolicyRollConfig
- Batch
Size intPercentage - Grace
Period int - Health
Check stringType 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.
Spot Inst. Aws. Inputs. Elastigroup Update Policy Roll Config Strategy Args - Wait
For intRoll Percentage - Wait
For intRoll Timeout
- Batch
Size intPercentage - Grace
Period int - Health
Check stringType 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
Elastigroup
Update Policy Roll Config Strategy - Wait
For intRoll Percentage - Wait
For intRoll Timeout
- batch
Size numberPercentage - grace
Period number - health
Check stringType 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
Elastigroup
Update Policy Roll Config Strategy - wait
For numberRoll Percentage - wait
For numberRoll Timeout
- batch
Size floatPercentage - grace_
period float - health_
check_ strtype 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[Elastigroup
Update Policy Roll Config Strategy] - wait
For floatRoll Percentage - wait
For floatRoll Timeout
ElastigroupUpdatePolicyRollConfigStrategy
ElastigroupUpdatePolicyRollConfigStrategyOnFailure
- Action
Type string - Batch
Num int - Draining
Timeout 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.
- Should
Decrement boolTarget Capacity - Should
Handle boolAll Batches
- Action
Type string - Batch
Num int - Draining
Timeout 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.
- Should
Decrement boolTarget Capacity - Should
Handle boolAll Batches
- action
Type string - batch
Num number - draining
Timeout 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.
- should
Decrement booleanTarget Capacity - should
Handle booleanAll Batches
- action
Type str - batch
Num 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.
- should
Decrement boolTarget Capacity - should
Handle boolAll Batches
Package Details
- Repository
- https://github.com/pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
spotinstTerraform Provider.