spotinst logo
Spotinst v3.24.0, Feb 3 23

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:

ImageId string

The ID of the image used to launch the instance.

InstanceTypes List<string>

Comma separated list of available instance types for instance.

PersistBlockDevices bool

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

SubnetIds List<string>

A comma-separated list of subnet identifiers for your instance.

VpcId string
AutoHealing bool

Enable the auto healing which auto replaces the instance in case the health check fails, default: "true".

BlockDeviceMappings List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceBlockDeviceMappingArgs>

Attributes controls a portion of the AWS:

BlockDevicesMode string

Determine the way we attach the data volumes to the data devices. Valid values: "reattach", "onLaunch". Default: "onLaunch".

CpuCredits string

cpuCredits can have one of two values: "unlimited", "standard".

Description string

The ManagedInstance description.

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

EbsOptimized bool

Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false

ElasticIp string

Elastic IP Allocation Id to associate to the instance.

EnableMonitoring bool

Describes whether instance Enhanced Monitoring is enabled. Default: false

FallBackToOd bool
GracePeriod int

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

HealthCheckType string

The service to use for the health check. Valid values: "EC2", "ELB", "TARGET_GROUP", "MULTAI_TARGET_SET". Default: "EC2".

IamInstanceProfile string

Set IAM profile to instance. Set only one of ARN or Name.

IntegrationRoute53 Pulumi.SpotInst.Aws.Inputs.ManagedInstanceIntegrationRoute53Args

Describes the Route53 integration.

KeyPair string

Specify a Key Pair to attach to the instances.

LifeCycle string

Set lifecycle, valid values: "spot", "on_demand". Default "spot".

LoadBalancers List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceLoadBalancerArgs>
ManagedInstanceAction Pulumi.SpotInst.Aws.Inputs.ManagedInstanceManagedInstanceActionArgs
MinimumInstanceLifetime int
Name string

The ManagedInstance name.

NetworkInterfaces List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceNetworkInterfaceArgs>
OptimizationWindows List<string>

When performAt is "timeWindow": must specify a list of "timeWindows" with at least one time window. Each string should be formatted as ddd: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".

PersistPrivateIp bool

Should the instance maintain its private IP.

PersistRootDevice bool

Should the instance maintain its root device volumes.

PlacementTenancy string

Valid values: "default", "dedicated". Default: default

PreferredType string

Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency

PrivateIp string

Private IP Allocation Id to associate to the instance.

Region string

The AWS region your group will be created in.

ResourceTagSpecifications List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceResourceTagSpecificationArgs>
RevertToSpot Pulumi.SpotInst.Aws.Inputs.ManagedInstanceRevertToSpotArgs
ScheduledTasks List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceScheduledTaskArgs>
SecurityGroupIds List<string>

One or more security group IDs.

ShutdownScript string

The Base64-encoded shutdown script to execute prior to instance termination.

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

Set tags for the instance. Items should be unique.

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

UserData string

The Base64-encoded MIME user data to make available to the instances.

UtilizeReservedInstances bool

In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default: "false".

ImageId string

The ID of the image used to launch the instance.

InstanceTypes []string

Comma separated list of available instance types for instance.

PersistBlockDevices bool

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

SubnetIds []string

A comma-separated list of subnet identifiers for your instance.

VpcId string
AutoHealing bool

Enable the auto healing which auto replaces the instance in case the health check fails, default: "true".

BlockDeviceMappings []ManagedInstanceBlockDeviceMappingArgs

Attributes controls a portion of the AWS:

BlockDevicesMode string

Determine the way we attach the data volumes to the data devices. Valid values: "reattach", "onLaunch". Default: "onLaunch".

CpuCredits string

cpuCredits can have one of two values: "unlimited", "standard".

Description string

The ManagedInstance description.

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

EbsOptimized bool

Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false

ElasticIp string

Elastic IP Allocation Id to associate to the instance.

EnableMonitoring bool

Describes whether instance Enhanced Monitoring is enabled. Default: false

FallBackToOd bool
GracePeriod int

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

HealthCheckType string

The service to use for the health check. Valid values: "EC2", "ELB", "TARGET_GROUP", "MULTAI_TARGET_SET". Default: "EC2".

IamInstanceProfile string

Set IAM profile to instance. Set only one of ARN or Name.

IntegrationRoute53 ManagedInstanceIntegrationRoute53Args

Describes the Route53 integration.

KeyPair string

Specify a Key Pair to attach to the instances.

LifeCycle string

Set lifecycle, valid values: "spot", "on_demand". Default "spot".

LoadBalancers []ManagedInstanceLoadBalancerArgs
ManagedInstanceAction ManagedInstanceManagedInstanceActionArgs
MinimumInstanceLifetime int
Name string

The ManagedInstance name.

NetworkInterfaces []ManagedInstanceNetworkInterfaceArgs
OptimizationWindows []string

When performAt is "timeWindow": must specify a list of "timeWindows" with at least one time window. Each string should be formatted as ddd: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".

PersistPrivateIp bool

