1. Packages
  2. Spotinst
  3. API Docs
  4. aws
  5. ManagedInstance
Spotinst v3.77.1 published on Saturday, May 18, 2024 by Pulumi

spotinst.aws.ManagedInstance

Explore with Pulumi AI

spotinst logo
Spotinst v3.77.1 published on Saturday, May 18, 2024 by Pulumi

    Create ManagedInstance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ManagedInstance(name: string, args: ManagedInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def ManagedInstance(resource_name: str,
                        args: ManagedInstanceArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagedInstance(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        image_id: Optional[str] = None,
                        vpc_id: Optional[str] = None,
                        subnet_ids: Optional[Sequence[str]] = None,
                        product: Optional[str] = None,
                        persist_block_devices: Optional[bool] = None,
                        instance_types: Optional[Sequence[str]] = None,
                        name: Optional[str] = None,
                        orientation: Optional[str] = None,
                        elastic_ip: Optional[str] = None,
                        enable_monitoring: Optional[bool] = None,
                        fallback_to_ondemand: Optional[bool] = None,
                        grace_period: Optional[int] = None,
                        health_check_type: Optional[str] = None,
                        iam_instance_profile: Optional[str] = None,
                        draining_timeout: Optional[int] = None,
                        description: Optional[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,
                        auto_healing: Optional[bool] = None,
                        network_interfaces: Optional[Sequence[ManagedInstanceNetworkInterfaceArgs]] = None,
                        optimization_windows: Optional[Sequence[str]] = None,
                        ebs_optimized: Optional[bool] = None,
                        deletes: Optional[Sequence[ManagedInstanceDeleteArgs]] = 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,
                        cpu_credits: 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,
                        block_devices_mode: Optional[str] = None,
                        tags: Optional[Sequence[ManagedInstanceTagArgs]] = None,
                        unhealthy_duration: Optional[int] = None,
                        user_data: Optional[str] = None,
                        utilize_reserved_instances: Optional[bool] = None,
                        block_device_mappings: Optional[Sequence[ManagedInstanceBlockDeviceMappingArgs]] = 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.
    
    

    Parameters

    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.

    Example

    The following reference example uses placeholder values for all input properties.

    var managedInstanceResource = new SpotInst.Aws.ManagedInstance("managedInstanceResource", new()
    {
        ImageId = "string",
        VpcId = "string",
        SubnetIds = new[]
        {
            "string",
        },
        Product = "string",
        PersistBlockDevices = false,
        InstanceTypes = new[]
        {
            "string",
        },
        Name = "string",
        Orientation = "string",
        ElasticIp = "string",
        EnableMonitoring = false,
        FallbackToOndemand = false,
        GracePeriod = 0,
        HealthCheckType = "string",
        IamInstanceProfile = "string",
        DrainingTimeout = 0,
        Description = "string",
        IntegrationRoute53 = new SpotInst.Aws.Inputs.ManagedInstanceIntegrationRoute53Args
        {
            Domains = new[]
            {
                new SpotInst.Aws.Inputs.ManagedInstanceIntegrationRoute53DomainArgs
                {
                    HostedZoneId = "string",
                    RecordSets = new[]
                    {
                        new SpotInst.Aws.Inputs.ManagedInstanceIntegrationRoute53DomainRecordSetArgs
                        {
                            Name = "string",
                            UsePublicDns = false,
                            UsePublicIp = false,
                        },
                    },
                    RecordSetType = "string",
                    SpotinstAcctId = "string",
                },
            },
        },
        KeyPair = "string",
        LifeCycle = "string",
        LoadBalancers = new[]
        {
            new SpotInst.Aws.Inputs.ManagedInstanceLoadBalancerArgs
            {
                Type = "string",
                Arn = "string",
                Name = "string",
            },
        },
        ManagedInstanceAction = new SpotInst.Aws.Inputs.ManagedInstanceManagedInstanceActionArgs
        {
            Type = "string",
        },
        MinimumInstanceLifetime = 0,
        AutoHealing = false,
        NetworkInterfaces = new[]
        {
            new SpotInst.Aws.Inputs.ManagedInstanceNetworkInterfaceArgs
            {
                DeviceIndex = "string",
                AssociateIpv6Address = false,
                AssociatePublicIpAddress = false,
            },
        },
        OptimizationWindows = new[]
        {
            "string",
        },
        EbsOptimized = false,
        Deletes = new[]
        {
            new SpotInst.Aws.Inputs.ManagedInstanceDeleteArgs
            {
                AmiBackupShouldDeleteImages = false,
                DeallocationConfigShouldDeleteImages = false,
                ShouldDeleteNetworkInterfaces = false,
                ShouldDeleteSnapshots = false,
                ShouldDeleteVolumes = false,
                ShouldTerminateInstance = false,
            },
        },
        PersistPrivateIp = false,
        PersistRootDevice = false,
        PlacementTenancy = "string",
        PreferredType = "string",
        PrivateIp = "string",
        CpuCredits = "string",
        Region = "string",
        ResourceTagSpecifications = new[]
        {
            new SpotInst.Aws.Inputs.ManagedInstanceResourceTagSpecificationArgs
            {
                ShouldTagAmis = false,
                ShouldTagEnis = false,
                ShouldTagSnapshots = false,
                ShouldTagVolumes = false,
            },
        },
        RevertToSpot = new SpotInst.Aws.Inputs.ManagedInstanceRevertToSpotArgs
        {
            PerformAt = "string",
        },
        ScheduledTasks = new[]
        {
            new SpotInst.Aws.Inputs.ManagedInstanceScheduledTaskArgs
            {
                TaskType = "string",
                CronExpression = "string",
                Frequency = "string",
                IsEnabled = false,
                StartTime = "string",
            },
        },
        SecurityGroupIds = new[]
        {
            "string",
        },
        ShutdownScript = "string",
        BlockDevicesMode = "string",
        Tags = new[]
        {
            new SpotInst.Aws.Inputs.ManagedInstanceTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        UnhealthyDuration = 0,
        UserData = "string",
        UtilizeReservedInstances = false,
        BlockDeviceMappings = new[]
        {
            new SpotInst.Aws.Inputs.ManagedInstanceBlockDeviceMappingArgs
            {
                DeviceName = "string",
                Ebs = new SpotInst.Aws.Inputs.ManagedInstanceBlockDeviceMappingEbsArgs
                {
                    DeleteOnTermination = false,
                    Encrypted = false,
                    Iops = 0,
                    KmsKeyId = "string",
                    SnapshotId = "string",
                    Throughput = 0,
                    VolumeSize = 0,
                    VolumeType = "string",
                },
            },
        },
    });
    
    example, err := aws.NewManagedInstance(ctx, "managedInstanceResource", &aws.ManagedInstanceArgs{
    	ImageId: pulumi.String("string"),
    	VpcId:   pulumi.String("string"),
    	SubnetIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Product:             pulumi.String("string"),
    	PersistBlockDevices: pulumi.Bool(false),
    	InstanceTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name:               pulumi.String("string"),
    	Orientation:        pulumi.String("string"),
    	ElasticIp:          pulumi.String("string"),
    	EnableMonitoring:   pulumi.Bool(false),
    	FallbackToOndemand: pulumi.Bool(false),
    	GracePeriod:        pulumi.Int(0),
    	HealthCheckType:    pulumi.String("string"),
    	IamInstanceProfile: pulumi.String("string"),
    	DrainingTimeout:    pulumi.Int(0),
    	Description:        pulumi.String("string"),
    	IntegrationRoute53: &aws.ManagedInstanceIntegrationRoute53Args{
    		Domains: aws.ManagedInstanceIntegrationRoute53DomainArray{
    			&aws.ManagedInstanceIntegrationRoute53DomainArgs{
    				HostedZoneId: pulumi.String("string"),
    				RecordSets: aws.ManagedInstanceIntegrationRoute53DomainRecordSetArray{
    					&aws.ManagedInstanceIntegrationRoute53DomainRecordSetArgs{
    						Name:         pulumi.String("string"),
    						UsePublicDns: pulumi.Bool(false),
    						UsePublicIp:  pulumi.Bool(false),
    					},
    				},
    				RecordSetType:  pulumi.String("string"),
    				SpotinstAcctId: pulumi.String("string"),
    			},
    		},
    	},
    	KeyPair:   pulumi.String("string"),
    	LifeCycle: pulumi.String("string"),
    	LoadBalancers: aws.ManagedInstanceLoadBalancerArray{
    		&aws.ManagedInstanceLoadBalancerArgs{
    			Type: pulumi.String("string"),
    			Arn:  pulumi.String("string"),
    			Name: pulumi.String("string"),
    		},
    	},
    	ManagedInstanceAction: &aws.ManagedInstanceManagedInstanceActionArgs{
    		Type: pulumi.String("string"),
    	},
    	MinimumInstanceLifetime: pulumi.Int(0),
    	AutoHealing:             pulumi.Bool(false),
    	NetworkInterfaces: aws.ManagedInstanceNetworkInterfaceArray{
    		&aws.ManagedInstanceNetworkInterfaceArgs{
    			DeviceIndex:              pulumi.String("string"),
    			AssociateIpv6Address:     pulumi.Bool(false),
    			AssociatePublicIpAddress: pulumi.Bool(false),
    		},
    	},
    	OptimizationWindows: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	EbsOptimized: pulumi.Bool(false),
    	Deletes: aws.ManagedInstanceDeleteArray{
    		&aws.ManagedInstanceDeleteArgs{
    			AmiBackupShouldDeleteImages:          pulumi.Bool(false),
    			DeallocationConfigShouldDeleteImages: pulumi.Bool(false),
    			ShouldDeleteNetworkInterfaces:        pulumi.Bool(false),
    			ShouldDeleteSnapshots:                pulumi.Bool(false),
    			ShouldDeleteVolumes:                  pulumi.Bool(false),
    			ShouldTerminateInstance:              pulumi.Bool(false),
    		},
    	},
    	PersistPrivateIp:  pulumi.Bool(false),
    	PersistRootDevice: pulumi.Bool(false),
    	PlacementTenancy:  pulumi.String("string"),
    	PreferredType:     pulumi.String("string"),
    	PrivateIp:         pulumi.String("string"),
    	CpuCredits:        pulumi.String("string"),
    	Region:            pulumi.String("string"),
    	ResourceTagSpecifications: aws.ManagedInstanceResourceTagSpecificationArray{
    		&aws.ManagedInstanceResourceTagSpecificationArgs{
    			ShouldTagAmis:      pulumi.Bool(false),
    			ShouldTagEnis:      pulumi.Bool(false),
    			ShouldTagSnapshots: pulumi.Bool(false),
    			ShouldTagVolumes:   pulumi.Bool(false),
    		},
    	},
    	RevertToSpot: &aws.ManagedInstanceRevertToSpotArgs{
    		PerformAt: pulumi.String("string"),
    	},
    	ScheduledTasks: aws.ManagedInstanceScheduledTaskArray{
    		&aws.ManagedInstanceScheduledTaskArgs{
    			TaskType:       pulumi.String("string"),
    			CronExpression: pulumi.String("string"),
    			Frequency:      pulumi.String("string"),
    			IsEnabled:      pulumi.Bool(false),
    			StartTime:      pulumi.String("string"),
    		},
    	},
    	SecurityGroupIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ShutdownScript:   pulumi.String("string"),
    	BlockDevicesMode: pulumi.String("string"),
    	Tags: aws.ManagedInstanceTagArray{
    		&aws.ManagedInstanceTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	UnhealthyDuration:        pulumi.Int(0),
    	UserData:                 pulumi.String("string"),
    	UtilizeReservedInstances: pulumi.Bool(false),
    	BlockDeviceMappings: aws.ManagedInstanceBlockDeviceMappingArray{
    		&aws.ManagedInstanceBlockDeviceMappingArgs{
    			DeviceName: pulumi.String("string"),
    			Ebs: &aws.ManagedInstanceBlockDeviceMappingEbsArgs{
    				DeleteOnTermination: pulumi.Bool(false),
    				Encrypted:           pulumi.Bool(false),
    				Iops:                pulumi.Int(0),
    				KmsKeyId:            pulumi.String("string"),
    				SnapshotId:          pulumi.String("string"),
    				Throughput:          pulumi.Int(0),
    				VolumeSize:          pulumi.Int(0),
    				VolumeType:          pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var managedInstanceResource = new ManagedInstance("managedInstanceResource", ManagedInstanceArgs.builder()        
        .imageId("string")
        .vpcId("string")
        .subnetIds("string")
        .product("string")
        .persistBlockDevices(false)
        .instanceTypes("string")
        .name("string")
        .orientation("string")
        .elasticIp("string")
        .enableMonitoring(false)
        .fallbackToOndemand(false)
        .gracePeriod(0)
        .healthCheckType("string")
        .iamInstanceProfile("string")
        .drainingTimeout(0)
        .description("string")
        .integrationRoute53(ManagedInstanceIntegrationRoute53Args.builder()
            .domains(ManagedInstanceIntegrationRoute53DomainArgs.builder()
                .hostedZoneId("string")
                .recordSets(ManagedInstanceIntegrationRoute53DomainRecordSetArgs.builder()
                    .name("string")
                    .usePublicDns(false)
                    .usePublicIp(false)
                    .build())
                .recordSetType("string")
                .spotinstAcctId("string")
                .build())
            .build())
        .keyPair("string")
        .lifeCycle("string")
        .loadBalancers(ManagedInstanceLoadBalancerArgs.builder()
            .type("string")
            .arn("string")
            .name("string")
            .build())
        .managedInstanceAction(ManagedInstanceManagedInstanceActionArgs.builder()
            .type("string")
            .build())
        .minimumInstanceLifetime(0)
        .autoHealing(false)
        .networkInterfaces(ManagedInstanceNetworkInterfaceArgs.builder()
            .deviceIndex("string")
            .associateIpv6Address(false)
            .associatePublicIpAddress(false)
            .build())
        .optimizationWindows("string")
        .ebsOptimized(false)
        .deletes(ManagedInstanceDeleteArgs.builder()
            .amiBackupShouldDeleteImages(false)
            .deallocationConfigShouldDeleteImages(false)
            .shouldDeleteNetworkInterfaces(false)
            .shouldDeleteSnapshots(false)
            .shouldDeleteVolumes(false)
            .shouldTerminateInstance(false)
            .build())
        .persistPrivateIp(false)
        .persistRootDevice(false)
        .placementTenancy("string")
        .preferredType("string")
        .privateIp("string")
        .cpuCredits("string")
        .region("string")
        .resourceTagSpecifications(ManagedInstanceResourceTagSpecificationArgs.builder()
            .shouldTagAmis(false)
            .shouldTagEnis(false)
            .shouldTagSnapshots(false)
            .shouldTagVolumes(false)
            .build())
        .revertToSpot(ManagedInstanceRevertToSpotArgs.builder()
            .performAt("string")
            .build())
        .scheduledTasks(ManagedInstanceScheduledTaskArgs.builder()
            .taskType("string")
            .cronExpression("string")
            .frequency("string")
            .isEnabled(false)
            .startTime("string")
            .build())
        .securityGroupIds("string")
        .shutdownScript("string")
        .blockDevicesMode("string")
        .tags(ManagedInstanceTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .unhealthyDuration(0)
        .userData("string")
        .utilizeReservedInstances(false)
        .blockDeviceMappings(ManagedInstanceBlockDeviceMappingArgs.builder()
            .deviceName("string")
            .ebs(ManagedInstanceBlockDeviceMappingEbsArgs.builder()
                .deleteOnTermination(false)
                .encrypted(false)
                .iops(0)
                .kmsKeyId("string")
                .snapshotId("string")
                .throughput(0)
                .volumeSize(0)
                .volumeType("string")
                .build())
            .build())
        .build());
    
    managed_instance_resource = spotinst.aws.ManagedInstance("managedInstanceResource",
        image_id="string",
        vpc_id="string",
        subnet_ids=["string"],
        product="string",
        persist_block_devices=False,
        instance_types=["string"],
        name="string",
        orientation="string",
        elastic_ip="string",
        enable_monitoring=False,
        fallback_to_ondemand=False,
        grace_period=0,
        health_check_type="string",
        iam_instance_profile="string",
        draining_timeout=0,
        description="string",
        integration_route53=spotinst.aws.ManagedInstanceIntegrationRoute53Args(
            domains=[spotinst.aws.ManagedInstanceIntegrationRoute53DomainArgs(
                hosted_zone_id="string",
                record_sets=[spotinst.aws.ManagedInstanceIntegrationRoute53DomainRecordSetArgs(
                    name="string",
                    use_public_dns=False,
                    use_public_ip=False,
                )],
                record_set_type="string",
                spotinst_acct_id="string",
            )],
        ),
        key_pair="string",
        life_cycle="string",
        load_balancers=[spotinst.aws.ManagedInstanceLoadBalancerArgs(
            type="string",
            arn="string",
            name="string",
        )],
        managed_instance_action=spotinst.aws.ManagedInstanceManagedInstanceActionArgs(
            type="string",
        ),
        minimum_instance_lifetime=0,
        auto_healing=False,
        network_interfaces=[spotinst.aws.ManagedInstanceNetworkInterfaceArgs(
            device_index="string",
            associate_ipv6_address=False,
            associate_public_ip_address=False,
        )],
        optimization_windows=["string"],
        ebs_optimized=False,
        deletes=[spotinst.aws.ManagedInstanceDeleteArgs(
            ami_backup_should_delete_images=False,
            deallocation_config_should_delete_images=False,
            should_delete_network_interfaces=False,
            should_delete_snapshots=False,
            should_delete_volumes=False,
            should_terminate_instance=False,
        )],
        persist_private_ip=False,
        persist_root_device=False,
        placement_tenancy="string",
        preferred_type="string",
        private_ip="string",
        cpu_credits="string",
        region="string",
        resource_tag_specifications=[spotinst.aws.ManagedInstanceResourceTagSpecificationArgs(
            should_tag_amis=False,
            should_tag_enis=False,
            should_tag_snapshots=False,
            should_tag_volumes=False,
        )],
        revert_to_spot=spotinst.aws.ManagedInstanceRevertToSpotArgs(
            perform_at="string",
        ),
        scheduled_tasks=[spotinst.aws.ManagedInstanceScheduledTaskArgs(
            task_type="string",
            cron_expression="string",
            frequency="string",
            is_enabled=False,
            start_time="string",
        )],
        security_group_ids=["string"],
        shutdown_script="string",
        block_devices_mode="string",
        tags=[spotinst.aws.ManagedInstanceTagArgs(
            key="string",
            value="string",
        )],
        unhealthy_duration=0,
        user_data="string",
        utilize_reserved_instances=False,
        block_device_mappings=[spotinst.aws.ManagedInstanceBlockDeviceMappingArgs(
            device_name="string",
            ebs=spotinst.aws.ManagedInstanceBlockDeviceMappingEbsArgs(
                delete_on_termination=False,
                encrypted=False,
                iops=0,
                kms_key_id="string",
                snapshot_id="string",
                throughput=0,
                volume_size=0,
                volume_type="string",
            ),
        )])
    
    const managedInstanceResource = new spotinst.aws.ManagedInstance("managedInstanceResource", {
        imageId: "string",
        vpcId: "string",
        subnetIds: ["string"],
        product: "string",
        persistBlockDevices: false,
        instanceTypes: ["string"],
        name: "string",
        orientation: "string",
        elasticIp: "string",
        enableMonitoring: false,
        fallbackToOndemand: false,
        gracePeriod: 0,
        healthCheckType: "string",
        iamInstanceProfile: "string",
        drainingTimeout: 0,
        description: "string",
        integrationRoute53: {
            domains: [{
                hostedZoneId: "string",
                recordSets: [{
                    name: "string",
                    usePublicDns: false,
                    usePublicIp: false,
                }],
                recordSetType: "string",
                spotinstAcctId: "string",
            }],
        },
        keyPair: "string",
        lifeCycle: "string",
        loadBalancers: [{
            type: "string",
            arn: "string",
            name: "string",
        }],
        managedInstanceAction: {
            type: "string",
        },
        minimumInstanceLifetime: 0,
        autoHealing: false,
        networkInterfaces: [{
            deviceIndex: "string",
            associateIpv6Address: false,
            associatePublicIpAddress: false,
        }],
        optimizationWindows: ["string"],
        ebsOptimized: false,
        deletes: [{
            amiBackupShouldDeleteImages: false,
            deallocationConfigShouldDeleteImages: false,
            shouldDeleteNetworkInterfaces: false,
            shouldDeleteSnapshots: false,
            shouldDeleteVolumes: false,
            shouldTerminateInstance: false,
        }],
        persistPrivateIp: false,
        persistRootDevice: false,
        placementTenancy: "string",
        preferredType: "string",
        privateIp: "string",
        cpuCredits: "string",
        region: "string",
        resourceTagSpecifications: [{
            shouldTagAmis: false,
            shouldTagEnis: false,
            shouldTagSnapshots: false,
            shouldTagVolumes: false,
        }],
        revertToSpot: {
            performAt: "string",
        },
        scheduledTasks: [{
            taskType: "string",
            cronExpression: "string",
            frequency: "string",
            isEnabled: false,
            startTime: "string",
        }],
        securityGroupIds: ["string"],
        shutdownScript: "string",
        blockDevicesMode: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
        unhealthyDuration: 0,
        userData: "string",
        utilizeReservedInstances: false,
        blockDeviceMappings: [{
            deviceName: "string",
            ebs: {
                deleteOnTermination: false,
                encrypted: false,
                iops: 0,
                kmsKeyId: "string",
                snapshotId: "string",
                throughput: 0,
                volumeSize: 0,
                volumeType: "string",
            },
        }],
    });
    
    type: spotinst:aws:ManagedInstance
    properties:
        autoHealing: false
        blockDeviceMappings:
            - deviceName: string
              ebs:
                deleteOnTermination: false
                encrypted: false
                iops: 0
                kmsKeyId: string
                snapshotId: string
                throughput: 0
                volumeSize: 0
                volumeType: string
        blockDevicesMode: string
        cpuCredits: string
        deletes:
            - amiBackupShouldDeleteImages: false
              deallocationConfigShouldDeleteImages: false
              shouldDeleteNetworkInterfaces: false
              shouldDeleteSnapshots: false
              shouldDeleteVolumes: false
              shouldTerminateInstance: false
        description: string
        drainingTimeout: 0
        ebsOptimized: false
        elasticIp: string
        enableMonitoring: false
        fallbackToOndemand: false
        gracePeriod: 0
        healthCheckType: string
        iamInstanceProfile: string
        imageId: string
        instanceTypes:
            - string
        integrationRoute53:
            domains:
                - hostedZoneId: string
                  recordSetType: string
                  recordSets:
                    - name: string
                      usePublicDns: false
                      usePublicIp: false
                  spotinstAcctId: string
        keyPair: string
        lifeCycle: string
        loadBalancers:
            - arn: string
              name: string
              type: string
        managedInstanceAction:
            type: string
        minimumInstanceLifetime: 0
        name: string
        networkInterfaces:
            - associateIpv6Address: false
              associatePublicIpAddress: false
              deviceIndex: string
        optimizationWindows:
            - string
        orientation: string
        persistBlockDevices: false
        persistPrivateIp: false
        persistRootDevice: false
        placementTenancy: string
        preferredType: string
        privateIp: string
        product: string
        region: string
        resourceTagSpecifications:
            - shouldTagAmis: false
              shouldTagEnis: false
              shouldTagSnapshots: false
              shouldTagVolumes: false
        revertToSpot:
            performAt: string
        scheduledTasks:
            - cronExpression: string
              frequency: string
              isEnabled: false
              startTime: string
              taskType: string
        securityGroupIds:
            - string
        shutdownScript: string
        subnetIds:
            - string
        tags:
            - key: string
              value: string
        unhealthyDuration: 0
        userData: string
        utilizeReservedInstances: false
        vpcId: string
    

    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
    InstanceTypes List<string>
    PersistBlockDevices bool
    Product string
    SubnetIds List<string>
    VpcId string
    AutoHealing bool
    BlockDeviceMappings List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceBlockDeviceMapping>
    BlockDevicesMode string
    CpuCredits string
    Deletes List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceDelete>
    Description string
    DrainingTimeout int
    EbsOptimized bool
    ElasticIp string
    EnableMonitoring bool
    FallbackToOndemand bool
    GracePeriod int
    HealthCheckType string
    IamInstanceProfile string
    IntegrationRoute53 Pulumi.SpotInst.Aws.Inputs.ManagedInstanceIntegrationRoute53
    KeyPair string
    LifeCycle string
    LoadBalancers List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceLoadBalancer>
    ManagedInstanceAction Pulumi.SpotInst.Aws.Inputs.ManagedInstanceManagedInstanceAction
    MinimumInstanceLifetime int
    Name string
    NetworkInterfaces List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceNetworkInterface>
    OptimizationWindows List<string>
    Orientation string
    PersistPrivateIp bool
    PersistRootDevice bool
    PlacementTenancy string
    PreferredType string
    PrivateIp string
    Region string
    ResourceTagSpecifications List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceResourceTagSpecification>
    RevertToSpot Pulumi.SpotInst.Aws.Inputs.ManagedInstanceRevertToSpot
    ScheduledTasks List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceScheduledTask>
    SecurityGroupIds List<string>
    ShutdownScript string
    Tags List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceTag>
    UnhealthyDuration int
    UserData string
    UtilizeReservedInstances bool
    ImageId string
    InstanceTypes []string
    PersistBlockDevices bool
    Product string
    SubnetIds []string
    VpcId string
    AutoHealing bool
    BlockDeviceMappings []ManagedInstanceBlockDeviceMappingArgs
    BlockDevicesMode string
    CpuCredits string
    Deletes []ManagedInstanceDeleteArgs
    Description string
    DrainingTimeout int
    EbsOptimized bool
    ElasticIp string
    EnableMonitoring bool
    FallbackToOndemand bool
    GracePeriod int
    HealthCheckType string
    IamInstanceProfile string
    IntegrationRoute53 ManagedInstanceIntegrationRoute53Args
    KeyPair string
    LifeCycle string
    LoadBalancers []ManagedInstanceLoadBalancerArgs
    ManagedInstanceAction ManagedInstanceManagedInstanceActionArgs
    MinimumInstanceLifetime int
    Name string
    NetworkInterfaces []ManagedInstanceNetworkInterfaceArgs
    OptimizationWindows []string
    Orientation string
    PersistPrivateIp bool
    PersistRootDevice bool
    PlacementTenancy string
    PreferredType string
    PrivateIp string
    Region string
    ResourceTagSpecifications []ManagedInstanceResourceTagSpecificationArgs
    RevertToSpot ManagedInstanceRevertToSpotArgs
    ScheduledTasks []ManagedInstanceScheduledTaskArgs
    SecurityGroupIds []string
    ShutdownScript string
    Tags []ManagedInstanceTagArgs
    UnhealthyDuration int
    UserData string
    UtilizeReservedInstances bool
    imageId String
    instanceTypes List<String>
    persistBlockDevices Boolean
    product String
    subnetIds List<String>
    vpcId String
    autoHealing Boolean
    blockDeviceMappings List<ManagedInstanceBlockDeviceMapping>
    blockDevicesMode String
    cpuCredits String
    deletes List<ManagedInstanceDelete>
    description String
    drainingTimeout Integer
    ebsOptimized Boolean
    elasticIp String
    enableMonitoring Boolean
    fallbackToOndemand Boolean
    gracePeriod Integer
    healthCheckType String
    iamInstanceProfile String
    integrationRoute53 ManagedInstanceIntegrationRoute53
    keyPair String
    lifeCycle String
    loadBalancers List<ManagedInstanceLoadBalancer>
    managedInstanceAction ManagedInstanceManagedInstanceAction
    minimumInstanceLifetime Integer
    name String
    networkInterfaces List<ManagedInstanceNetworkInterface>
    optimizationWindows List<String>
    orientation String
    persistPrivateIp Boolean
    persistRootDevice Boolean
    placementTenancy String
    preferredType String
    privateIp String
    region String
    resourceTagSpecifications List<ManagedInstanceResourceTagSpecification>
    revertToSpot ManagedInstanceRevertToSpot
    scheduledTasks List<ManagedInstanceScheduledTask>
    securityGroupIds List<String>
    shutdownScript String
    tags List<ManagedInstanceTag>
    unhealthyDuration Integer
    userData String
    utilizeReservedInstances Boolean
    imageId string
    instanceTypes string[]
    persistBlockDevices boolean
    product string
    subnetIds string[]
    vpcId string
    autoHealing boolean
    blockDeviceMappings ManagedInstanceBlockDeviceMapping[]
    blockDevicesMode string
    cpuCredits string
    deletes ManagedInstanceDelete[]
    description string
    drainingTimeout number
    ebsOptimized boolean
    elasticIp string
    enableMonitoring boolean
    fallbackToOndemand boolean
    gracePeriod number
    healthCheckType string
    iamInstanceProfile string
    integrationRoute53 ManagedInstanceIntegrationRoute53
    keyPair string
    lifeCycle string
    loadBalancers ManagedInstanceLoadBalancer[]
    managedInstanceAction ManagedInstanceManagedInstanceAction
    minimumInstanceLifetime number
    name string
    networkInterfaces ManagedInstanceNetworkInterface[]
    optimizationWindows string[]
    orientation string
    persistPrivateIp boolean
    persistRootDevice boolean
    placementTenancy string
    preferredType string
    privateIp string
    region string
    resourceTagSpecifications ManagedInstanceResourceTagSpecification[]
    revertToSpot ManagedInstanceRevertToSpot
    scheduledTasks ManagedInstanceScheduledTask[]
    securityGroupIds string[]
    shutdownScript string
    tags ManagedInstanceTag[]
    unhealthyDuration number
    userData string
    utilizeReservedInstances boolean
    image_id str
    instance_types Sequence[str]
    persist_block_devices bool
    product str
    subnet_ids Sequence[str]
    vpc_id str
    auto_healing bool
    block_device_mappings Sequence[ManagedInstanceBlockDeviceMappingArgs]
    block_devices_mode str
    cpu_credits str
    deletes Sequence[ManagedInstanceDeleteArgs]
    description str
    draining_timeout int
    ebs_optimized bool
    elastic_ip str
    enable_monitoring bool
    fallback_to_ondemand bool
    grace_period int
    health_check_type str
    iam_instance_profile str
    integration_route53 ManagedInstanceIntegrationRoute53Args
    key_pair str
    life_cycle str
    load_balancers Sequence[ManagedInstanceLoadBalancerArgs]
    managed_instance_action ManagedInstanceManagedInstanceActionArgs
    minimum_instance_lifetime int
    name str
    network_interfaces Sequence[ManagedInstanceNetworkInterfaceArgs]
    optimization_windows Sequence[str]
    orientation str
    persist_private_ip bool
    persist_root_device bool
    placement_tenancy str
    preferred_type str
    private_ip str
    region str
    resource_tag_specifications Sequence[ManagedInstanceResourceTagSpecificationArgs]
    revert_to_spot ManagedInstanceRevertToSpotArgs
    scheduled_tasks Sequence[ManagedInstanceScheduledTaskArgs]
    security_group_ids Sequence[str]
    shutdown_script str
    tags Sequence[ManagedInstanceTagArgs]
    unhealthy_duration int
    user_data str
    utilize_reserved_instances bool
    imageId String
    instanceTypes List<String>
    persistBlockDevices Boolean
    product String
    subnetIds List<String>
    vpcId String
    autoHealing Boolean
    blockDeviceMappings List<Property Map>
    blockDevicesMode String
    cpuCredits String
    deletes List<Property Map>
    description String
    drainingTimeout Number
    ebsOptimized Boolean
    elasticIp String
    enableMonitoring Boolean
    fallbackToOndemand Boolean
    gracePeriod Number
    healthCheckType String
    iamInstanceProfile String
    integrationRoute53 Property Map
    keyPair String
    lifeCycle String
    loadBalancers List<Property Map>
    managedInstanceAction Property Map
    minimumInstanceLifetime Number
    name String
    networkInterfaces List<Property Map>
    optimizationWindows List<String>
    orientation String
    persistPrivateIp Boolean
    persistRootDevice Boolean
    placementTenancy String
    preferredType String
    privateIp String
    region String
    resourceTagSpecifications List<Property Map>
    revertToSpot Property Map
    scheduledTasks List<Property Map>
    securityGroupIds List<String>
    shutdownScript String
    tags List<Property Map>
    unhealthyDuration Number
    userData String
    utilizeReservedInstances Boolean

    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,
            deletes: Optional[Sequence[ManagedInstanceDeleteArgs]] = 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,
            fallback_to_ondemand: 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
    BlockDeviceMappings List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceBlockDeviceMapping>
    BlockDevicesMode string
    CpuCredits string
    Deletes List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceDelete>
    Description string
    DrainingTimeout int
    EbsOptimized bool
    ElasticIp string
    EnableMonitoring bool
    FallbackToOndemand bool
    GracePeriod int
    HealthCheckType string
    IamInstanceProfile string
    ImageId string
    InstanceTypes List<string>
    IntegrationRoute53 Pulumi.SpotInst.Aws.Inputs.ManagedInstanceIntegrationRoute53
    KeyPair string
    LifeCycle string
    LoadBalancers List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceLoadBalancer>
    ManagedInstanceAction Pulumi.SpotInst.Aws.Inputs.ManagedInstanceManagedInstanceAction
    MinimumInstanceLifetime int
    Name string
    NetworkInterfaces List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceNetworkInterface>
    OptimizationWindows List<string>
    Orientation string
    PersistBlockDevices bool
    PersistPrivateIp bool
    PersistRootDevice bool
    PlacementTenancy string
    PreferredType string
    PrivateIp string
    Product string
    Region string
    ResourceTagSpecifications List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceResourceTagSpecification>
    RevertToSpot Pulumi.SpotInst.Aws.Inputs.ManagedInstanceRevertToSpot
    ScheduledTasks List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceScheduledTask>
    SecurityGroupIds List<string>
    ShutdownScript string
    SubnetIds List<string>
    Tags List<Pulumi.SpotInst.Aws.Inputs.ManagedInstanceTag>
    UnhealthyDuration int
    UserData string
    UtilizeReservedInstances bool
    VpcId string
    AutoHealing bool
    BlockDeviceMappings []ManagedInstanceBlockDeviceMappingArgs
    BlockDevicesMode string
    CpuCredits string
    Deletes []ManagedInstanceDeleteArgs
    Description string
    DrainingTimeout int
    EbsOptimized bool
    ElasticIp string
    EnableMonitoring bool
    FallbackToOndemand bool
    GracePeriod int
    HealthCheckType string
    IamInstanceProfile string
    ImageId string
    InstanceTypes []string
    IntegrationRoute53 ManagedInstanceIntegrationRoute53Args
    KeyPair string
    LifeCycle string
    LoadBalancers []ManagedInstanceLoadBalancerArgs
    ManagedInstanceAction ManagedInstanceManagedInstanceActionArgs
    MinimumInstanceLifetime int
    Name string
    NetworkInterfaces []ManagedInstanceNetworkInterfaceArgs
    OptimizationWindows []string
    Orientation string
    PersistBlockDevices bool
    PersistPrivateIp bool
    PersistRootDevice bool
    PlacementTenancy string
    PreferredType string
    PrivateIp string
    Product string
    Region string
    ResourceTagSpecifications []ManagedInstanceResourceTagSpecificationArgs
    RevertToSpot ManagedInstanceRevertToSpotArgs
    ScheduledTasks []ManagedInstanceScheduledTaskArgs
    SecurityGroupIds []string
    ShutdownScript string
    SubnetIds []string
    Tags []ManagedInstanceTagArgs
    UnhealthyDuration int
    UserData string
    UtilizeReservedInstances bool
    VpcId string
    autoHealing Boolean
    blockDeviceMappings List<ManagedInstanceBlockDeviceMapping>
    blockDevicesMode String
    cpuCredits String
    deletes List<ManagedInstanceDelete>
    description String
    drainingTimeout Integer
    ebsOptimized Boolean
    elasticIp String
    enableMonitoring Boolean
    fallbackToOndemand Boolean
    gracePeriod Integer
    healthCheckType String
    iamInstanceProfile String
    imageId String
    instanceTypes List<String>
    integrationRoute53 ManagedInstanceIntegrationRoute53
    keyPair String
    lifeCycle String
    loadBalancers List<ManagedInstanceLoadBalancer>
    managedInstanceAction ManagedInstanceManagedInstanceAction
    minimumInstanceLifetime Integer
    name String
    networkInterfaces List<ManagedInstanceNetworkInterface>
    optimizationWindows List<String>
    orientation String
    persistBlockDevices Boolean
    persistPrivateIp Boolean
    persistRootDevice Boolean
    placementTenancy String
    preferredType String
    privateIp String
    product String
    region String
    resourceTagSpecifications List<ManagedInstanceResourceTagSpecification>
    revertToSpot ManagedInstanceRevertToSpot
    scheduledTasks List<ManagedInstanceScheduledTask>
    securityGroupIds List<String>
    shutdownScript String
    subnetIds List<String>
    tags List<ManagedInstanceTag>
    unhealthyDuration Integer
    userData String
    utilizeReservedInstances Boolean
    vpcId String
    autoHealing boolean
    blockDeviceMappings ManagedInstanceBlockDeviceMapping[]
    blockDevicesMode string
    cpuCredits string
    deletes ManagedInstanceDelete[]
    description string
    drainingTimeout number
    ebsOptimized boolean
    elasticIp string
    enableMonitoring boolean
    fallbackToOndemand boolean
    gracePeriod number
    healthCheckType string
    iamInstanceProfile string
    imageId string
    instanceTypes string[]
    integrationRoute53 ManagedInstanceIntegrationRoute53
    keyPair string
    lifeCycle string
    loadBalancers ManagedInstanceLoadBalancer[]
    managedInstanceAction ManagedInstanceManagedInstanceAction
    minimumInstanceLifetime number
    name string
    networkInterfaces ManagedInstanceNetworkInterface[]
    optimizationWindows string[]
    orientation string
    persistBlockDevices boolean
    persistPrivateIp boolean
    persistRootDevice boolean
    placementTenancy string
    preferredType string
    privateIp string
    product string
    region string
    resourceTagSpecifications ManagedInstanceResourceTagSpecification[]
    revertToSpot ManagedInstanceRevertToSpot
    scheduledTasks ManagedInstanceScheduledTask[]
    securityGroupIds string[]
    shutdownScript string
    subnetIds string[]
    tags ManagedInstanceTag[]
    unhealthyDuration number
    userData string
    utilizeReservedInstances boolean
    vpcId string
    auto_healing bool
    block_device_mappings Sequence[ManagedInstanceBlockDeviceMappingArgs]
    block_devices_mode str
    cpu_credits str
    deletes Sequence[ManagedInstanceDeleteArgs]
    description str
    draining_timeout int
    ebs_optimized bool
    elastic_ip str
    enable_monitoring bool
    fallback_to_ondemand bool
    grace_period int
    health_check_type str
    iam_instance_profile str
    image_id str
    instance_types Sequence[str]
    integration_route53 ManagedInstanceIntegrationRoute53Args
    key_pair str
    life_cycle str
    load_balancers Sequence[ManagedInstanceLoadBalancerArgs]
    managed_instance_action ManagedInstanceManagedInstanceActionArgs
    minimum_instance_lifetime int
    name str
    network_interfaces Sequence[ManagedInstanceNetworkInterfaceArgs]
    optimization_windows Sequence[str]
    orientation str
    persist_block_devices bool
    persist_private_ip bool
    persist_root_device bool
    placement_tenancy str
    preferred_type str
    private_ip str
    product str
    region str
    resource_tag_specifications Sequence[ManagedInstanceResourceTagSpecificationArgs]
    revert_to_spot ManagedInstanceRevertToSpotArgs
    scheduled_tasks Sequence[ManagedInstanceScheduledTaskArgs]
    security_group_ids Sequence[str]
    shutdown_script str
    subnet_ids Sequence[str]
    tags Sequence[ManagedInstanceTagArgs]
    unhealthy_duration int
    user_data str
    utilize_reserved_instances bool
    vpc_id str
    autoHealing Boolean
    blockDeviceMappings List<Property Map>
    blockDevicesMode String
    cpuCredits String
    deletes List<Property Map>
    description String
    drainingTimeout Number
    ebsOptimized Boolean
    elasticIp String
    enableMonitoring Boolean
    fallbackToOndemand Boolean
    gracePeriod Number
    healthCheckType String
    iamInstanceProfile String
    imageId String
    instanceTypes List<String>
    integrationRoute53 Property Map
    keyPair String
    lifeCycle String
    loadBalancers List<Property Map>
    managedInstanceAction Property Map
    minimumInstanceLifetime Number
    name String
    networkInterfaces List<Property Map>
    optimizationWindows List<String>
    orientation String
    persistBlockDevices Boolean
    persistPrivateIp Boolean
    persistRootDevice Boolean
    placementTenancy String
    preferredType String
    privateIp String
    product String
    region String
    resourceTagSpecifications List<Property Map>
    revertToSpot Property Map
    scheduledTasks List<Property Map>
    securityGroupIds List<String>
    shutdownScript String
    subnetIds List<String>
    tags List<Property Map>
    unhealthyDuration Number
    userData String
    utilizeReservedInstances Boolean
    vpcId String

    Supporting Types

    ManagedInstanceBlockDeviceMapping, ManagedInstanceBlockDeviceMappingArgs

    ManagedInstanceBlockDeviceMappingEbs, ManagedInstanceBlockDeviceMappingEbsArgs

    deleteOnTermination Boolean
    encrypted Boolean
    iops Integer
    kmsKeyId String
    snapshotId String
    throughput Integer
    volumeSize Integer
    volumeType String
    deleteOnTermination boolean
    encrypted boolean
    iops number
    kmsKeyId string
    snapshotId string
    throughput number
    volumeSize number
    volumeType string
    deleteOnTermination Boolean
    encrypted Boolean
    iops Number
    kmsKeyId String
    snapshotId String
    throughput Number
    volumeSize Number
    volumeType String

    ManagedInstanceDelete, ManagedInstanceDeleteArgs

    ManagedInstanceIntegrationRoute53, ManagedInstanceIntegrationRoute53Args

    ManagedInstanceIntegrationRoute53Domain, ManagedInstanceIntegrationRoute53DomainArgs

    ManagedInstanceIntegrationRoute53DomainRecordSet, ManagedInstanceIntegrationRoute53DomainRecordSetArgs

    name String
    usePublicDns Boolean
    usePublicIp Boolean
    name string
    usePublicDns boolean
    usePublicIp boolean
    name String
    usePublicDns Boolean
    usePublicIp Boolean

    ManagedInstanceLoadBalancer, ManagedInstanceLoadBalancerArgs

    Type string
    Arn string
    Name string
    Type string
    Arn string
    Name string
    type String
    arn String
    name String
    type string
    arn string
    name string
    type str
    arn str
    name str
    type String
    arn String
    name String

    ManagedInstanceManagedInstanceAction, ManagedInstanceManagedInstanceActionArgs

    Type string
    Type string
    type String
    type string
    type str
    type String

    ManagedInstanceNetworkInterface, ManagedInstanceNetworkInterfaceArgs

    ManagedInstanceResourceTagSpecification, ManagedInstanceResourceTagSpecificationArgs

    ManagedInstanceRevertToSpot, ManagedInstanceRevertToSpotArgs

    PerformAt string
    PerformAt string
    performAt String
    performAt string
    performAt String

    ManagedInstanceScheduledTask, ManagedInstanceScheduledTaskArgs

    TaskType string
    CronExpression string
    Frequency string
    IsEnabled bool
    StartTime string
    TaskType string
    CronExpression string
    Frequency string
    IsEnabled bool
    StartTime string
    taskType String
    cronExpression String
    frequency String
    isEnabled Boolean
    startTime String
    taskType string
    cronExpression string
    frequency string
    isEnabled boolean
    startTime string
    taskType String
    cronExpression String
    frequency String
    isEnabled Boolean
    startTime String

    ManagedInstanceTag, ManagedInstanceTagArgs

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

    Package Details

    Repository
    Spotinst pulumi/pulumi-spotinst
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the spotinst Terraform Provider.
    spotinst logo
    Spotinst v3.77.1 published on Saturday, May 18, 2024 by Pulumi