spotinst.aws.ManagedInstance
Provides a Spotinst AWS ManagedInstance resource.
Example Usage
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spotinst.aws.ManagedInstance;
import com.pulumi.spotinst.aws.ManagedInstanceArgs;
import com.pulumi.spotinst.aws.inputs.ManagedInstanceBlockDeviceMappingArgs;
import com.pulumi.spotinst.aws.inputs.ManagedInstanceBlockDeviceMappingEbsArgs;
import com.pulumi.spotinst.aws.inputs.ManagedInstanceResourceTagSpecificationArgs;
import com.pulumi.spotinst.aws.inputs.ManagedInstanceRevertToSpotArgs;
import com.pulumi.spotinst.aws.inputs.ManagedInstanceTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_managed_instance = new ManagedInstance("default-managed-instance", ManagedInstanceArgs.builder()
.autoHealing("true")
.blockDeviceMappings(ManagedInstanceBlockDeviceMappingArgs.builder()
.deviceName("/dev/xvdcz")
.ebs(ManagedInstanceBlockDeviceMappingEbsArgs.builder()
.deleteOnTermination("true")
.iops(100)
.throughput(125)
.volumeSize(50)
.volumeType("gp3")
.build())
.build())
.blockDevicesMode("reattach")
.cpuCredits("standard")
.description("created by Pulumi")
.drainingTimeout("120")
.ebsOptimized("true")
.elasticIp("ip")
.enableMonitoring("true")
.fallbackToOndemand(false)
.gracePeriod("180")
.healthCheckType("EC2")
.iamInstanceProfile("iam-profile")
.imageId("ami-1234")
.instanceTypes(
"t1.micro",
"t3.medium",
"t3.large",
"t2.medium",
"t2.large",
"z1d.large")
.keyPair("labs-oregon")
.lifeCycle("on_demand")
.minimumInstanceLifetime("1")
.optimizationWindows("Mon:03:00-Wed:02:20")
.orientation("balanced")
.persistBlockDevices("true")
.persistPrivateIp("false")
.persistRootDevice("true")
.placementTenancy("default")
.preferredType("t1.micro")
.privateIp("ip")
.product("Linux/UNIX")
.region("us-west-2")
.resourceTagSpecifications(ManagedInstanceResourceTagSpecificationArgs.builder()
.shouldTagAmis(true)
.shouldTagEnis(true)
.shouldTagSnapshots(true)
.shouldTagVolumes(true)
.build())
.revertToSpot(ManagedInstanceRevertToSpotArgs.builder()
.performAt("always")
.build())
.securityGroupIds("sg-234")
.shutdownScript("managed instance bye world")
.subnetIds("subnet-123")
.tags(
ManagedInstanceTagArgs.builder()
.key("explicit1")
.value("value1")
.build(),
ManagedInstanceTagArgs.builder()
.key("explicit2")
.value("value2")
.build())
.unhealthyDuration("60")
.userData("managed instance hello world")
.utilizeReservedInstances(true)
.vpcId("vpc-123")
.build());
}
}
Coming soon!
Coming soon!
resources:
# Create a Manged Instance
default-managed-instance:
type: spotinst:aws:ManagedInstance
properties:
autoHealing: 'true'
blockDeviceMappings:
- deviceName: /dev/xvdcz
ebs:
deleteOnTermination: 'true'
iops: 100
throughput: 125
volumeSize: 50
volumeType: gp3
blockDevicesMode: reattach
cpuCredits: standard
description: created by Pulumi
drainingTimeout: '120'
ebsOptimized: 'true'
elasticIp: ip
enableMonitoring: 'true'
fallbackToOndemand: false
gracePeriod: '180'
healthCheckType: EC2
iamInstanceProfile: iam-profile
imageId: ami-1234
instanceTypes:
- t1.micro
- t3.medium
- t3.large
- t2.medium
- t2.large
- z1d.large
keyPair: labs-oregon
lifeCycle: on_demand
minimumInstanceLifetime: '1'
optimizationWindows:
- Mon:03:00-Wed:02:20
orientation: balanced
persistBlockDevices: 'true'
persistPrivateIp: 'false'
persistRootDevice: 'true'
placementTenancy: default
preferredType: t1.micro
privateIp: ip
product: Linux/UNIX
region: us-west-2
resourceTagSpecifications:
- shouldTagAmis: true
shouldTagEnis: true
shouldTagSnapshots: true
shouldTagVolumes: true
revertToSpot:
performAt: always
securityGroupIds:
- sg-234
shutdownScript: managed instance bye world
subnetIds:
- subnet-123
tags:
- key: explicit1
value: value1
- key: explicit2
value: value2
unhealthyDuration: '60'
userData: managed instance hello world
utilizeReservedInstances: true
vpcId: vpc-123
Create ManagedInstance Resource
new ManagedInstance(name: string, args: ManagedInstanceArgs, opts?: CustomResourceOptions);
@overload
def ManagedInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
auto_healing: Optional[bool] = None,
block_device_mappings: Optional[Sequence[ManagedInstanceBlockDeviceMappingArgs]] = None,
block_devices_mode: Optional[str] = None,
cpu_credits: Optional[str] = None,
description: Optional[str] = None,
draining_timeout: Optional[int] = None,
ebs_optimized: Optional[bool] = None,
elastic_ip: Optional[str] = None,
enable_monitoring: Optional[bool] = None,
fall_back_to_od: Optional[bool] = None,
grace_period: Optional[int] = None,
health_check_type: Optional[str] = None,
iam_instance_profile: Optional[str] = None,
image_id: Optional[str] = None,
instance_types: Optional[Sequence[str]] = None,
integration_route53: Optional[ManagedInstanceIntegrationRoute53Args] = None,
key_pair: Optional[str] = None,
life_cycle: Optional[str] = None,
load_balancers: Optional[Sequence[ManagedInstanceLoadBalancerArgs]] = None,
managed_instance_action: Optional[ManagedInstanceManagedInstanceActionArgs] = None,
minimum_instance_lifetime: Optional[int] = None,
name: Optional[str] = None,
network_interfaces: Optional[Sequence[ManagedInstanceNetworkInterfaceArgs]] = None,
optimization_windows: Optional[Sequence[str]] = None,
orientation: Optional[str] = None,
persist_block_devices: Optional[bool] = None,
persist_private_ip: Optional[bool] = None,
persist_root_device: Optional[bool] = None,
placement_tenancy: Optional[str] = None,
preferred_type: Optional[str] = None,
private_ip: Optional[str] = None,
product: Optional[str] = None,
region: Optional[str] = None,
resource_tag_specifications: Optional[Sequence[ManagedInstanceResourceTagSpecificationArgs]] = None,
revert_to_spot: Optional[ManagedInstanceRevertToSpotArgs] = None,
scheduled_tasks: Optional[Sequence[ManagedInstanceScheduledTaskArgs]] = None,
security_group_ids: Optional[Sequence[str]] = None,
shutdown_script: Optional[str] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[ManagedInstanceTagArgs]] = None,
unhealthy_duration: Optional[int] = None,
user_data: Optional[str] = None,
utilize_reserved_instances: Optional[bool] = None,
vpc_id: Optional[str] = None)
@overload
def ManagedInstance(resource_name: str,
args: ManagedInstanceArgs,
opts: Optional[ResourceOptions] = None)
func NewManagedInstance(ctx *Context, name string, args ManagedInstanceArgs, opts ...ResourceOption) (*ManagedInstance, error)
public ManagedInstance(string name, ManagedInstanceArgs args, CustomResourceOptions? opts = null)
public ManagedInstance(String name, ManagedInstanceArgs args)
public ManagedInstance(String name, ManagedInstanceArgs args, CustomResourceOptions options)
type: spotinst:aws:ManagedInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagedInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ManagedInstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ManagedInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagedInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagedInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ManagedInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ManagedInstance resource accepts the following input properties:
- Image
Id string The ID of the image used to launch the instance.
- Instance
Types List<string> Comma separated list of available instance types for instance.
- Persist
Block boolDevices Should the instance maintain its Data volumes.
- Product string
Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
,"Red Hat Enterprise Linux"
,"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
,"Red Hat Enterprise Linux (Amazon VPC)"
.- Subnet
Ids List<string> A comma-separated list of subnet identifiers for your instance.
- Vpc
Id string - Auto
Healing bool Enable the auto healing which auto replaces the instance in case the health check fails, default:
"true"
.- Block
Device List<Pulumi.Mappings Spot Inst. Aws. Inputs. Managed Instance Block Device Mapping Args> Attributes controls a portion of the AWS:
- Block
Devices stringMode Determine the way we attach the data volumes to the data devices. Valid values:
"reattach"
,"onLaunch"
. Default:"onLaunch"
.- Cpu
Credits string cpuCredits can have one of two values:
"unlimited"
,"standard"
.- Description string
The ManagedInstance description.
- Draining
Timeout int The time in seconds to allow the instance be drained from incoming TCP connections and detached from ELB before terminating it, during a scale down operation.
- Ebs
Optimized bool Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false
- Elastic
Ip string Elastic IP Allocation Id to associate to the instance.
- Enable
Monitoring bool Describes whether instance Enhanced Monitoring is enabled. Default: false
- Fall
Back boolTo Od - Grace
Period int The amount of time, in seconds, after the instance has launched to starts and check its health, default
"120"
.- Health
Check stringType The service to use for the health check. Valid values:
"EC2"
,"ELB"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
. Default:"EC2"
.- Iam
Instance stringProfile Set IAM profile to instance. Set only one of ARN or Name.
- Integration
Route53 Pulumi.Spot Inst. Aws. Inputs. Managed Instance Integration Route53Args Describes the Route53 integration.
- Key
Pair string Specify a Key Pair to attach to the instances.
- Life
Cycle string Set lifecycle, valid values:
"spot"
,"on_demand"
. Default"spot"
.- Load
Balancers List<Pulumi.Spot Inst. Aws. Inputs. Managed Instance Load Balancer Args> - Managed
Instance Pulumi.Action Spot Inst. Aws. Inputs. Managed Instance Managed Instance Action Args - Minimum
Instance intLifetime - Name string
The ManagedInstance name.
- Network
Interfaces List<Pulumi.Spot Inst. Aws. Inputs. Managed Instance Network Interface Args> - Optimization
Windows List<string> When
performAt
is"timeWindow"
: must specify a list of"timeWindows"
with at least one time window. Each string should be formatted asddd:hh:mm-ddd:hh:mm
(ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59).- Orientation string
Select a prediction strategy. Valid values:
"balanced"
,"costOriented"
,"availabilityOriented"
,"cheapest"
. Default:"availabilityOriented"
.- Persist
Private boolIp Should the instance maintain its private IP.
- Persist
Root boolDevice Should the instance maintain its root device volumes.
- Placement
Tenancy string Valid values:
"default"
,"dedicated"
. Default: default- Preferred
Type string Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency
- Private
Ip string Private IP Allocation Id to associate to the instance.
- Region string
The AWS region your group will be created in.
- List<Pulumi.
Spot Inst. Aws. Inputs. Managed Instance Resource Tag Specification Args> - Revert
To Pulumi.Spot Spot Inst. Aws. Inputs. Managed Instance Revert To Spot Args - Scheduled
Tasks List<Pulumi.Spot Inst. Aws. Inputs. Managed Instance Scheduled Task Args> - Security
Group List<string>Ids One or more security group IDs.
- Shutdown
Script string The Base64-encoded shutdown script to execute prior to instance termination.
- List<Pulumi.
Spot Inst. Aws. Inputs. Managed Instance Tag Args> Set tags for the instance. Items should be unique.
- Unhealthy
Duration int The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced, default
"120"
.- User
Data string The Base64-encoded MIME user data to make available to the instances.
- Utilize
Reserved boolInstances In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default:
"false"
.
- Image
Id string The ID of the image used to launch the instance.
- Instance
Types []string Comma separated list of available instance types for instance.
- Persist
Block boolDevices Should the instance maintain its Data volumes.
- Product string
Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
,"Red Hat Enterprise Linux"
,"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
,"Red Hat Enterprise Linux (Amazon VPC)"
.- Subnet
Ids []string A comma-separated list of subnet identifiers for your instance.
- Vpc
Id string - Auto
Healing bool Enable the auto healing which auto replaces the instance in case the health check fails, default:
"true"
.- Block
Device []ManagedMappings Instance Block Device Mapping Args Attributes controls a portion of the AWS:
- Block
Devices stringMode Determine the way we attach the data volumes to the data devices. Valid values:
"reattach"
,"onLaunch"
. Default:"onLaunch"
.- Cpu
Credits string cpuCredits can have one of two values:
"unlimited"
,"standard"
.- Description string
The ManagedInstance description.
- Draining
Timeout int The time in seconds to allow the instance be drained from incoming TCP connections and detached from ELB before terminating it, during a scale down operation.
- Ebs
Optimized bool Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false
- Elastic
Ip string Elastic IP Allocation Id to associate to the instance.
- Enable
Monitoring bool Describes whether instance Enhanced Monitoring is enabled. Default: false
- Fall
Back boolTo Od - Grace
Period int The amount of time, in seconds, after the instance has launched to starts and check its health, default
"120"
.- Health
Check stringType The service to use for the health check. Valid values:
"EC2"
,"ELB"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
. Default:"EC2"
.- Iam
Instance stringProfile Set IAM profile to instance. Set only one of ARN or Name.
- Integration
Route53 ManagedInstance Integration Route53Args Describes the Route53 integration.
- Key
Pair string Specify a Key Pair to attach to the instances.
- Life
Cycle string Set lifecycle, valid values:
"spot"
,"on_demand"
. Default"spot"
.- Load
Balancers []ManagedInstance Load Balancer Args - Managed
Instance ManagedAction Instance Managed Instance Action Args - Minimum
Instance intLifetime - Name string
The ManagedInstance name.
- Network
Interfaces []ManagedInstance Network Interface Args - Optimization
Windows []string When
performAt
is"timeWindow"
: must specify a list of"timeWindows"
with at least one time window. Each string should be formatted asddd:hh:mm-ddd:hh:mm
(ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59).- Orientation string
Select a prediction strategy. Valid values:
"balanced"
,"costOriented"
,"availabilityOriented"
,"cheapest"
. Default:"availabilityOriented"
.- Persist
Private boolIp Should the instance maintain its private IP.
- Persist
Root boolDevice Should the instance maintain its root device volumes.
- Placement
Tenancy string Valid values:
"default"
,"dedicated"
. Default: default- Preferred
Type string Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency
- Private
Ip string Private IP Allocation Id to associate to the instance.
- Region string
The AWS region your group will be created in.
- []Managed
Instance Resource Tag Specification Args - Revert
To ManagedSpot Instance Revert To Spot Args - Scheduled
Tasks []ManagedInstance Scheduled Task Args - Security
Group []stringIds One or more security group IDs.
- Shutdown
Script string The Base64-encoded shutdown script to execute prior to instance termination.
- []Managed
Instance Tag Args Set tags for the instance. Items should be unique.
- Unhealthy
Duration int The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced, default
"120"
.- User
Data string The Base64-encoded MIME user data to make available to the instances.
- Utilize
Reserved boolInstances In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default:
"false"
.
- image
Id String The ID of the image used to launch the instance.
- instance
Types List<String> Comma separated list of available instance types for instance.
- persist
Block BooleanDevices Should the instance maintain its Data volumes.
- product String
Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
,"Red Hat Enterprise Linux"
,"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
,"Red Hat Enterprise Linux (Amazon VPC)"
.- subnet
Ids List<String> A comma-separated list of subnet identifiers for your instance.
- vpc
Id String - auto
Healing Boolean Enable the auto healing which auto replaces the instance in case the health check fails, default:
"true"
.- block
Device List<ManagedMappings Instance Block Device Mapping Args> Attributes controls a portion of the AWS:
- block
Devices StringMode Determine the way we attach the data volumes to the data devices. Valid values:
"reattach"
,"onLaunch"
. Default:"onLaunch"
.- cpu
Credits String cpuCredits can have one of two values:
"unlimited"
,"standard"
.- description String
The ManagedInstance description.
- draining
Timeout Integer The time in seconds to allow the instance be drained from incoming TCP connections and detached from ELB before terminating it, during a scale down operation.
- ebs
Optimized Boolean Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false
- elastic
Ip String Elastic IP Allocation Id to associate to the instance.
- enable
Monitoring Boolean Describes whether instance Enhanced Monitoring is enabled. Default: false
- fall
Back BooleanTo Od - grace
Period Integer The amount of time, in seconds, after the instance has launched to starts and check its health, default
"120"
.- health
Check StringType The service to use for the health check. Valid values:
"EC2"
,"ELB"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
. Default:"EC2"
.- iam
Instance StringProfile Set IAM profile to instance. Set only one of ARN or Name.
- integration
Route53 ManagedInstance Integration Route53Args Describes the Route53 integration.
- key
Pair String Specify a Key Pair to attach to the instances.
- life
Cycle String Set lifecycle, valid values:
"spot"
,"on_demand"
. Default"spot"
.- load
Balancers List<ManagedInstance Load Balancer Args> - managed
Instance ManagedAction Instance Managed Instance Action Args - minimum
Instance IntegerLifetime - name String
The ManagedInstance name.
- network
Interfaces List<ManagedInstance Network Interface Args> - optimization
Windows List<String> When
performAt
is"timeWindow"
: must specify a list of"timeWindows"
with at least one time window. Each string should be formatted asddd:hh:mm-ddd:hh:mm
(ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59).- orientation String
Select a prediction strategy. Valid values:
"balanced"
,"costOriented"
,"availabilityOriented"
,"cheapest"
. Default:"availabilityOriented"
.- persist
Private BooleanIp Should the instance maintain its private IP.
- persist
Root BooleanDevice Should the instance maintain its root device volumes.
- placement
Tenancy String Valid values:
"default"
,"dedicated"
. Default: default- preferred
Type String Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency
- private
Ip String Private IP Allocation Id to associate to the instance.
- region String
The AWS region your group will be created in.
- List<Managed
Instance Resource Tag Specification Args> - revert
To ManagedSpot Instance Revert To Spot Args - scheduled
Tasks List<ManagedInstance Scheduled Task Args> - security
Group List<String>Ids One or more security group IDs.
- shutdown
Script String The Base64-encoded shutdown script to execute prior to instance termination.
- List<Managed
Instance Tag Args> Set tags for the instance. Items should be unique.
- unhealthy
Duration Integer The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced, default
"120"
.- user
Data String The Base64-encoded MIME user data to make available to the instances.
- utilize
Reserved BooleanInstances In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default:
"false"
.
- image
Id string The ID of the image used to launch the instance.
- instance
Types string[] Comma separated list of available instance types for instance.
- persist
Block booleanDevices Should the instance maintain its Data volumes.
- product string
Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
,"Red Hat Enterprise Linux"
,"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
,"Red Hat Enterprise Linux (Amazon VPC)"
.- subnet
Ids string[] A comma-separated list of subnet identifiers for your instance.
- vpc
Id string - auto
Healing boolean Enable the auto healing which auto replaces the instance in case the health check fails, default:
"true"
.- block
Device ManagedMappings Instance Block Device Mapping Args[] Attributes controls a portion of the AWS:
- block
Devices stringMode Determine the way we attach the data volumes to the data devices. Valid values:
"reattach"
,"onLaunch"
. Default:"onLaunch"
.- cpu
Credits string cpuCredits can have one of two values:
"unlimited"
,"standard"
.- description string
The ManagedInstance description.
- draining
Timeout number The time in seconds to allow the instance be drained from incoming TCP connections and detached from ELB before terminating it, during a scale down operation.
- ebs
Optimized boolean Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false
- elastic
Ip string Elastic IP Allocation Id to associate to the instance.
- enable
Monitoring boolean Describes whether instance Enhanced Monitoring is enabled. Default: false
- fall
Back booleanTo Od - grace
Period number The amount of time, in seconds, after the instance has launched to starts and check its health, default
"120"
.- health
Check stringType The service to use for the health check. Valid values:
"EC2"
,"ELB"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
. Default:"EC2"
.- iam
Instance stringProfile Set IAM profile to instance. Set only one of ARN or Name.
- integration
Route53 ManagedInstance Integration Route53Args Describes the Route53 integration.
- key
Pair string Specify a Key Pair to attach to the instances.
- life
Cycle string Set lifecycle, valid values:
"spot"
,"on_demand"
. Default"spot"
.- load
Balancers ManagedInstance Load Balancer Args[] - managed
Instance ManagedAction Instance Managed Instance Action Args - minimum
Instance numberLifetime - name string
The ManagedInstance name.
- network
Interfaces ManagedInstance Network Interface Args[] - optimization
Windows string[] When
performAt
is"timeWindow"
: must specify a list of"timeWindows"
with at least one time window. Each string should be formatted asddd:hh:mm-ddd:hh:mm
(ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59).- orientation string
Select a prediction strategy. Valid values:
"balanced"
,"costOriented"
,"availabilityOriented"
,"cheapest"
. Default:"availabilityOriented"
.- persist
Private booleanIp Should the instance maintain its private IP.
- persist
Root booleanDevice Should the instance maintain its root device volumes.
- placement
Tenancy string Valid values:
"default"
,"dedicated"
. Default: default- preferred
Type string Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency
- private
Ip string Private IP Allocation Id to associate to the instance.
- region string
The AWS region your group will be created in.
- Managed
Instance Resource Tag Specification Args[] - revert
To ManagedSpot Instance Revert To Spot Args - scheduled
Tasks ManagedInstance Scheduled Task Args[] - security
Group string[]Ids One or more security group IDs.
- shutdown
Script string The Base64-encoded shutdown script to execute prior to instance termination.
- Managed
Instance Tag Args[] Set tags for the instance. Items should be unique.
- unhealthy
Duration number The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced, default
"120"
.- user
Data string The Base64-encoded MIME user data to make available to the instances.
- utilize
Reserved booleanInstances In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default:
"false"
.
- image_
id str The ID of the image used to launch the instance.
- instance_
types Sequence[str] Comma separated list of available instance types for instance.
- persist_
block_ booldevices Should the instance maintain its Data volumes.
- product str
Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
,"Red Hat Enterprise Linux"
,"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
,"Red Hat Enterprise Linux (Amazon VPC)"
.- subnet_
ids Sequence[str] A comma-separated list of subnet identifiers for your instance.
- vpc_
id str - auto_
healing bool Enable the auto healing which auto replaces the instance in case the health check fails, default:
"true"
.- block_
device_ Sequence[Managedmappings Instance Block Device Mapping Args] Attributes controls a portion of the AWS:
- block_
devices_ strmode Determine the way we attach the data volumes to the data devices. Valid values:
"reattach"
,"onLaunch"
. Default:"onLaunch"
.- cpu_
credits str cpuCredits can have one of two values:
"unlimited"
,"standard"
.- description str
The ManagedInstance description.
- draining_
timeout int The time in seconds to allow the instance be drained from incoming TCP connections and detached from ELB before terminating it, during a scale down operation.
- ebs_
optimized bool Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false
- elastic_
ip str Elastic IP Allocation Id to associate to the instance.
- enable_
monitoring bool Describes whether instance Enhanced Monitoring is enabled. Default: false
- fall_
back_ boolto_ od - grace_
period int The amount of time, in seconds, after the instance has launched to starts and check its health, default
"120"
.- health_
check_ strtype The service to use for the health check. Valid values:
"EC2"
,"ELB"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
. Default:"EC2"
.- iam_
instance_ strprofile Set IAM profile to instance. Set only one of ARN or Name.
- integration_
route53 ManagedInstance Integration Route53Args Describes the Route53 integration.
- key_
pair str Specify a Key Pair to attach to the instances.
- life_
cycle str Set lifecycle, valid values:
"spot"
,"on_demand"
. Default"spot"
.- load_
balancers Sequence[ManagedInstance Load Balancer Args] - managed_
instance_ Managedaction Instance Managed Instance Action Args - minimum_
instance_ intlifetime - name str
The ManagedInstance name.
- network_
interfaces Sequence[ManagedInstance Network Interface Args] - optimization_
windows Sequence[str] When
performAt
is"timeWindow"
: must specify a list of"timeWindows"
with at least one time window. Each string should be formatted asddd:hh:mm-ddd:hh:mm
(ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59).- orientation str
Select a prediction strategy. Valid values:
"balanced"
,"costOriented"
,"availabilityOriented"
,"cheapest"
. Default:"availabilityOriented"
.- persist_
private_ boolip Should the instance maintain its private IP.
- persist_
root_ booldevice Should the instance maintain its root device volumes.
- placement_
tenancy str Valid values:
"default"
,"dedicated"
. Default: default- preferred_
type str Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency
- private_
ip str Private IP Allocation Id to associate to the instance.
- region str
The AWS region your group will be created in.
- resource_
tag_ Sequence[Managedspecifications Instance Resource Tag Specification Args] - revert_
to_ Managedspot Instance Revert To Spot Args - scheduled_
tasks Sequence[ManagedInstance Scheduled Task Args] - security_
group_ Sequence[str]ids One or more security group IDs.
- shutdown_
script str The Base64-encoded shutdown script to execute prior to instance termination.
- Sequence[Managed
Instance Tag Args] Set tags for the instance. Items should be unique.
- unhealthy_
duration int The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced, default
"120"
.- user_
data str The Base64-encoded MIME user data to make available to the instances.
- utilize_
reserved_ boolinstances In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default:
"false"
.
- image
Id String The ID of the image used to launch the instance.
- instance
Types List<String> Comma separated list of available instance types for instance.
- persist
Block BooleanDevices Should the instance maintain its Data volumes.
- product String
Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
,"Red Hat Enterprise Linux"
,"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
,"Red Hat Enterprise Linux (Amazon VPC)"
.- subnet
Ids List<String> A comma-separated list of subnet identifiers for your instance.
- vpc
Id String - auto
Healing Boolean Enable the auto healing which auto replaces the instance in case the health check fails, default:
"true"
.- block
Device List<Property Map>Mappings Attributes controls a portion of the AWS:
- block
Devices StringMode Determine the way we attach the data volumes to the data devices. Valid values:
"reattach"
,"onLaunch"
. Default:"onLaunch"
.- cpu
Credits String cpuCredits can have one of two values:
"unlimited"
,"standard"
.- description String
The ManagedInstance description.
- draining
Timeout Number The time in seconds to allow the instance be drained from incoming TCP connections and detached from ELB before terminating it, during a scale down operation.
- ebs
Optimized Boolean Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false
- elastic
Ip String Elastic IP Allocation Id to associate to the instance.
- enable
Monitoring Boolean Describes whether instance Enhanced Monitoring is enabled. Default: false
- fall
Back BooleanTo Od - grace
Period Number The amount of time, in seconds, after the instance has launched to starts and check its health, default
"120"
.- health
Check StringType The service to use for the health check. Valid values:
"EC2"
,"ELB"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
. Default:"EC2"
.- iam
Instance StringProfile Set IAM profile to instance. Set only one of ARN or Name.
- integration
Route53 Property Map Describes the Route53 integration.
- key
Pair String Specify a Key Pair to attach to the instances.
- life
Cycle String Set lifecycle, valid values:
"spot"
,"on_demand"
. Default"spot"
.- load
Balancers List<Property Map> - managed
Instance Property MapAction - minimum
Instance NumberLifetime - name String
The ManagedInstance name.
- network
Interfaces List<Property Map> - optimization
Windows List<String> When
performAt
is"timeWindow"
: must specify a list of"timeWindows"
with at least one time window. Each string should be formatted asddd:hh:mm-ddd:hh:mm
(ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59).- orientation String
Select a prediction strategy. Valid values:
"balanced"
,"costOriented"
,"availabilityOriented"
,"cheapest"
. Default:"availabilityOriented"
.- persist
Private BooleanIp Should the instance maintain its private IP.
- persist
Root BooleanDevice Should the instance maintain its root device volumes.
- placement
Tenancy String Valid values:
"default"
,"dedicated"
. Default: default- preferred
Type String Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency
- private
Ip String Private IP Allocation Id to associate to the instance.
- region String
The AWS region your group will be created in.
- List<Property Map>
- revert
To Property MapSpot - scheduled
Tasks List<Property Map> - security
Group List<String>Ids One or more security group IDs.
- shutdown
Script String The Base64-encoded shutdown script to execute prior to instance termination.
- List<Property Map>
Set tags for the instance. Items should be unique.
- unhealthy
Duration Number The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced, default
"120"
.- user
Data String The Base64-encoded MIME user data to make available to the instances.
- utilize
Reserved BooleanInstances In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default:
"false"
.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagedInstance 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 string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing ManagedInstance Resource
Get an existing ManagedInstance 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?: ManagedInstanceState, opts?: CustomResourceOptions): ManagedInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_healing: Optional[bool] = None,
block_device_mappings: Optional[Sequence[ManagedInstanceBlockDeviceMappingArgs]] = None,
block_devices_mode: Optional[str] = None,
cpu_credits: Optional[str] = None,
description: Optional[str] = None,
draining_timeout: Optional[int] = None,
ebs_optimized: Optional[bool] = None,
elastic_ip: Optional[str] = None,
enable_monitoring: Optional[bool] = None,
fall_back_to_od: Optional[bool] = None,
grace_period: Optional[int] = None,
health_check_type: Optional[str] = None,
iam_instance_profile: Optional[str] = None,
image_id: Optional[str] = None,
instance_types: Optional[Sequence[str]] = None,
integration_route53: Optional[ManagedInstanceIntegrationRoute53Args] = None,
key_pair: Optional[str] = None,
life_cycle: Optional[str] = None,
load_balancers: Optional[Sequence[ManagedInstanceLoadBalancerArgs]] = None,
managed_instance_action: Optional[ManagedInstanceManagedInstanceActionArgs] = None,
minimum_instance_lifetime: Optional[int] = None,
name: Optional[str] = None,
network_interfaces: Optional[Sequence[ManagedInstanceNetworkInterfaceArgs]] = None,
optimization_windows: Optional[Sequence[str]] = None,
orientation: Optional[str] = None,
persist_block_devices: Optional[bool] = None,
persist_private_ip: Optional[bool] = None,
persist_root_device: Optional[bool] = None,
placement_tenancy: Optional[str] = None,
preferred_type: Optional[str] = None,
private_ip: Optional[str] = None,
product: Optional[str] = None,
region: Optional[str] = None,
resource_tag_specifications: Optional[Sequence[ManagedInstanceResourceTagSpecificationArgs]] = None,
revert_to_spot: Optional[ManagedInstanceRevertToSpotArgs] = None,
scheduled_tasks: Optional[Sequence[ManagedInstanceScheduledTaskArgs]] = None,
security_group_ids: Optional[Sequence[str]] = None,
shutdown_script: Optional[str] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[ManagedInstanceTagArgs]] = None,
unhealthy_duration: Optional[int] = None,
user_data: Optional[str] = None,
utilize_reserved_instances: Optional[bool] = None,
vpc_id: Optional[str] = None) -> ManagedInstance
func GetManagedInstance(ctx *Context, name string, id IDInput, state *ManagedInstanceState, opts ...ResourceOption) (*ManagedInstance, error)
public static ManagedInstance Get(string name, Input<string> id, ManagedInstanceState? state, CustomResourceOptions? opts = null)
public static ManagedInstance get(String name, Output<String> id, ManagedInstanceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Auto
Healing bool Enable the auto healing which auto replaces the instance in case the health check fails, default:
"true"
.- Block
Device List<Pulumi.Mappings Spot Inst. Aws. Inputs. Managed Instance Block Device Mapping Args> Attributes controls a portion of the AWS:
- Block
Devices stringMode Determine the way we attach the data volumes to the data devices. Valid values:
"reattach"
,"onLaunch"
. Default:"onLaunch"
.- Cpu
Credits string cpuCredits can have one of two values:
"unlimited"
,"standard"
.- Description string
The ManagedInstance description.
- Draining
Timeout int The time in seconds to allow the instance be drained from incoming TCP connections and detached from ELB before terminating it, during a scale down operation.
- Ebs
Optimized bool Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false
- Elastic
Ip string Elastic IP Allocation Id to associate to the instance.
- Enable
Monitoring bool Describes whether instance Enhanced Monitoring is enabled. Default: false
- Fall
Back boolTo Od - Grace
Period int The amount of time, in seconds, after the instance has launched to starts and check its health, default
"120"
.- Health
Check stringType The service to use for the health check. Valid values:
"EC2"
,"ELB"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
. Default:"EC2"
.- Iam
Instance stringProfile Set IAM profile to instance. Set only one of ARN or Name.
- Image
Id string The ID of the image used to launch the instance.
- Instance
Types List<string> Comma separated list of available instance types for instance.
- Integration
Route53 Pulumi.Spot Inst. Aws. Inputs. Managed Instance Integration Route53Args Describes the Route53 integration.
- Key
Pair string Specify a Key Pair to attach to the instances.
- Life
Cycle string Set lifecycle, valid values:
"spot"
,"on_demand"
. Default"spot"
.- Load
Balancers List<Pulumi.Spot Inst. Aws. Inputs. Managed Instance Load Balancer Args> - Managed
Instance Pulumi.Action Spot Inst. Aws. Inputs. Managed Instance Managed Instance Action Args - Minimum
Instance intLifetime - Name string
The ManagedInstance name.
- Network
Interfaces List<Pulumi.Spot Inst. Aws. Inputs. Managed Instance Network Interface Args> - Optimization
Windows List<string> When
performAt
is"timeWindow"
: must specify a list of"timeWindows"
with at least one time window. Each string should be formatted asddd:hh:mm-ddd:hh:mm
(ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59).- Orientation string
Select a prediction strategy. Valid values:
"balanced"
,"costOriented"
,"availabilityOriented"
,"cheapest"
. Default:"availabilityOriented"
.- Persist
Block boolDevices Should the instance maintain its Data volumes.
- Persist
Private boolIp Should the instance maintain its private IP.
- Persist
Root boolDevice Should the instance maintain its root device volumes.
- Placement
Tenancy string Valid values:
"default"
,"dedicated"
. Default: default- Preferred
Type string Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency
- Private
Ip string Private IP Allocation Id to associate to the instance.
- Product string
Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
,"Red Hat Enterprise Linux"
,"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
,"Red Hat Enterprise Linux (Amazon VPC)"
.- Region string
The AWS region your group will be created in.
- List<Pulumi.
Spot Inst. Aws. Inputs. Managed Instance Resource Tag Specification Args> - Revert
To Pulumi.Spot Spot Inst. Aws. Inputs. Managed Instance Revert To Spot Args - Scheduled
Tasks List<Pulumi.Spot Inst. Aws. Inputs. Managed Instance Scheduled Task Args> - Security
Group List<string>Ids One or more security group IDs.
- Shutdown
Script string The Base64-encoded shutdown script to execute prior to instance termination.
- Subnet
Ids List<string> A comma-separated list of subnet identifiers for your instance.
- List<Pulumi.
Spot Inst. Aws. Inputs. Managed Instance Tag Args> Set tags for the instance. Items should be unique.
- Unhealthy
Duration int The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced, default
"120"
.- User
Data string The Base64-encoded MIME user data to make available to the instances.
- Utilize
Reserved boolInstances In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default:
"false"
.- Vpc
Id string
- Auto
Healing bool Enable the auto healing which auto replaces the instance in case the health check fails, default:
"true"
.- Block
Device []ManagedMappings Instance Block Device Mapping Args Attributes controls a portion of the AWS:
- Block
Devices stringMode Determine the way we attach the data volumes to the data devices. Valid values:
"reattach"
,"onLaunch"
. Default:"onLaunch"
.- Cpu
Credits string cpuCredits can have one of two values:
"unlimited"
,"standard"
.- Description string
The ManagedInstance description.
- Draining
Timeout int The time in seconds to allow the instance be drained from incoming TCP connections and detached from ELB before terminating it, during a scale down operation.
- Ebs
Optimized bool Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false
- Elastic
Ip string Elastic IP Allocation Id to associate to the instance.
- Enable
Monitoring bool Describes whether instance Enhanced Monitoring is enabled. Default: false
- Fall
Back boolTo Od - Grace
Period int The amount of time, in seconds, after the instance has launched to starts and check its health, default
"120"
.- Health
Check stringType The service to use for the health check. Valid values:
"EC2"
,"ELB"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
. Default:"EC2"
.- Iam
Instance stringProfile Set IAM profile to instance. Set only one of ARN or Name.
- Image
Id string The ID of the image used to launch the instance.
- Instance
Types []string Comma separated list of available instance types for instance.
- Integration
Route53 ManagedInstance Integration Route53Args Describes the Route53 integration.
- Key
Pair string Specify a Key Pair to attach to the instances.
- Life
Cycle string Set lifecycle, valid values:
"spot"
,"on_demand"
. Default"spot"
.- Load
Balancers []ManagedInstance Load Balancer Args - Managed
Instance ManagedAction Instance Managed Instance Action Args - Minimum
Instance intLifetime - Name string
The ManagedInstance name.
- Network
Interfaces []ManagedInstance Network Interface Args - Optimization
Windows []string When
performAt
is"timeWindow"
: must specify a list of"timeWindows"
with at least one time window. Each string should be formatted asddd:hh:mm-ddd:hh:mm
(ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59).- Orientation string
Select a prediction strategy. Valid values:
"balanced"
,"costOriented"
,"availabilityOriented"
,"cheapest"
. Default:"availabilityOriented"
.- Persist
Block boolDevices Should the instance maintain its Data volumes.
- Persist
Private boolIp Should the instance maintain its private IP.
- Persist
Root boolDevice Should the instance maintain its root device volumes.
- Placement
Tenancy string Valid values:
"default"
,"dedicated"
. Default: default- Preferred
Type string Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency
- Private
Ip string Private IP Allocation Id to associate to the instance.
- Product string
Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
,"Red Hat Enterprise Linux"
,"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
,"Red Hat Enterprise Linux (Amazon VPC)"
.- Region string
The AWS region your group will be created in.
- []Managed
Instance Resource Tag Specification Args - Revert
To ManagedSpot Instance Revert To Spot Args - Scheduled
Tasks []ManagedInstance Scheduled Task Args - Security
Group []stringIds One or more security group IDs.
- Shutdown
Script string The Base64-encoded shutdown script to execute prior to instance termination.
- Subnet
Ids []string A comma-separated list of subnet identifiers for your instance.
- []Managed
Instance Tag Args Set tags for the instance. Items should be unique.
- Unhealthy
Duration int The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced, default
"120"
.- User
Data string The Base64-encoded MIME user data to make available to the instances.
- Utilize
Reserved boolInstances In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default:
"false"
.- Vpc
Id string
- auto
Healing Boolean Enable the auto healing which auto replaces the instance in case the health check fails, default:
"true"
.- block
Device List<ManagedMappings Instance Block Device Mapping Args> Attributes controls a portion of the AWS:
- block
Devices StringMode Determine the way we attach the data volumes to the data devices. Valid values:
"reattach"
,"onLaunch"
. Default:"onLaunch"
.- cpu
Credits String cpuCredits can have one of two values:
"unlimited"
,"standard"
.- description String
The ManagedInstance description.
- draining
Timeout Integer The time in seconds to allow the instance be drained from incoming TCP connections and detached from ELB before terminating it, during a scale down operation.
- ebs
Optimized Boolean Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false
- elastic
Ip String Elastic IP Allocation Id to associate to the instance.
- enable
Monitoring Boolean Describes whether instance Enhanced Monitoring is enabled. Default: false
- fall
Back BooleanTo Od - grace
Period Integer The amount of time, in seconds, after the instance has launched to starts and check its health, default
"120"
.- health
Check StringType The service to use for the health check. Valid values:
"EC2"
,"ELB"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
. Default:"EC2"
.- iam
Instance StringProfile Set IAM profile to instance. Set only one of ARN or Name.
- image
Id String The ID of the image used to launch the instance.
- instance
Types List<String> Comma separated list of available instance types for instance.
- integration
Route53 ManagedInstance Integration Route53Args Describes the Route53 integration.
- key
Pair String Specify a Key Pair to attach to the instances.
- life
Cycle String Set lifecycle, valid values:
"spot"
,"on_demand"
. Default"spot"
.- load
Balancers List<ManagedInstance Load Balancer Args> - managed
Instance ManagedAction Instance Managed Instance Action Args - minimum
Instance IntegerLifetime - name String
The ManagedInstance name.
- network
Interfaces List<ManagedInstance Network Interface Args> - optimization
Windows List<String> When
performAt
is"timeWindow"
: must specify a list of"timeWindows"
with at least one time window. Each string should be formatted asddd:hh:mm-ddd:hh:mm
(ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59).- orientation String
Select a prediction strategy. Valid values:
"balanced"
,"costOriented"
,"availabilityOriented"
,"cheapest"
. Default:"availabilityOriented"
.- persist
Block BooleanDevices Should the instance maintain its Data volumes.
- persist
Private BooleanIp Should the instance maintain its private IP.
- persist
Root BooleanDevice Should the instance maintain its root device volumes.
- placement
Tenancy String Valid values:
"default"
,"dedicated"
. Default: default- preferred
Type String Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency
- private
Ip String Private IP Allocation Id to associate to the instance.
- product String
Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
,"Red Hat Enterprise Linux"
,"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
,"Red Hat Enterprise Linux (Amazon VPC)"
.- region String
The AWS region your group will be created in.
- List<Managed
Instance Resource Tag Specification Args> - revert
To ManagedSpot Instance Revert To Spot Args - scheduled
Tasks List<ManagedInstance Scheduled Task Args> - security
Group List<String>Ids One or more security group IDs.
- shutdown
Script String The Base64-encoded shutdown script to execute prior to instance termination.
- subnet
Ids List<String> A comma-separated list of subnet identifiers for your instance.
- List<Managed
Instance Tag Args> Set tags for the instance. Items should be unique.
- unhealthy
Duration Integer The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced, default
"120"
.- user
Data String The Base64-encoded MIME user data to make available to the instances.
- utilize
Reserved BooleanInstances In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default:
"false"
.- vpc
Id String
- auto
Healing boolean Enable the auto healing which auto replaces the instance in case the health check fails, default:
"true"
.- block
Device ManagedMappings Instance Block Device Mapping Args[] Attributes controls a portion of the AWS:
- block
Devices stringMode Determine the way we attach the data volumes to the data devices. Valid values:
"reattach"
,"onLaunch"
. Default:"onLaunch"
.- cpu
Credits string cpuCredits can have one of two values:
"unlimited"
,"standard"
.- description string
The ManagedInstance description.
- draining
Timeout number The time in seconds to allow the instance be drained from incoming TCP connections and detached from ELB before terminating it, during a scale down operation.
- ebs
Optimized boolean Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false
- elastic
Ip string Elastic IP Allocation Id to associate to the instance.
- enable
Monitoring boolean Describes whether instance Enhanced Monitoring is enabled. Default: false
- fall
Back booleanTo Od - grace
Period number The amount of time, in seconds, after the instance has launched to starts and check its health, default
"120"
.- health
Check stringType The service to use for the health check. Valid values:
"EC2"
,"ELB"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
. Default:"EC2"
.- iam
Instance stringProfile Set IAM profile to instance. Set only one of ARN or Name.
- image
Id string The ID of the image used to launch the instance.
- instance
Types string[] Comma separated list of available instance types for instance.
- integration
Route53 ManagedInstance Integration Route53Args Describes the Route53 integration.
- key
Pair string Specify a Key Pair to attach to the instances.
- life
Cycle string Set lifecycle, valid values:
"spot"
,"on_demand"
. Default"spot"
.- load
Balancers ManagedInstance Load Balancer Args[] - managed
Instance ManagedAction Instance Managed Instance Action Args - minimum
Instance numberLifetime - name string
The ManagedInstance name.
- network
Interfaces ManagedInstance Network Interface Args[] - optimization
Windows string[] When
performAt
is"timeWindow"
: must specify a list of"timeWindows"
with at least one time window. Each string should be formatted asddd:hh:mm-ddd:hh:mm
(ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59).- orientation string
Select a prediction strategy. Valid values:
"balanced"
,"costOriented"
,"availabilityOriented"
,"cheapest"
. Default:"availabilityOriented"
.- persist
Block booleanDevices Should the instance maintain its Data volumes.
- persist
Private booleanIp Should the instance maintain its private IP.
- persist
Root booleanDevice Should the instance maintain its root device volumes.
- placement
Tenancy string Valid values:
"default"
,"dedicated"
. Default: default- preferred
Type string Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency
- private
Ip string Private IP Allocation Id to associate to the instance.
- product string
Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
,"Red Hat Enterprise Linux"
,"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
,"Red Hat Enterprise Linux (Amazon VPC)"
.- region string
The AWS region your group will be created in.
- Managed
Instance Resource Tag Specification Args[] - revert
To ManagedSpot Instance Revert To Spot Args - scheduled
Tasks ManagedInstance Scheduled Task Args[] - security
Group string[]Ids One or more security group IDs.
- shutdown
Script string The Base64-encoded shutdown script to execute prior to instance termination.
- subnet
Ids string[] A comma-separated list of subnet identifiers for your instance.
- Managed
Instance Tag Args[] Set tags for the instance. Items should be unique.
- unhealthy
Duration number The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced, default
"120"
.- user
Data string The Base64-encoded MIME user data to make available to the instances.
- utilize
Reserved booleanInstances In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default:
"false"
.- vpc
Id string
- auto_
healing bool Enable the auto healing which auto replaces the instance in case the health check fails, default:
"true"
.- block_
device_ Sequence[Managedmappings Instance Block Device Mapping Args] Attributes controls a portion of the AWS:
- block_
devices_ strmode Determine the way we attach the data volumes to the data devices. Valid values:
"reattach"
,"onLaunch"
. Default:"onLaunch"
.- cpu_
credits str cpuCredits can have one of two values:
"unlimited"
,"standard"
.- description str
The ManagedInstance description.
- draining_
timeout int The time in seconds to allow the instance be drained from incoming TCP connections and detached from ELB before terminating it, during a scale down operation.
- ebs_
optimized bool Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false
- elastic_
ip str Elastic IP Allocation Id to associate to the instance.
- enable_
monitoring bool Describes whether instance Enhanced Monitoring is enabled. Default: false
- fall_
back_ boolto_ od - grace_
period int The amount of time, in seconds, after the instance has launched to starts and check its health, default
"120"
.- health_
check_ strtype The service to use for the health check. Valid values:
"EC2"
,"ELB"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
. Default:"EC2"
.- iam_
instance_ strprofile Set IAM profile to instance. Set only one of ARN or Name.
- image_
id str The ID of the image used to launch the instance.
- instance_
types Sequence[str] Comma separated list of available instance types for instance.
- integration_
route53 ManagedInstance Integration Route53Args Describes the Route53 integration.
- key_
pair str Specify a Key Pair to attach to the instances.
- life_
cycle str Set lifecycle, valid values:
"spot"
,"on_demand"
. Default"spot"
.- load_
balancers Sequence[ManagedInstance Load Balancer Args] - managed_
instance_ Managedaction Instance Managed Instance Action Args - minimum_
instance_ intlifetime - name str
The ManagedInstance name.
- network_
interfaces Sequence[ManagedInstance Network Interface Args] - optimization_
windows Sequence[str] When
performAt
is"timeWindow"
: must specify a list of"timeWindows"
with at least one time window. Each string should be formatted asddd:hh:mm-ddd:hh:mm
(ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59).- orientation str
Select a prediction strategy. Valid values:
"balanced"
,"costOriented"
,"availabilityOriented"
,"cheapest"
. Default:"availabilityOriented"
.- persist_
block_ booldevices Should the instance maintain its Data volumes.
- persist_
private_ boolip Should the instance maintain its private IP.
- persist_
root_ booldevice Should the instance maintain its root device volumes.
- placement_
tenancy str Valid values:
"default"
,"dedicated"
. Default: default- preferred_
type str Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency
- private_
ip str Private IP Allocation Id to associate to the instance.
- product str
Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
,"Red Hat Enterprise Linux"
,"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
,"Red Hat Enterprise Linux (Amazon VPC)"
.- region str
The AWS region your group will be created in.
- resource_
tag_ Sequence[Managedspecifications Instance Resource Tag Specification Args] - revert_
to_ Managedspot Instance Revert To Spot Args - scheduled_
tasks Sequence[ManagedInstance Scheduled Task Args] - security_
group_ Sequence[str]ids One or more security group IDs.
- shutdown_
script str The Base64-encoded shutdown script to execute prior to instance termination.
- subnet_
ids Sequence[str] A comma-separated list of subnet identifiers for your instance.
- Sequence[Managed
Instance Tag Args] Set tags for the instance. Items should be unique.
- unhealthy_
duration int The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced, default
"120"
.- user_
data str The Base64-encoded MIME user data to make available to the instances.
- utilize_
reserved_ boolinstances In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default:
"false"
.- vpc_
id str
- auto
Healing Boolean Enable the auto healing which auto replaces the instance in case the health check fails, default:
"true"
.- block
Device List<Property Map>Mappings Attributes controls a portion of the AWS:
- block
Devices StringMode Determine the way we attach the data volumes to the data devices. Valid values:
"reattach"
,"onLaunch"
. Default:"onLaunch"
.- cpu
Credits String cpuCredits can have one of two values:
"unlimited"
,"standard"
.- description String
The ManagedInstance description.
- draining
Timeout Number The time in seconds to allow the instance be drained from incoming TCP connections and detached from ELB before terminating it, during a scale down operation.
- ebs
Optimized Boolean Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false
- elastic
Ip String Elastic IP Allocation Id to associate to the instance.
- enable
Monitoring Boolean Describes whether instance Enhanced Monitoring is enabled. Default: false
- fall
Back BooleanTo Od - grace
Period Number The amount of time, in seconds, after the instance has launched to starts and check its health, default
"120"
.- health
Check StringType The service to use for the health check. Valid values:
"EC2"
,"ELB"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
. Default:"EC2"
.- iam
Instance StringProfile Set IAM profile to instance. Set only one of ARN or Name.
- image
Id String The ID of the image used to launch the instance.
- instance
Types List<String> Comma separated list of available instance types for instance.
- integration
Route53 Property Map Describes the Route53 integration.
- key
Pair String Specify a Key Pair to attach to the instances.
- life
Cycle String Set lifecycle, valid values:
"spot"
,"on_demand"
. Default"spot"
.- load
Balancers List<Property Map> - managed
Instance Property MapAction - minimum
Instance NumberLifetime - name String
The ManagedInstance name.
- network
Interfaces List<Property Map> - optimization
Windows List<String> When
performAt
is"timeWindow"
: must specify a list of"timeWindows"
with at least one time window. Each string should be formatted asddd:hh:mm-ddd:hh:mm
(ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59).- orientation String
Select a prediction strategy. Valid values:
"balanced"
,"costOriented"
,"availabilityOriented"
,"cheapest"
. Default:"availabilityOriented"
.- persist
Block BooleanDevices Should the instance maintain its Data volumes.
- persist
Private BooleanIp Should the instance maintain its private IP.
- persist
Root BooleanDevice Should the instance maintain its root device volumes.
- placement
Tenancy String Valid values:
"default"
,"dedicated"
. Default: default- preferred
Type String Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency
- private
Ip String Private IP Allocation Id to associate to the instance.
- product String
Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
,"Red Hat Enterprise Linux"
,"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
,"Red Hat Enterprise Linux (Amazon VPC)"
.- region String
The AWS region your group will be created in.
- List<Property Map>
- revert
To Property MapSpot - scheduled
Tasks List<Property Map> - security
Group List<String>Ids One or more security group IDs.
- shutdown
Script String The Base64-encoded shutdown script to execute prior to instance termination.
- subnet
Ids List<String> A comma-separated list of subnet identifiers for your instance.
- List<Property Map>
Set tags for the instance. Items should be unique.
- unhealthy
Duration Number The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced, default
"120"
.- user
Data String The Base64-encoded MIME user data to make available to the instances.
- utilize
Reserved BooleanInstances In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default:
"false"
.- vpc
Id String
Supporting Types
ManagedInstanceBlockDeviceMapping
- Device
Name string The name of the device to mount.
- Ebs
Pulumi.
Spot Inst. Aws. Inputs. Managed Instance Block Device Mapping Ebs Object
- Device
Name string The name of the device to mount.
- Ebs
Managed
Instance Block Device Mapping Ebs Object
- device
Name String The name of the device to mount.
- ebs
Managed
Instance Block Device Mapping Ebs Object
- device
Name string The name of the device to mount.
- ebs
Managed
Instance Block Device Mapping Ebs Object
- device_
name str The name of the device to mount.
- ebs
Managed
Instance Block Device Mapping Ebs Object
- device
Name String The name of the device to mount.
- ebs Property Map
Object
ManagedInstanceBlockDeviceMappingEbs
- Delete
On boolTermination Whether the volume should be destroyed on instance termination.
- Iops int
The amount of provisioned IOPS. This must be set with a
volume_type
of"io1"
.- Throughput int
The throughput that the volume supports, in MiB/s. Minimum value of 125. Maximum value of 1000. Valid only if
volume_type
is set to"gp3"
.- Volume
Size int The size of the volume, in GiBs.
- Volume
Type string The type of volume. Can be
"standard"
,"gp2"
,"gp3"
,"io1"
,"st1"
or"sc1"
.
- Delete
On boolTermination Whether the volume should be destroyed on instance termination.
- Iops int
The amount of provisioned IOPS. This must be set with a
volume_type
of"io1"
.- Throughput int
The throughput that the volume supports, in MiB/s. Minimum value of 125. Maximum value of 1000. Valid only if
volume_type
is set to"gp3"
.- Volume
Size int The size of the volume, in GiBs.
- Volume
Type string The type of volume. Can be
"standard"
,"gp2"
,"gp3"
,"io1"
,"st1"
or"sc1"
.
- delete
On BooleanTermination Whether the volume should be destroyed on instance termination.
- iops Integer
The amount of provisioned IOPS. This must be set with a
volume_type
of"io1"
.- throughput Integer
The throughput that the volume supports, in MiB/s. Minimum value of 125. Maximum value of 1000. Valid only if
volume_type
is set to"gp3"
.- volume
Size Integer The size of the volume, in GiBs.
- volume
Type String The type of volume. Can be
"standard"
,"gp2"
,"gp3"
,"io1"
,"st1"
or"sc1"
.
- delete
On booleanTermination Whether the volume should be destroyed on instance termination.
- iops number
The amount of provisioned IOPS. This must be set with a
volume_type
of"io1"
.- throughput number
The throughput that the volume supports, in MiB/s. Minimum value of 125. Maximum value of 1000. Valid only if
volume_type
is set to"gp3"
.- volume
Size number The size of the volume, in GiBs.
- volume
Type string The type of volume. Can be
"standard"
,"gp2"
,"gp3"
,"io1"
,"st1"
or"sc1"
.
- delete_
on_ booltermination Whether the volume should be destroyed on instance termination.
- iops int
The amount of provisioned IOPS. This must be set with a
volume_type
of"io1"
.- throughput int
The throughput that the volume supports, in MiB/s. Minimum value of 125. Maximum value of 1000. Valid only if
volume_type
is set to"gp3"
.- volume_
size int The size of the volume, in GiBs.
- volume_
type str The type of volume. Can be
"standard"
,"gp2"
,"gp3"
,"io1"
,"st1"
or"sc1"
.
- delete
On BooleanTermination Whether the volume should be destroyed on instance termination.
- iops Number
The amount of provisioned IOPS. This must be set with a
volume_type
of"io1"
.- throughput Number
The throughput that the volume supports, in MiB/s. Minimum value of 125. Maximum value of 1000. Valid only if
volume_type
is set to"gp3"
.- volume
Size Number The size of the volume, in GiBs.
- volume
Type String The type of volume. Can be
"standard"
,"gp2"
,"gp3"
,"io1"
,"st1"
or"sc1"
.
ManagedInstanceIntegrationRoute53
- Domains
List<Pulumi.
Spot Inst. Aws. Inputs. Managed Instance Integration Route53Domain> Route 53 Domain configurations.
- Domains
[]Managed
Instance Integration Route53Domain Route 53 Domain configurations.
- domains
List<Managed
Instance Integration Route53Domain> Route 53 Domain configurations.
- domains
Managed
Instance Integration Route53Domain[] Route 53 Domain configurations.
- domains
Sequence[Managed
Instance Integration Route53Domain] Route 53 Domain configurations.
- domains List<Property Map>
Route 53 Domain configurations.
ManagedInstanceIntegrationRoute53Domain
- Hosted
Zone stringId The Route 53 Hosted Zone Id for the registered Domain.
- Record
Sets List<Pulumi.Spot Inst. Aws. Inputs. Managed Instance Integration Route53Domain Record Set> List of record sets
- Record
Set stringType The type of the record set. Valid values:
"a"
,"cname"
.- Spotinst
Acct stringId The Spotinst account ID that is linked to the AWS account that holds the Route 53 hosted Zone Id. The default is the user Spotinst account provided as a URL parameter.
- Hosted
Zone stringId The Route 53 Hosted Zone Id for the registered Domain.
- Record
Sets []ManagedInstance Integration Route53Domain Record Set List of record sets
- Record
Set stringType The type of the record set. Valid values:
"a"
,"cname"
.- Spotinst
Acct stringId The Spotinst account ID that is linked to the AWS account that holds the Route 53 hosted Zone Id. The default is the user Spotinst account provided as a URL parameter.
- hosted
Zone StringId The Route 53 Hosted Zone Id for the registered Domain.
- record
Sets List<ManagedInstance Integration Route53Domain Record Set> List of record sets
- record
Set StringType The type of the record set. Valid values:
"a"
,"cname"
.- spotinst
Acct StringId The Spotinst account ID that is linked to the AWS account that holds the Route 53 hosted Zone Id. The default is the user Spotinst account provided as a URL parameter.
- hosted
Zone stringId The Route 53 Hosted Zone Id for the registered Domain.
- record
Sets ManagedInstance Integration Route53Domain Record Set[] List of record sets
- record
Set stringType The type of the record set. Valid values:
"a"
,"cname"
.- spotinst
Acct stringId The Spotinst account ID that is linked to the AWS account that holds the Route 53 hosted Zone Id. The default is the user Spotinst account provided as a URL parameter.
- hosted_
zone_ strid The Route 53 Hosted Zone Id for the registered Domain.
- record_
sets Sequence[ManagedInstance Integration Route53Domain Record Set] List of record sets
- record_
set_ strtype The type of the record set. Valid values:
"a"
,"cname"
.- spotinst_
acct_ strid The Spotinst account ID that is linked to the AWS account that holds the Route 53 hosted Zone Id. The default is the user Spotinst account provided as a URL parameter.
- hosted
Zone StringId The Route 53 Hosted Zone Id for the registered Domain.
- record
Sets List<Property Map> List of record sets
- record
Set StringType The type of the record set. Valid values:
"a"
,"cname"
.- spotinst
Acct StringId The Spotinst account ID that is linked to the AWS account that holds the Route 53 hosted Zone Id. The default is the user Spotinst account provided as a URL parameter.
ManagedInstanceIntegrationRoute53DomainRecordSet
- Name string
The ManagedInstance name.
- Use
Public boolDns Designates whether the DNS address should be exposed to connections outside the VPC.
- Use
Public boolIp Designates whether the IP address should be exposed to connections outside the VPC.
- Name string
The ManagedInstance name.
- Use
Public boolDns Designates whether the DNS address should be exposed to connections outside the VPC.
- Use
Public boolIp Designates whether the IP address should be exposed to connections outside the VPC.
- name String
The ManagedInstance name.
- use
Public BooleanDns Designates whether the DNS address should be exposed to connections outside the VPC.
- use
Public BooleanIp Designates whether the IP address should be exposed to connections outside the VPC.
- name string
The ManagedInstance name.
- use
Public booleanDns Designates whether the DNS address should be exposed to connections outside the VPC.
- use
Public booleanIp Designates whether the IP address should be exposed to connections outside the VPC.
- name str
The ManagedInstance name.
- use_
public_ booldns Designates whether the DNS address should be exposed to connections outside the VPC.
- use_
public_ boolip Designates whether the IP address should be exposed to connections outside the VPC.
- name String
The ManagedInstance name.
- use
Public BooleanDns Designates whether the DNS address should be exposed to connections outside the VPC.
- use
Public BooleanIp Designates whether the IP address should be exposed to connections outside the VPC.
ManagedInstanceLoadBalancer
- Type string
The resource type. Valid Values:
"CLASSIC"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
.- Arn string
The AWS resource ARN (Required only for ALB target groups).
- Auto
Weight bool "Auto Weight" will automatically provide a higher weight for instances that are larger as appropriate. For example, if you have configured your Elastigroup with m4.large and m4.xlarge instances the m4.large will have half the weight of an m4.xlarge. This ensures that larger instances receive a higher number of MLB requests.
- Az
Awareness bool "AZ Awareness" will ensure that instances within the same AZ are using the corresponding MLB runtime instance in the same AZ. This feature reduces multi-zone data transfer fees.
- Balancer
Id string The Multai load balancer ID. Example: lb-123456
- Name string
The AWS resource name. Required for Classic Load Balancer. Optional for Application Load Balancer.
- Target
Set stringId The Multai load target set ID. Example: ts-123456
- Type string
The resource type. Valid Values:
"CLASSIC"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
.- Arn string
The AWS resource ARN (Required only for ALB target groups).
- Auto
Weight bool "Auto Weight" will automatically provide a higher weight for instances that are larger as appropriate. For example, if you have configured your Elastigroup with m4.large and m4.xlarge instances the m4.large will have half the weight of an m4.xlarge. This ensures that larger instances receive a higher number of MLB requests.
- Az
Awareness bool "AZ Awareness" will ensure that instances within the same AZ are using the corresponding MLB runtime instance in the same AZ. This feature reduces multi-zone data transfer fees.
- Balancer
Id string The Multai load balancer ID. Example: lb-123456
- Name string
The AWS resource name. Required for Classic Load Balancer. Optional for Application Load Balancer.
- Target
Set stringId The Multai load target set ID. Example: ts-123456
- type String
The resource type. Valid Values:
"CLASSIC"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
.- arn String
The AWS resource ARN (Required only for ALB target groups).
- auto
Weight Boolean "Auto Weight" will automatically provide a higher weight for instances that are larger as appropriate. For example, if you have configured your Elastigroup with m4.large and m4.xlarge instances the m4.large will have half the weight of an m4.xlarge. This ensures that larger instances receive a higher number of MLB requests.
- az
Awareness Boolean "AZ Awareness" will ensure that instances within the same AZ are using the corresponding MLB runtime instance in the same AZ. This feature reduces multi-zone data transfer fees.
- balancer
Id String The Multai load balancer ID. Example: lb-123456
- name String
The AWS resource name. Required for Classic Load Balancer. Optional for Application Load Balancer.
- target
Set StringId The Multai load target set ID. Example: ts-123456
- type string
The resource type. Valid Values:
"CLASSIC"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
.- arn string
The AWS resource ARN (Required only for ALB target groups).
- auto
Weight boolean "Auto Weight" will automatically provide a higher weight for instances that are larger as appropriate. For example, if you have configured your Elastigroup with m4.large and m4.xlarge instances the m4.large will have half the weight of an m4.xlarge. This ensures that larger instances receive a higher number of MLB requests.
- az
Awareness boolean "AZ Awareness" will ensure that instances within the same AZ are using the corresponding MLB runtime instance in the same AZ. This feature reduces multi-zone data transfer fees.
- balancer
Id string The Multai load balancer ID. Example: lb-123456
- name string
The AWS resource name. Required for Classic Load Balancer. Optional for Application Load Balancer.
- target
Set stringId The Multai load target set ID. Example: ts-123456
- type str
The resource type. Valid Values:
"CLASSIC"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
.- arn str
The AWS resource ARN (Required only for ALB target groups).
- auto_
weight bool "Auto Weight" will automatically provide a higher weight for instances that are larger as appropriate. For example, if you have configured your Elastigroup with m4.large and m4.xlarge instances the m4.large will have half the weight of an m4.xlarge. This ensures that larger instances receive a higher number of MLB requests.
- az_
awareness bool "AZ Awareness" will ensure that instances within the same AZ are using the corresponding MLB runtime instance in the same AZ. This feature reduces multi-zone data transfer fees.
- balancer_
id str The Multai load balancer ID. Example: lb-123456
- name str
The AWS resource name. Required for Classic Load Balancer. Optional for Application Load Balancer.
- target_
set_ strid The Multai load target set ID. Example: ts-123456
- type String
The resource type. Valid Values:
"CLASSIC"
,"TARGET_GROUP"
,"MULTAI_TARGET_SET"
.- arn String
The AWS resource ARN (Required only for ALB target groups).
- auto
Weight Boolean "Auto Weight" will automatically provide a higher weight for instances that are larger as appropriate. For example, if you have configured your Elastigroup with m4.large and m4.xlarge instances the m4.large will have half the weight of an m4.xlarge. This ensures that larger instances receive a higher number of MLB requests.
- az
Awareness Boolean "AZ Awareness" will ensure that instances within the same AZ are using the corresponding MLB runtime instance in the same AZ. This feature reduces multi-zone data transfer fees.
- balancer
Id String The Multai load balancer ID. Example: lb-123456
- name String
The AWS resource name. Required for Classic Load Balancer. Optional for Application Load Balancer.
- target
Set StringId The Multai load target set ID. Example: ts-123456
ManagedInstanceManagedInstanceAction
- Type string
String, Action type. Supported action types:
pause
,resume
,recycle
.
- Type string
String, Action type. Supported action types:
pause
,resume
,recycle
.
- type String
String, Action type. Supported action types:
pause
,resume
,recycle
.
- type string
String, Action type. Supported action types:
pause
,resume
,recycle
.
- type str
String, Action type. Supported action types:
pause
,resume
,recycle
.
- type String
String, Action type. Supported action types:
pause
,resume
,recycle
.
ManagedInstanceNetworkInterface
- Device
Index string The position of the network interface in the attachment order. A primary network interface has a device index of 0. If you specify a network interface when launching an instance, you must specify the device index.
- Associate
Ipv6Address bool Indicates whether to assign an IPv6 address. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. Default:
false
- Associate
Public boolIp Address Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.
- Device
Index string The position of the network interface in the attachment order. A primary network interface has a device index of 0. If you specify a network interface when launching an instance, you must specify the device index.
- Associate
Ipv6Address bool Indicates whether to assign an IPv6 address. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. Default:
false
- Associate
Public boolIp Address Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.
- device
Index String The position of the network interface in the attachment order. A primary network interface has a device index of 0. If you specify a network interface when launching an instance, you must specify the device index.
- associate
Ipv6Address Boolean Indicates whether to assign an IPv6 address. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. Default:
false
- associate
Public BooleanIp Address Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.
- device
Index string The position of the network interface in the attachment order. A primary network interface has a device index of 0. If you specify a network interface when launching an instance, you must specify the device index.
- associate
Ipv6Address boolean Indicates whether to assign an IPv6 address. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. Default:
false
- associate
Public booleanIp Address Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.
- device_
index str The position of the network interface in the attachment order. A primary network interface has a device index of 0. If you specify a network interface when launching an instance, you must specify the device index.
- associate_
ipv6_ booladdress Indicates whether to assign an IPv6 address. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. Default:
false
- associate_
public_ boolip_ address Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.
- device
Index String The position of the network interface in the attachment order. A primary network interface has a device index of 0. If you specify a network interface when launching an instance, you must specify the device index.
- associate
Ipv6Address Boolean Indicates whether to assign an IPv6 address. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. Default:
false
- associate
Public BooleanIp Address Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.
ManagedInstanceResourceTagSpecification
- Should
Tag boolAmis Tag specification for AMI resources.
- Should
Tag boolEnis Tag specification for ENI resources.
- bool
Tag specification for Snapshot resources.
- Should
Tag boolVolumes Tag specification for Volume resources.
- Should
Tag boolAmis Tag specification for AMI resources.
- Should
Tag boolEnis Tag specification for ENI resources.
- bool
Tag specification for Snapshot resources.
- Should
Tag boolVolumes Tag specification for Volume resources.
- should
Tag BooleanAmis Tag specification for AMI resources.
- should
Tag BooleanEnis Tag specification for ENI resources.
- Boolean
Tag specification for Snapshot resources.
- should
Tag BooleanVolumes Tag specification for Volume resources.
- should
Tag booleanAmis Tag specification for AMI resources.
- should
Tag booleanEnis Tag specification for ENI resources.
- boolean
Tag specification for Snapshot resources.
- should
Tag booleanVolumes Tag specification for Volume resources.
- should_
tag_ boolamis Tag specification for AMI resources.
- should_
tag_ boolenis Tag specification for ENI resources.
- should_
tag_ boolsnapshots Tag specification for Snapshot resources.
- should_
tag_ boolvolumes Tag specification for Volume resources.
- should
Tag BooleanAmis Tag specification for AMI resources.
- should
Tag BooleanEnis Tag specification for ENI resources.
- Boolean
Tag specification for Snapshot resources.
- should
Tag BooleanVolumes Tag specification for Volume resources.
ManagedInstanceRevertToSpot
- Perform
At string Valid values:
"always"
,"never"
,"timeWindow"
. Default"never"
.
- Perform
At string Valid values:
"always"
,"never"
,"timeWindow"
. Default"never"
.
- perform
At String Valid values:
"always"
,"never"
,"timeWindow"
. Default"never"
.
- perform
At string Valid values:
"always"
,"never"
,"timeWindow"
. Default"never"
.
- perform_
at str Valid values:
"always"
,"never"
,"timeWindow"
. Default"never"
.
- perform
At String Valid values:
"always"
,"never"
,"timeWindow"
. Default"never"
.
ManagedInstanceScheduledTask
- Task
Type string The task type to run. Valid values:
"pause"
,"resume"
,"recycle"
.- Cron
Expression string A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Example:
"0 1 * * *"
.- Frequency string
Set frequency for the task. Valid values: "hourly", "daily", "weekly", "continuous".
- Is
Enabled bool Describes whether the task is enabled. When true the task should run when false it should not run.
- Start
Time string DATETIME in ISO-8601 format. Sets a start time for scheduled actions. If "frequency" or "cronExpression" are not used - the task will run only once at the start time and will then be deleted from the instance configuration. Example:
"2019-05-23T10:55:09Z"
- Task
Type string The task type to run. Valid values:
"pause"
,"resume"
,"recycle"
.- Cron
Expression string A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Example:
"0 1 * * *"
.- Frequency string
Set frequency for the task. Valid values: "hourly", "daily", "weekly", "continuous".
- Is
Enabled bool Describes whether the task is enabled. When true the task should run when false it should not run.
- Start
Time string DATETIME in ISO-8601 format. Sets a start time for scheduled actions. If "frequency" or "cronExpression" are not used - the task will run only once at the start time and will then be deleted from the instance configuration. Example:
"2019-05-23T10:55:09Z"
- task
Type String The task type to run. Valid values:
"pause"
,"resume"
,"recycle"
.- cron
Expression String A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Example:
"0 1 * * *"
.- frequency String
Set frequency for the task. Valid values: "hourly", "daily", "weekly", "continuous".
- is
Enabled Boolean Describes whether the task is enabled. When true the task should run when false it should not run.
- start
Time String DATETIME in ISO-8601 format. Sets a start time for scheduled actions. If "frequency" or "cronExpression" are not used - the task will run only once at the start time and will then be deleted from the instance configuration. Example:
"2019-05-23T10:55:09Z"
- task
Type string The task type to run. Valid values:
"pause"
,"resume"
,"recycle"
.- cron
Expression string A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Example:
"0 1 * * *"
.- frequency string
Set frequency for the task. Valid values: "hourly", "daily", "weekly", "continuous".
- is
Enabled boolean Describes whether the task is enabled. When true the task should run when false it should not run.
- start
Time string DATETIME in ISO-8601 format. Sets a start time for scheduled actions. If "frequency" or "cronExpression" are not used - the task will run only once at the start time and will then be deleted from the instance configuration. Example:
"2019-05-23T10:55:09Z"
- task_
type str The task type to run. Valid values:
"pause"
,"resume"
,"recycle"
.- cron_
expression str A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Example:
"0 1 * * *"
.- frequency str
Set frequency for the task. Valid values: "hourly", "daily", "weekly", "continuous".
- is_
enabled bool Describes whether the task is enabled. When true the task should run when false it should not run.
- start_
time str DATETIME in ISO-8601 format. Sets a start time for scheduled actions. If "frequency" or "cronExpression" are not used - the task will run only once at the start time and will then be deleted from the instance configuration. Example:
"2019-05-23T10:55:09Z"
- task
Type String The task type to run. Valid values:
"pause"
,"resume"
,"recycle"
.- cron
Expression String A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Example:
"0 1 * * *"
.- frequency String
Set frequency for the task. Valid values: "hourly", "daily", "weekly", "continuous".
- is
Enabled Boolean Describes whether the task is enabled. When true the task should run when false it should not run.
- start
Time String DATETIME in ISO-8601 format. Sets a start time for scheduled actions. If "frequency" or "cronExpression" are not used - the task will run only once at the start time and will then be deleted from the instance configuration. Example:
"2019-05-23T10:55:09Z"
ManagedInstanceTag
Package Details
- Repository
- Spotinst pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
spotinst
Terraform Provider.