Should the instance maintain its private IP.

PersistRootDevice bool

Should the instance maintain its root device volumes.

PlacementTenancy string

Valid values: "default", "dedicated". Default: default

PreferredType string

Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency

PrivateIp string

Private IP Allocation Id to associate to the instance.

Region string

The AWS region your group will be created in.

ResourceTagSpecifications []ManagedInstanceResourceTagSpecificationArgs
RevertToSpot ManagedInstanceRevertToSpotArgs
ScheduledTasks []ManagedInstanceScheduledTaskArgs
SecurityGroupIds []string

One or more security group IDs.

ShutdownScript string

The Base64-encoded shutdown script to execute prior to instance termination.

Tags []ManagedInstanceTagArgs

Set tags for the instance. Items should be unique.

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

UserData string

The Base64-encoded MIME user data to make available to the instances.

UtilizeReservedInstances bool

In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default: "false".

imageId String

The ID of the image used to launch the instance.

instanceTypes List<String>

Comma separated list of available instance types for instance.

persistBlockDevices Boolean

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

subnetIds List<String>

A comma-separated list of subnet identifiers for your instance.

vpcId String
autoHealing Boolean

Enable the auto healing which auto replaces the instance in case the health check fails, default: "true".

blockDeviceMappings List<ManagedInstanceBlockDeviceMappingArgs>

Attributes controls a portion of the AWS:

blockDevicesMode String

Determine the way we attach the data volumes to the data devices. Valid values: "reattach", "onLaunch". Default: "onLaunch".

cpuCredits String

cpuCredits can have one of two values: "unlimited", "standard".

description String

The ManagedInstance description.

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

ebsOptimized Boolean

Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false

elasticIp String

Elastic IP Allocation Id to associate to the instance.

enableMonitoring Boolean

Describes whether instance Enhanced Monitoring is enabled. Default: false

fallBackToOd Boolean
gracePeriod Integer

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

healthCheckType String

The service to use for the health check. Valid values: "EC2", "ELB", "TARGET_GROUP", "MULTAI_TARGET_SET". Default: "EC2".

iamInstanceProfile String

Set IAM profile to instance. Set only one of ARN or Name.

integrationRoute53 ManagedInstanceIntegrationRoute53Args

Describes the Route53 integration.

keyPair String

Specify a Key Pair to attach to the instances.

lifeCycle String

Set lifecycle, valid values: "spot", "on_demand". Default "spot".

loadBalancers List<ManagedInstanceLoadBalancerArgs>
managedInstanceAction ManagedInstanceManagedInstanceActionArgs
minimumInstanceLifetime Integer
name String

The ManagedInstance name.

networkInterfaces List<ManagedInstanceNetworkInterfaceArgs>
optimizationWindows List<String>

When performAt is "timeWindow": must specify a list of "timeWindows" with at least one time window. Each string should be formatted as ddd: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".

persistPrivateIp Boolean

Should the instance maintain its private IP.

persistRootDevice Boolean

Should the instance maintain its root device volumes.

placementTenancy String

Valid values: "default", "dedicated". Default: default

preferredType String

Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency

privateIp String

Private IP Allocation Id to associate to the instance.

region String

The AWS region your group will be created in.

resourceTagSpecifications List<ManagedInstanceResourceTagSpecificationArgs>
revertToSpot ManagedInstanceRevertToSpotArgs
scheduledTasks List<ManagedInstanceScheduledTaskArgs>
securityGroupIds List<String>

One or more security group IDs.

shutdownScript String

The Base64-encoded shutdown script to execute prior to instance termination.

tags List<ManagedInstanceTagArgs>

Set tags for the instance. Items should be unique.

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

userData String

The Base64-encoded MIME user data to make available to the instances.

utilizeReservedInstances Boolean

In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default: "false".

imageId string

The ID of the image used to launch the instance.

instanceTypes string[]

Comma separated list of available instance types for instance.

persistBlockDevices boolean

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

subnetIds string[]

A comma-separated list of subnet identifiers for your instance.

vpcId string
autoHealing boolean

Enable the auto healing which auto replaces the instance in case the health check fails, default: "true".

blockDeviceMappings ManagedInstanceBlockDeviceMappingArgs[]

Attributes controls a portion of the AWS:

blockDevicesMode string

Determine the way we attach the data volumes to the data devices. Valid values: "reattach", "onLaunch". Default: "onLaunch".

cpuCredits string

cpuCredits can have one of two values: "unlimited", "standard".

description string

The ManagedInstance description.

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

ebsOptimized boolean

Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false

elasticIp string

Elastic IP Allocation Id to associate to the instance.

enableMonitoring boolean

Describes whether instance Enhanced Monitoring is enabled. Default: false

fallBackToOd boolean
gracePeriod number

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

healthCheckType string

The service to use for the health check. Valid values: "EC2", "ELB", "TARGET_GROUP", "MULTAI_TARGET_SET". Default: "EC2".

iamInstanceProfile string

Set IAM profile to instance. Set only one of ARN or Name.

integrationRoute53 ManagedInstanceIntegrationRoute53Args

Describes the Route53 integration.

keyPair string

Specify a Key Pair to attach to the instances.

lifeCycle string

Set lifecycle, valid values: "spot", "on_demand". Default "spot".

loadBalancers ManagedInstanceLoadBalancerArgs[]
managedInstanceAction ManagedInstanceManagedInstanceActionArgs
minimumInstanceLifetime number
name string

The ManagedInstance name.

networkInterfaces ManagedInstanceNetworkInterfaceArgs[]
optimizationWindows string[]

When performAt is "timeWindow": must specify a list of "timeWindows" with at least one time window. Each string should be formatted as ddd: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".

persistPrivateIp boolean

Should the instance maintain its private IP.

persistRootDevice boolean

Should the instance maintain its root device volumes.

placementTenancy string

Valid values: "default", "dedicated". Default: default

preferredType string

Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency

privateIp string

Private IP Allocation Id to associate to the instance.

region string

The AWS region your group will be created in.

resourceTagSpecifications ManagedInstanceResourceTagSpecificationArgs[]
revertToSpot ManagedInstanceRevertToSpotArgs
scheduledTasks ManagedInstanceScheduledTaskArgs[]
securityGroupIds string[]

One or more security group IDs.

shutdownScript string

The Base64-encoded shutdown script to execute prior to instance termination.

tags ManagedInstanceTagArgs[]

Set tags for the instance. Items should be unique.

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

userData string

The Base64-encoded MIME user data to make available to the instances.

utilizeReservedInstances boolean

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_devices bool

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_mappings Sequence[ManagedInstanceBlockDeviceMappingArgs]

Attributes controls a portion of the AWS:

block_devices_mode str

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_to_od bool
grace_period int

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

health_check_type str

The service to use for the health check. Valid values: "EC2", "ELB", "TARGET_GROUP", "MULTAI_TARGET_SET". Default: "EC2".

iam_instance_profile str

Set IAM profile to instance. Set only one of ARN or Name.

integration_route53 ManagedInstanceIntegrationRoute53Args

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[ManagedInstanceLoadBalancerArgs]
managed_instance_action ManagedInstanceManagedInstanceActionArgs
minimum_instance_lifetime int
name str

The ManagedInstance name.

network_interfaces Sequence[ManagedInstanceNetworkInterfaceArgs]
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 as ddd: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_ip bool

Should the instance maintain its private IP.

persist_root_device bool

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_specifications Sequence[ManagedInstanceResourceTagSpecificationArgs]
revert_to_spot ManagedInstanceRevertToSpotArgs
scheduled_tasks Sequence[ManagedInstanceScheduledTaskArgs]
security_group_ids Sequence[str]

One or more security group IDs.

shutdown_script str

The Base64-encoded shutdown script to execute prior to instance termination.

tags Sequence[ManagedInstanceTagArgs]

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_instances bool

In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default: "false".

imageId String

The ID of the image used to launch the instance.

instanceTypes List<String>

Comma separated list of available instance types for instance.

persistBlockDevices Boolean

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

subnetIds List<String>

A comma-separated list of subnet identifiers for your instance.

vpcId String
autoHealing Boolean

Enable the auto healing which auto replaces the instance in case the health check fails, default: "true".

blockDeviceMappings List<Property Map>

Attributes controls a portion of the AWS:

blockDevicesMode String

Determine the way we attach the data volumes to the data devices. Valid values: "reattach", "onLaunch". Default: "onLaunch".

cpuCredits String

cpuCredits can have one of two values: "unlimited", "standard".

description String

The ManagedInstance description.

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

ebsOptimized Boolean

Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false

elasticIp String

Elastic IP Allocation Id to associate to the instance.

enableMonitoring Boolean

Describes whether instance Enhanced Monitoring is enabled. Default: false

fallBackToOd Boolean
gracePeriod Number

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

healthCheckType String

The service to use for the health check. Valid values: "EC2", "ELB", "TARGET_GROUP", "MULTAI_TARGET_SET". Default: "EC2".

iamInstanceProfile String

Set IAM profile to instance. Set only one of ARN or Name.

integrationRoute53 Property Map

Describes the Route53 integration.

keyPair String

Specify a Key Pair to attach to the instances.

lifeCycle String

Set lifecycle, valid values: "spot", "on_demand". Default "spot".

loadBalancers List<Property Map>
managedInstanceAction Property Map
minimumInstanceLifetime Number
name String

The ManagedInstance name.

networkInterfaces List<Property Map>
optimizationWindows List<String>

When performAt is "timeWindow": must specify a list of "timeWindows" with at least one time window. Each string should be formatted as ddd: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".

persistPrivateIp Boolean

Should the instance maintain its private IP.

persistRootDevice Boolean

Should the instance maintain its root device volumes.

placementTenancy String

Valid values: "default", "dedicated". Default: default

preferredType String

Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency

privateIp String

Private IP Allocation Id to associate to the instance.

region String

The AWS region your group will be created in.

resourceTagSpecifications List<Property Map>
revertToSpot Property Map
scheduledTasks List<Property Map>
securityGroupIds List<String>

One or more security group IDs.

shutdownScript String

The Base64-encoded shutdown script to execute prior to instance termination.

tags List<Property Map>

Set tags for the instance. Items should be unique.

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

userData String

The Base64-encoded MIME user data to make available to the instances.

utilizeReservedInstances Boolean

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.
The following state arguments are supported:
AutoHealing bool

Enable the auto healing which auto replaces the instance in case the health check fails, default: "true".

BlockDeviceMappings List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceBlockDeviceMappingArgs>

Attributes controls a portion of the AWS:

BlockDevicesMode string

Determine the way we attach the data volumes to the data devices. Valid values: "reattach", "onLaunch". Default: "onLaunch".

CpuCredits string

cpuCredits can have one of two values: "unlimited", "standard".

Description string

The ManagedInstance description.

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

EbsOptimized bool

Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false

ElasticIp string

Elastic IP Allocation Id to associate to the instance.

EnableMonitoring bool

Describes whether instance Enhanced Monitoring is enabled. Default: false

FallBackToOd bool
GracePeriod int

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

HealthCheckType string

The service to use for the health check. Valid values: "EC2", "ELB", "TARGET_GROUP", "MULTAI_TARGET_SET". Default: "EC2".

IamInstanceProfile string

Set IAM profile to instance. Set only one of ARN or Name.

ImageId string

The ID of the image used to launch the instance.

InstanceTypes List<string>

Comma separated list of available instance types for instance.

IntegrationRoute53 Pulumi.SpotInst.Aws.Inputs.ManagedInstanceIntegrationRoute53Args

Describes the Route53 integration.

KeyPair string

Specify a Key Pair to attach to the instances.

LifeCycle string

Set lifecycle, valid values: "spot", "on_demand". Default "spot".

LoadBalancers List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceLoadBalancerArgs>
ManagedInstanceAction Pulumi.SpotInst.Aws.Inputs.ManagedInstanceManagedInstanceActionArgs
MinimumInstanceLifetime int
Name string

The ManagedInstance name.

NetworkInterfaces List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceNetworkInterfaceArgs>
OptimizationWindows List<string>

When performAt is "timeWindow": must specify a list of "timeWindows" with at least one time window. Each string should be formatted as ddd: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".

PersistBlockDevices bool

Should the instance maintain its Data volumes.

PersistPrivateIp bool

Should the instance maintain its private IP.

PersistRootDevice bool

Should the instance maintain its root device volumes.

PlacementTenancy string

Valid values: "default", "dedicated". Default: default

PreferredType string

Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency

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

ResourceTagSpecifications List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceResourceTagSpecificationArgs>
RevertToSpot Pulumi.SpotInst.Aws.Inputs.ManagedInstanceRevertToSpotArgs
ScheduledTasks List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceScheduledTaskArgs>
SecurityGroupIds List<string>

One or more security group IDs.

ShutdownScript string

The Base64-encoded shutdown script to execute prior to instance termination.

SubnetIds List<string>

A comma-separated list of subnet identifiers for your instance.

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

Set tags for the instance. Items should be unique.

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

UserData string

The Base64-encoded MIME user data to make available to the instances.

UtilizeReservedInstances bool

In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default: "false".

VpcId string
AutoHealing bool

Enable the auto healing which auto replaces the instance in case the health check fails, default: "true".

BlockDeviceMappings []ManagedInstanceBlockDeviceMappingArgs

Attributes controls a portion of the AWS:

BlockDevicesMode string

Determine the way we attach the data volumes to the data devices. Valid values: "reattach", "onLaunch". Default: "onLaunch".

CpuCredits string

cpuCredits can have one of two values: "unlimited", "standard".

Description string

The ManagedInstance description.

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

EbsOptimized bool

Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false

ElasticIp string

Elastic IP Allocation Id to associate to the instance.

EnableMonitoring bool

Describes whether instance Enhanced Monitoring is enabled. Default: false

FallBackToOd bool
GracePeriod int

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

HealthCheckType string

The service to use for the health check. Valid values: "EC2", "ELB", "TARGET_GROUP", "MULTAI_TARGET_SET". Default: "EC2".

IamInstanceProfile string

Set IAM profile to instance. Set only one of ARN or Name.

ImageId string

The ID of the image used to launch the instance.

InstanceTypes []string

Comma separated list of available instance types for instance.

IntegrationRoute53 ManagedInstanceIntegrationRoute53Args

Describes the Route53 integration.

KeyPair string

Specify a Key Pair to attach to the instances.

LifeCycle string

Set lifecycle, valid values: "spot", "on_demand". Default "spot".

LoadBalancers []ManagedInstanceLoadBalancerArgs
ManagedInstanceAction ManagedInstanceManagedInstanceActionArgs
MinimumInstanceLifetime int
Name string

The ManagedInstance name.

NetworkInterfaces []ManagedInstanceNetworkInterfaceArgs
OptimizationWindows []string

When performAt is "timeWindow": must specify a list of "timeWindows" with at least one time window. Each string should be formatted as ddd: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".

PersistBlockDevices bool

Should the instance maintain its Data volumes.

PersistPrivateIp bool

Should the instance maintain its private IP.

PersistRootDevice bool

Should the instance maintain its root device volumes.

PlacementTenancy string

Valid values: "default", "dedicated". Default: default

PreferredType string

Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency

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

ResourceTagSpecifications []ManagedInstanceResourceTagSpecificationArgs
RevertToSpot ManagedInstanceRevertToSpotArgs
ScheduledTasks []ManagedInstanceScheduledTaskArgs
SecurityGroupIds []string

One or more security group IDs.

ShutdownScript string

The Base64-encoded shutdown script to execute prior to instance termination.

SubnetIds []string

A comma-separated list of subnet identifiers for your instance.

Tags []ManagedInstanceTagArgs

Set tags for the instance. Items should be unique.

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

UserData string

The Base64-encoded MIME user data to make available to the instances.

UtilizeReservedInstances bool

In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default: "false".

VpcId string
autoHealing Boolean

Enable the auto healing which auto replaces the instance in case the health check fails, default: "true".

blockDeviceMappings List<ManagedInstanceBlockDeviceMappingArgs>

Attributes controls a portion of the AWS:

blockDevicesMode String

Determine the way we attach the data volumes to the data devices. Valid values: "reattach", "onLaunch". Default: "onLaunch".

cpuCredits String

cpuCredits can have one of two values: "unlimited", "standard".

description String

The ManagedInstance description.

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

ebsOptimized Boolean

Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false

elasticIp String

Elastic IP Allocation Id to associate to the instance.

enableMonitoring Boolean

Describes whether instance Enhanced Monitoring is enabled. Default: false

fallBackToOd Boolean
gracePeriod Integer

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

healthCheckType String

The service to use for the health check. Valid values: "EC2", "ELB", "TARGET_GROUP", "MULTAI_TARGET_SET". Default: "EC2".

iamInstanceProfile String

Set IAM profile to instance. Set only one of ARN or Name.

imageId String

The ID of the image used to launch the instance.

instanceTypes List<String>

Comma separated list of available instance types for instance.

integrationRoute53 ManagedInstanceIntegrationRoute53Args

Describes the Route53 integration.

keyPair String

Specify a Key Pair to attach to the instances.

lifeCycle String

Set lifecycle, valid values: "spot", "on_demand". Default "spot".

loadBalancers List<ManagedInstanceLoadBalancerArgs>
managedInstanceAction ManagedInstanceManagedInstanceActionArgs
minimumInstanceLifetime Integer
name String

The ManagedInstance name.

networkInterfaces List<ManagedInstanceNetworkInterfaceArgs>
optimizationWindows List<String>

When performAt is "timeWindow": must specify a list of "timeWindows" with at least one time window. Each string should be formatted as ddd: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".

persistBlockDevices Boolean

Should the instance maintain its Data volumes.

persistPrivateIp Boolean

Should the instance maintain its private IP.

persistRootDevice Boolean

Should the instance maintain its root device volumes.

placementTenancy String

Valid values: "default", "dedicated". Default: default

preferredType String

Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency

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

resourceTagSpecifications List<ManagedInstanceResourceTagSpecificationArgs>
revertToSpot ManagedInstanceRevertToSpotArgs
scheduledTasks List<ManagedInstanceScheduledTaskArgs>
securityGroupIds List<String>

One or more security group IDs.

shutdownScript String

The Base64-encoded shutdown script to execute prior to instance termination.

subnetIds List<String>

A comma-separated list of subnet identifiers for your instance.

tags List<ManagedInstanceTagArgs>

Set tags for the instance. Items should be unique.

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

userData String

The Base64-encoded MIME user data to make available to the instances.

utilizeReservedInstances Boolean

In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default: "false".

vpcId String
autoHealing boolean

Enable the auto healing which auto replaces the instance in case the health check fails, default: "true".

blockDeviceMappings ManagedInstanceBlockDeviceMappingArgs[]

Attributes controls a portion of the AWS:

blockDevicesMode string

Determine the way we attach the data volumes to the data devices. Valid values: "reattach", "onLaunch". Default: "onLaunch".

cpuCredits string

cpuCredits can have one of two values: "unlimited", "standard".

description string

The ManagedInstance description.

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

ebsOptimized boolean

Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false

elasticIp string

Elastic IP Allocation Id to associate to the instance.

enableMonitoring boolean

Describes whether instance Enhanced Monitoring is enabled. Default: false

fallBackToOd boolean
gracePeriod number

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

healthCheckType string

The service to use for the health check. Valid values: "EC2", "ELB", "TARGET_GROUP", "MULTAI_TARGET_SET". Default: "EC2".

iamInstanceProfile string

Set IAM profile to instance. Set only one of ARN or Name.

imageId string

The ID of the image used to launch the instance.

instanceTypes string[]

Comma separated list of available instance types for instance.

integrationRoute53 ManagedInstanceIntegrationRoute53Args

Describes the Route53 integration.

keyPair string

Specify a Key Pair to attach to the instances.

lifeCycle string

Set lifecycle, valid values: "spot", "on_demand". Default "spot".

loadBalancers ManagedInstanceLoadBalancerArgs[]
managedInstanceAction ManagedInstanceManagedInstanceActionArgs
minimumInstanceLifetime number
name string

The ManagedInstance name.

networkInterfaces ManagedInstanceNetworkInterfaceArgs[]
optimizationWindows string[]

When performAt is "timeWindow": must specify a list of "timeWindows" with at least one time window. Each string should be formatted as ddd: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".

persistBlockDevices boolean

Should the instance maintain its Data volumes.

persistPrivateIp boolean

Should the instance maintain its private IP.

persistRootDevice boolean

Should the instance maintain its root device volumes.

placementTenancy string

Valid values: "default", "dedicated". Default: default

preferredType string

Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency

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

resourceTagSpecifications ManagedInstanceResourceTagSpecificationArgs[]
revertToSpot ManagedInstanceRevertToSpotArgs
scheduledTasks ManagedInstanceScheduledTaskArgs[]
securityGroupIds string[]

One or more security group IDs.

shutdownScript string

The Base64-encoded shutdown script to execute prior to instance termination.

subnetIds string[]

A comma-separated list of subnet identifiers for your instance.

tags ManagedInstanceTagArgs[]

Set tags for the instance. Items should be unique.

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

userData string

The Base64-encoded MIME user data to make available to the instances.

utilizeReservedInstances boolean

In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default: "false".

vpcId string
auto_healing bool

Enable the auto healing which auto replaces the instance in case the health check fails, default: "true".

block_device_mappings Sequence[ManagedInstanceBlockDeviceMappingArgs]

Attributes controls a portion of the AWS:

block_devices_mode str

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_to_od bool
grace_period int

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

health_check_type str

The service to use for the health check. Valid values: "EC2", "ELB", "TARGET_GROUP", "MULTAI_TARGET_SET". Default: "EC2".

iam_instance_profile str

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 ManagedInstanceIntegrationRoute53Args

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[ManagedInstanceLoadBalancerArgs]
managed_instance_action ManagedInstanceManagedInstanceActionArgs
minimum_instance_lifetime int
name str

The ManagedInstance name.

network_interfaces Sequence[ManagedInstanceNetworkInterfaceArgs]
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 as ddd: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_devices bool

Should the instance maintain its Data volumes.

persist_private_ip bool

Should the instance maintain its private IP.

persist_root_device bool

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_specifications Sequence[ManagedInstanceResourceTagSpecificationArgs]
revert_to_spot ManagedInstanceRevertToSpotArgs
scheduled_tasks Sequence[ManagedInstanceScheduledTaskArgs]
security_group_ids Sequence[str]

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.

tags Sequence[ManagedInstanceTagArgs]

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_instances bool

In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default: "false".

vpc_id str
autoHealing Boolean

Enable the auto healing which auto replaces the instance in case the health check fails, default: "true".

blockDeviceMappings List<Property Map>

Attributes controls a portion of the AWS:

blockDevicesMode String

Determine the way we attach the data volumes to the data devices. Valid values: "reattach", "onLaunch". Default: "onLaunch".

cpuCredits String

cpuCredits can have one of two values: "unlimited", "standard".

description String

The ManagedInstance description.

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

ebsOptimized Boolean

Enable EBS optimization for supported instances. Note: Additional charges will be applied by the Cloud Provider. Default: false

elasticIp String

Elastic IP Allocation Id to associate to the instance.

enableMonitoring Boolean

Describes whether instance Enhanced Monitoring is enabled. Default: false

fallBackToOd Boolean
gracePeriod Number

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

healthCheckType String

The service to use for the health check. Valid values: "EC2", "ELB", "TARGET_GROUP", "MULTAI_TARGET_SET". Default: "EC2".

iamInstanceProfile String

Set IAM profile to instance. Set only one of ARN or Name.

imageId String

The ID of the image used to launch the instance.

instanceTypes List<String>

Comma separated list of available instance types for instance.

integrationRoute53 Property Map

Describes the Route53 integration.

keyPair String

Specify a Key Pair to attach to the instances.

lifeCycle String

Set lifecycle, valid values: "spot", "on_demand". Default "spot".

loadBalancers List<Property Map>
managedInstanceAction Property Map
minimumInstanceLifetime Number
name String

The ManagedInstance name.

networkInterfaces List<Property Map>
optimizationWindows List<String>

When performAt is "timeWindow": must specify a list of "timeWindows" with at least one time window. Each string should be formatted as ddd: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".

persistBlockDevices Boolean

Should the instance maintain its Data volumes.

persistPrivateIp Boolean

Should the instance maintain its private IP.

persistRootDevice Boolean

Should the instance maintain its root device volumes.

placementTenancy String

Valid values: "default", "dedicated". Default: default

preferredType String

Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency

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

resourceTagSpecifications List<Property Map>
revertToSpot Property Map
scheduledTasks List<Property Map>
securityGroupIds List<String>

One or more security group IDs.

shutdownScript String

The Base64-encoded shutdown script to execute prior to instance termination.

subnetIds List<String>

A comma-separated list of subnet identifiers for your instance.

tags List<Property Map>

Set tags for the instance. Items should be unique.

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

userData String

The Base64-encoded MIME user data to make available to the instances.

utilizeReservedInstances Boolean

In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances. Default: "false".

vpcId String

Supporting Types

ManagedInstanceBlockDeviceMapping

DeviceName string

The name of the device to mount.

Ebs ManagedInstanceBlockDeviceMappingEbs

Object

deviceName String

The name of the device to mount.

ebs ManagedInstanceBlockDeviceMappingEbs

Object

deviceName string

The name of the device to mount.

ebs ManagedInstanceBlockDeviceMappingEbs

Object

device_name str

The name of the device to mount.

ebs ManagedInstanceBlockDeviceMappingEbs

Object

deviceName String

The name of the device to mount.

ebs Property Map

Object

ManagedInstanceBlockDeviceMappingEbs

DeleteOnTermination bool

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

VolumeSize int

The size of the volume, in GiBs.

VolumeType string

The type of volume. Can be "standard", "gp2", "gp3", "io1", "st1" or "sc1".

DeleteOnTermination bool

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

VolumeSize int

The size of the volume, in GiBs.

VolumeType string

The type of volume. Can be "standard", "gp2", "gp3", "io1", "st1" or "sc1".

deleteOnTermination Boolean

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

volumeSize Integer

The size of the volume, in GiBs.

volumeType String

The type of volume. Can be "standard", "gp2", "gp3", "io1", "st1" or "sc1".

deleteOnTermination boolean

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

volumeSize number

The size of the volume, in GiBs.

volumeType string

The type of volume. Can be "standard", "gp2", "gp3", "io1", "st1" or "sc1".

delete_on_termination bool

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

deleteOnTermination Boolean

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

volumeSize Number

The size of the volume, in GiBs.

volumeType String

The type of volume. Can be "standard", "gp2", "gp3", "io1", "st1" or "sc1".

ManagedInstanceIntegrationRoute53

Domains []ManagedInstanceIntegrationRoute53Domain

Route 53 Domain configurations.

domains ManagedInstanceIntegrationRoute53Domain[]

Route 53 Domain configurations.

domains List<Property Map>

Route 53 Domain configurations.

ManagedInstanceIntegrationRoute53Domain

HostedZoneId string

The Route 53 Hosted Zone Id for the registered Domain.

RecordSets List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceIntegrationRoute53DomainRecordSet>

List of record sets

RecordSetType string

The type of the record set. Valid values: "a", "cname".

SpotinstAcctId string

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.

HostedZoneId string

The Route 53 Hosted Zone Id for the registered Domain.

RecordSets []ManagedInstanceIntegrationRoute53DomainRecordSet

List of record sets

RecordSetType string

The type of the record set. Valid values: "a", "cname".

SpotinstAcctId string

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.

hostedZoneId String

The Route 53 Hosted Zone Id for the registered Domain.

recordSets List<ManagedInstanceIntegrationRoute53DomainRecordSet>

List of record sets

recordSetType String

The type of the record set. Valid values: "a", "cname".

spotinstAcctId String

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.

hostedZoneId string

The Route 53 Hosted Zone Id for the registered Domain.

recordSets ManagedInstanceIntegrationRoute53DomainRecordSet[]

List of record sets

recordSetType string

The type of the record set. Valid values: "a", "cname".

spotinstAcctId string

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_id str

The Route 53 Hosted Zone Id for the registered Domain.

record_sets Sequence[ManagedInstanceIntegrationRoute53DomainRecordSet]

List of record sets

record_set_type str

The type of the record set. Valid values: "a", "cname".

spotinst_acct_id str

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.

hostedZoneId String

The Route 53 Hosted Zone Id for the registered Domain.

recordSets List<Property Map>

List of record sets

recordSetType String

The type of the record set. Valid values: "a", "cname".

spotinstAcctId String

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.

UsePublicDns bool

Designates whether the DNS address should be exposed to connections outside the VPC.

UsePublicIp bool

Designates whether the IP address should be exposed to connections outside the VPC.

Name string

The ManagedInstance name.

UsePublicDns bool

Designates whether the DNS address should be exposed to connections outside the VPC.

UsePublicIp bool

Designates whether the IP address should be exposed to connections outside the VPC.

name String

The ManagedInstance name.

usePublicDns Boolean

Designates whether the DNS address should be exposed to connections outside the VPC.

usePublicIp Boolean

Designates whether the IP address should be exposed to connections outside the VPC.

name string

The ManagedInstance name.

usePublicDns boolean

Designates whether the DNS address should be exposed to connections outside the VPC.

usePublicIp boolean

Designates whether the IP address should be exposed to connections outside the VPC.

name str

The ManagedInstance name.

use_public_dns bool

Designates whether the DNS address should be exposed to connections outside the VPC.

use_public_ip bool

Designates whether the IP address should be exposed to connections outside the VPC.

name String

The ManagedInstance name.

usePublicDns Boolean

Designates whether the DNS address should be exposed to connections outside the VPC.

usePublicIp Boolean

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

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

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

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

TargetSetId string

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

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

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

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

TargetSetId string

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

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

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

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

targetSetId String

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

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

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

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

targetSetId string

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_id str

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

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

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

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

targetSetId String

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

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

AssociateIpv6Address bool

Indicates whether to assign an IPv6 address. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. Default: false

AssociatePublicIpAddress bool

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.

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

AssociateIpv6Address bool

Indicates whether to assign an IPv6 address. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. Default: false

AssociatePublicIpAddress bool

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.

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

associateIpv6Address Boolean

Indicates whether to assign an IPv6 address. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. Default: false

associatePublicIpAddress Boolean

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.

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

associateIpv6Address boolean

Indicates whether to assign an IPv6 address. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. Default: false

associatePublicIpAddress boolean

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_address bool

Indicates whether to assign an IPv6 address. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. Default: false

associate_public_ip_address bool

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.

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

associateIpv6Address Boolean

Indicates whether to assign an IPv6 address. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. Default: false

associatePublicIpAddress Boolean

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

ShouldTagAmis bool

Tag specification for AMI resources.

ShouldTagEnis bool

Tag specification for ENI resources.

ShouldTagSnapshots bool

Tag specification for Snapshot resources.

ShouldTagVolumes bool

Tag specification for Volume resources.

ShouldTagAmis bool

Tag specification for AMI resources.

ShouldTagEnis bool

Tag specification for ENI resources.

ShouldTagSnapshots bool

Tag specification for Snapshot resources.

ShouldTagVolumes bool

Tag specification for Volume resources.

shouldTagAmis Boolean

Tag specification for AMI resources.

shouldTagEnis Boolean

Tag specification for ENI resources.

shouldTagSnapshots Boolean

Tag specification for Snapshot resources.

shouldTagVolumes Boolean

Tag specification for Volume resources.

shouldTagAmis boolean

Tag specification for AMI resources.

shouldTagEnis boolean

Tag specification for ENI resources.

shouldTagSnapshots boolean

Tag specification for Snapshot resources.

shouldTagVolumes boolean

Tag specification for Volume resources.

should_tag_amis bool

Tag specification for AMI resources.

should_tag_enis bool

Tag specification for ENI resources.

should_tag_snapshots bool

Tag specification for Snapshot resources.

should_tag_volumes bool

Tag specification for Volume resources.

shouldTagAmis Boolean

Tag specification for AMI resources.

shouldTagEnis Boolean

Tag specification for ENI resources.

shouldTagSnapshots Boolean

Tag specification for Snapshot resources.

shouldTagVolumes Boolean

Tag specification for Volume resources.

ManagedInstanceRevertToSpot

PerformAt string

Valid values: "always", "never", "timeWindow". Default "never".

PerformAt string

Valid values: "always", "never", "timeWindow". Default "never".

performAt String

Valid values: "always", "never", "timeWindow". Default "never".

performAt string

Valid values: "always", "never", "timeWindow". Default "never".

perform_at str

Valid values: "always", "never", "timeWindow". Default "never".

performAt String

Valid values: "always", "never", "timeWindow". Default "never".

ManagedInstanceScheduledTask

TaskType string

The task type to run. Valid values: "pause", "resume", "recycle".

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

IsEnabled bool

Describes whether the task is enabled. When true the task should run when false it should not run.

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

TaskType string

The task type to run. Valid values: "pause", "resume", "recycle".

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

IsEnabled bool

Describes whether the task is enabled. When true the task should run when false it should not run.

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

taskType String

The task type to run. Valid values: "pause", "resume", "recycle".

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

isEnabled Boolean

Describes whether the task is enabled. When true the task should run when false it should not run.

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

taskType string

The task type to run. Valid values: "pause", "resume", "recycle".

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

isEnabled boolean

Describes whether the task is enabled. When true the task should run when false it should not run.

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

taskType String

The task type to run. Valid values: "pause", "resume", "recycle".

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

isEnabled Boolean

Describes whether the task is enabled. When true the task should run when false it should not run.

startTime 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

Key string

Tag's key.

Value string

Tag's name.

Key string

Tag's key.

Value string

Tag's name.

key String

Tag's key.

value String

Tag's name.

key string

Tag's key.

value string

Tag's name.

key str

Tag's key.

value str

Tag's name.

key String

Tag's key.

value String

Tag's name.

Package Details

Repository
Spotinst pulumi/pulumi-spotinst
License
Apache-2.0
Notes

This Pulumi package is based on the spotinst Terraform Provider.