1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. lambdamicrovms
  6. Microvm
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi

    Manages an AWS Lambda MicroVMs MicroVM. Use this resource to run a MicroVM from a MicroVM image, which provisions a dedicated HTTPS endpoint and starts your application from the image snapshot.

    MicroVMs are immutable. Because the service has no update operation, changing any argument terminates the MicroVM and runs a new one.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.lambdamicrovms.Microvm("example", {imageArn: exampleAwsLambdamicrovmsImage.arn});
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.lambdamicrovms.Microvm("example", image_arn=example_aws_lambdamicrovms_image["arn"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lambdamicrovms"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := lambdamicrovms.NewMicrovm(ctx, "example", &lambdamicrovms.MicrovmArgs{
    			ImageArn: pulumi.Any(exampleAwsLambdamicrovmsImage.Arn),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.LambdaMicroVMs.Microvm("example", new()
        {
            ImageArn = exampleAwsLambdamicrovmsImage.Arn,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lambdamicrovms.Microvm;
    import com.pulumi.aws.lambdamicrovms.MicrovmArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 example = new Microvm("example", MicrovmArgs.builder()
                .imageArn(exampleAwsLambdamicrovmsImage.arn())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:lambdamicrovms:Microvm
        properties:
          imageArn: ${exampleAwsLambdamicrovmsImage.arn}
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_lambdamicrovms_microvm" "example" {
      image_arn = exampleAwsLambdamicrovmsImage.arn
    }
    

    With Idle Policy and Logging

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.lambdamicrovms.Microvm("example", {
        idlePolicy: {
            autoResumeEnabled: true,
            maxIdleDurationSeconds: 900,
            suspendedDurationSeconds: 1800,
        },
        logging: {
            cloudwatch: {
                logGroup: exampleAwsCloudwatchLogGroup.name,
            },
        },
        imageArn: exampleAwsLambdamicrovmsImage.arn,
        executionRoleArn: exampleAwsIamRole.arn,
        maximumDurationInSeconds: 14400,
        egressNetworkConnectors: ["arn:aws:lambda:us-east-1:aws:network-connector:aws-network-connector:INTERNET_EGRESS"],
        ingressNetworkConnectors: ["arn:aws:lambda:us-east-1:aws:network-connector:aws-network-connector:ALL_INGRESS"],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.lambdamicrovms.Microvm("example",
        idle_policy={
            "auto_resume_enabled": True,
            "max_idle_duration_seconds": 900,
            "suspended_duration_seconds": 1800,
        },
        logging={
            "cloudwatch": {
                "log_group": example_aws_cloudwatch_log_group["name"],
            },
        },
        image_arn=example_aws_lambdamicrovms_image["arn"],
        execution_role_arn=example_aws_iam_role["arn"],
        maximum_duration_in_seconds=14400,
        egress_network_connectors=["arn:aws:lambda:us-east-1:aws:network-connector:aws-network-connector:INTERNET_EGRESS"],
        ingress_network_connectors=["arn:aws:lambda:us-east-1:aws:network-connector:aws-network-connector:ALL_INGRESS"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lambdamicrovms"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := lambdamicrovms.NewMicrovm(ctx, "example", &lambdamicrovms.MicrovmArgs{
    			IdlePolicy: &lambdamicrovms.MicrovmIdlePolicyArgs{
    				AutoResumeEnabled:        pulumi.Bool(true),
    				MaxIdleDurationSeconds:   pulumi.Int(900),
    				SuspendedDurationSeconds: pulumi.Int(1800),
    			},
    			Logging: &lambdamicrovms.MicrovmLoggingArgs{
    				Cloudwatch: &lambdamicrovms.MicrovmLoggingCloudwatchArgs{
    					LogGroup: pulumi.Any(exampleAwsCloudwatchLogGroup.Name),
    				},
    			},
    			ImageArn:                 pulumi.Any(exampleAwsLambdamicrovmsImage.Arn),
    			ExecutionRoleArn:         pulumi.Any(exampleAwsIamRole.Arn),
    			MaximumDurationInSeconds: pulumi.Int(14400),
    			EgressNetworkConnectors: pulumi.StringArray{
    				pulumi.String("arn:aws:lambda:us-east-1:aws:network-connector:aws-network-connector:INTERNET_EGRESS"),
    			},
    			IngressNetworkConnectors: pulumi.StringArray{
    				pulumi.String("arn:aws:lambda:us-east-1:aws:network-connector:aws-network-connector:ALL_INGRESS"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.LambdaMicroVMs.Microvm("example", new()
        {
            IdlePolicy = new Aws.LambdaMicroVMs.Inputs.MicrovmIdlePolicyArgs
            {
                AutoResumeEnabled = true,
                MaxIdleDurationSeconds = 900,
                SuspendedDurationSeconds = 1800,
            },
            Logging = new Aws.LambdaMicroVMs.Inputs.MicrovmLoggingArgs
            {
                Cloudwatch = new Aws.LambdaMicroVMs.Inputs.MicrovmLoggingCloudwatchArgs
                {
                    LogGroup = exampleAwsCloudwatchLogGroup.Name,
                },
            },
            ImageArn = exampleAwsLambdamicrovmsImage.Arn,
            ExecutionRoleArn = exampleAwsIamRole.Arn,
            MaximumDurationInSeconds = 14400,
            EgressNetworkConnectors = new[]
            {
                "arn:aws:lambda:us-east-1:aws:network-connector:aws-network-connector:INTERNET_EGRESS",
            },
            IngressNetworkConnectors = new[]
            {
                "arn:aws:lambda:us-east-1:aws:network-connector:aws-network-connector:ALL_INGRESS",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lambdamicrovms.Microvm;
    import com.pulumi.aws.lambdamicrovms.MicrovmArgs;
    import com.pulumi.aws.lambdamicrovms.inputs.MicrovmIdlePolicyArgs;
    import com.pulumi.aws.lambdamicrovms.inputs.MicrovmLoggingArgs;
    import com.pulumi.aws.lambdamicrovms.inputs.MicrovmLoggingCloudwatchArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 example = new Microvm("example", MicrovmArgs.builder()
                .idlePolicy(MicrovmIdlePolicyArgs.builder()
                    .autoResumeEnabled(true)
                    .maxIdleDurationSeconds(900)
                    .suspendedDurationSeconds(1800)
                    .build())
                .logging(MicrovmLoggingArgs.builder()
                    .cloudwatch(MicrovmLoggingCloudwatchArgs.builder()
                        .logGroup(exampleAwsCloudwatchLogGroup.name())
                        .build())
                    .build())
                .imageArn(exampleAwsLambdamicrovmsImage.arn())
                .executionRoleArn(exampleAwsIamRole.arn())
                .maximumDurationInSeconds(14400)
                .egressNetworkConnectors("arn:aws:lambda:us-east-1:aws:network-connector:aws-network-connector:INTERNET_EGRESS")
                .ingressNetworkConnectors("arn:aws:lambda:us-east-1:aws:network-connector:aws-network-connector:ALL_INGRESS")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:lambdamicrovms:Microvm
        properties:
          idlePolicy:
            autoResumeEnabled: true
            maxIdleDurationSeconds: 900
            suspendedDurationSeconds: 1800
          logging:
            cloudwatch:
              logGroup: ${exampleAwsCloudwatchLogGroup.name}
          imageArn: ${exampleAwsLambdamicrovmsImage.arn}
          executionRoleArn: ${exampleAwsIamRole.arn}
          maximumDurationInSeconds: 14400
          egressNetworkConnectors:
            - arn:aws:lambda:us-east-1:aws:network-connector:aws-network-connector:INTERNET_EGRESS
          ingressNetworkConnectors:
            - arn:aws:lambda:us-east-1:aws:network-connector:aws-network-connector:ALL_INGRESS
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_lambdamicrovms_microvm" "example" {
      idle_policy = {
        auto_resume_enabled        = true
        max_idle_duration_seconds  = 900
        suspended_duration_seconds = 1800
      }
      logging = {
        cloudwatch = {
          log_group = exampleAwsCloudwatchLogGroup.name
        }
      }
      image_arn                   = exampleAwsLambdamicrovmsImage.arn
      execution_role_arn          = exampleAwsIamRole.arn
      maximum_duration_in_seconds = 14400
      egress_network_connectors   = ["arn:aws:lambda:us-east-1:aws:network-connector:aws-network-connector:INTERNET_EGRESS"]
      ingress_network_connectors  = ["arn:aws:lambda:us-east-1:aws:network-connector:aws-network-connector:ALL_INGRESS"]
    }
    

    Create Microvm Resource

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

    Constructor syntax

    new Microvm(name: string, args: MicrovmArgs, opts?: CustomResourceOptions);
    @overload
    def Microvm(resource_name: str,
                args: MicrovmArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Microvm(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                image_arn: Optional[str] = None,
                egress_network_connectors: Optional[Sequence[str]] = None,
                execution_role_arn: Optional[str] = None,
                idle_policy: Optional[MicrovmIdlePolicyArgs] = None,
                image_version: Optional[str] = None,
                ingress_network_connectors: Optional[Sequence[str]] = None,
                logging: Optional[MicrovmLoggingArgs] = None,
                maximum_duration_in_seconds: Optional[int] = None,
                region: Optional[str] = None,
                run_hook_payload: Optional[str] = None,
                timeouts: Optional[MicrovmTimeoutsArgs] = None)
    func NewMicrovm(ctx *Context, name string, args MicrovmArgs, opts ...ResourceOption) (*Microvm, error)
    public Microvm(string name, MicrovmArgs args, CustomResourceOptions? opts = null)
    public Microvm(String name, MicrovmArgs args)
    public Microvm(String name, MicrovmArgs args, CustomResourceOptions options)
    
    type: aws:lambdamicrovms:Microvm
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_lambdamicrovms_microvm" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args MicrovmArgs
    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 MicrovmArgs
    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 MicrovmArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MicrovmArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MicrovmArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var microvmResource = new Aws.LambdaMicroVMs.Microvm("microvmResource", new()
    {
        ImageArn = "string",
        EgressNetworkConnectors = new[]
        {
            "string",
        },
        ExecutionRoleArn = "string",
        IdlePolicy = new Aws.LambdaMicroVMs.Inputs.MicrovmIdlePolicyArgs
        {
            AutoResumeEnabled = false,
            MaxIdleDurationSeconds = 0,
            SuspendedDurationSeconds = 0,
        },
        ImageVersion = "string",
        IngressNetworkConnectors = new[]
        {
            "string",
        },
        Logging = new Aws.LambdaMicroVMs.Inputs.MicrovmLoggingArgs
        {
            Cloudwatch = new Aws.LambdaMicroVMs.Inputs.MicrovmLoggingCloudwatchArgs
            {
                LogGroup = "string",
                LogStream = "string",
            },
            Disabled = null,
        },
        MaximumDurationInSeconds = 0,
        Region = "string",
        RunHookPayload = "string",
        Timeouts = new Aws.LambdaMicroVMs.Inputs.MicrovmTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := lambdamicrovms.NewMicrovm(ctx, "microvmResource", &lambdamicrovms.MicrovmArgs{
    	ImageArn: pulumi.String("string"),
    	EgressNetworkConnectors: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ExecutionRoleArn: pulumi.String("string"),
    	IdlePolicy: &lambdamicrovms.MicrovmIdlePolicyArgs{
    		AutoResumeEnabled:        pulumi.Bool(false),
    		MaxIdleDurationSeconds:   pulumi.Int(0),
    		SuspendedDurationSeconds: pulumi.Int(0),
    	},
    	ImageVersion: pulumi.String("string"),
    	IngressNetworkConnectors: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Logging: &lambdamicrovms.MicrovmLoggingArgs{
    		Cloudwatch: &lambdamicrovms.MicrovmLoggingCloudwatchArgs{
    			LogGroup:  pulumi.String("string"),
    			LogStream: pulumi.String("string"),
    		},
    		Disabled: &lambdamicrovms.MicrovmLoggingDisabledArgs{},
    	},
    	MaximumDurationInSeconds: pulumi.Int(0),
    	Region:                   pulumi.String("string"),
    	RunHookPayload:           pulumi.String("string"),
    	Timeouts: &lambdamicrovms.MicrovmTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    resource "aws_lambdamicrovms_microvm" "microvmResource" {
      lifecycle {
        create_before_destroy = true
      }
      image_arn                 = "string"
      egress_network_connectors = ["string"]
      execution_role_arn        = "string"
      idle_policy = {
        auto_resume_enabled        = false
        max_idle_duration_seconds  = 0
        suspended_duration_seconds = 0
      }
      image_version              = "string"
      ingress_network_connectors = ["string"]
      logging = {
        cloudwatch = {
          log_group  = "string"
          log_stream = "string"
        }
        disabled = {}
      }
      maximum_duration_in_seconds = 0
      region                      = "string"
      run_hook_payload            = "string"
      timeouts = {
        create = "string"
        delete = "string"
      }
    }
    
    var microvmResource = new Microvm("microvmResource", MicrovmArgs.builder()
        .imageArn("string")
        .egressNetworkConnectors("string")
        .executionRoleArn("string")
        .idlePolicy(MicrovmIdlePolicyArgs.builder()
            .autoResumeEnabled(false)
            .maxIdleDurationSeconds(0)
            .suspendedDurationSeconds(0)
            .build())
        .imageVersion("string")
        .ingressNetworkConnectors("string")
        .logging(MicrovmLoggingArgs.builder()
            .cloudwatch(MicrovmLoggingCloudwatchArgs.builder()
                .logGroup("string")
                .logStream("string")
                .build())
            .disabled(MicrovmLoggingDisabledArgs.builder()
                .build())
            .build())
        .maximumDurationInSeconds(0)
        .region("string")
        .runHookPayload("string")
        .timeouts(MicrovmTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    microvm_resource = aws.lambdamicrovms.Microvm("microvmResource",
        image_arn="string",
        egress_network_connectors=["string"],
        execution_role_arn="string",
        idle_policy={
            "auto_resume_enabled": False,
            "max_idle_duration_seconds": 0,
            "suspended_duration_seconds": 0,
        },
        image_version="string",
        ingress_network_connectors=["string"],
        logging={
            "cloudwatch": {
                "log_group": "string",
                "log_stream": "string",
            },
            "disabled": {},
        },
        maximum_duration_in_seconds=0,
        region="string",
        run_hook_payload="string",
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const microvmResource = new aws.lambdamicrovms.Microvm("microvmResource", {
        imageArn: "string",
        egressNetworkConnectors: ["string"],
        executionRoleArn: "string",
        idlePolicy: {
            autoResumeEnabled: false,
            maxIdleDurationSeconds: 0,
            suspendedDurationSeconds: 0,
        },
        imageVersion: "string",
        ingressNetworkConnectors: ["string"],
        logging: {
            cloudwatch: {
                logGroup: "string",
                logStream: "string",
            },
            disabled: {},
        },
        maximumDurationInSeconds: 0,
        region: "string",
        runHookPayload: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: aws:lambdamicrovms:Microvm
    properties:
        egressNetworkConnectors:
            - string
        executionRoleArn: string
        idlePolicy:
            autoResumeEnabled: false
            maxIdleDurationSeconds: 0
            suspendedDurationSeconds: 0
        imageArn: string
        imageVersion: string
        ingressNetworkConnectors:
            - string
        logging:
            cloudwatch:
                logGroup: string
                logStream: string
            disabled: {}
        maximumDurationInSeconds: 0
        region: string
        runHookPayload: string
        timeouts:
            create: string
            delete: string
    

    Microvm Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Microvm resource accepts the following input properties:

    ImageArn string

    ARN of the MicroVM image to run. Changing this value creates a new resource.

    The following arguments are optional:

    EgressNetworkConnectors List<string>
    List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
    ExecutionRoleArn string
    ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
    IdlePolicy MicrovmIdlePolicy
    Configuration controlling automatic suspend and resume behavior. See below. Changing this value creates a new resource.
    ImageVersion string
    Version of the MicroVM image to run. Defaults to the latest active version. Changing this value creates a new resource.
    IngressNetworkConnectors List<string>
    List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
    Logging MicrovmLogging
    Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
    MaximumDurationInSeconds int
    Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range: 128800 (8 hours). Changing this value creates a new resource.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RunHookPayload string
    String payload (maximum 16 KB) delivered to the /run lifecycle hook when the MicroVM starts. Changing this value creates a new resource.
    Timeouts MicrovmTimeouts
    ImageArn string

    ARN of the MicroVM image to run. Changing this value creates a new resource.

    The following arguments are optional:

    EgressNetworkConnectors []string
    List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
    ExecutionRoleArn string
    ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
    IdlePolicy MicrovmIdlePolicyArgs
    Configuration controlling automatic suspend and resume behavior. See below. Changing this value creates a new resource.
    ImageVersion string
    Version of the MicroVM image to run. Defaults to the latest active version. Changing this value creates a new resource.
    IngressNetworkConnectors []string
    List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
    Logging MicrovmLoggingArgs
    Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
    MaximumDurationInSeconds int
    Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range: 128800 (8 hours). Changing this value creates a new resource.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RunHookPayload string
    String payload (maximum 16 KB) delivered to the /run lifecycle hook when the MicroVM starts. Changing this value creates a new resource.
    Timeouts MicrovmTimeoutsArgs
    image_arn string

    ARN of the MicroVM image to run. Changing this value creates a new resource.

    The following arguments are optional:

    egress_network_connectors list(string)
    List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
    execution_role_arn string
    ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
    idle_policy object
    Configuration controlling automatic suspend and resume behavior. See below. Changing this value creates a new resource.
    image_version string
    Version of the MicroVM image to run. Defaults to the latest active version. Changing this value creates a new resource.
    ingress_network_connectors list(string)
    List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
    logging object
    Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
    maximum_duration_in_seconds number
    Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range: 128800 (8 hours). Changing this value creates a new resource.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    run_hook_payload string
    String payload (maximum 16 KB) delivered to the /run lifecycle hook when the MicroVM starts. Changing this value creates a new resource.
    timeouts object
    imageArn String

    ARN of the MicroVM image to run. Changing this value creates a new resource.

    The following arguments are optional:

    egressNetworkConnectors List<String>
    List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
    executionRoleArn String
    ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
    idlePolicy MicrovmIdlePolicy
    Configuration controlling automatic suspend and resume behavior. See below. Changing this value creates a new resource.
    imageVersion String
    Version of the MicroVM image to run. Defaults to the latest active version. Changing this value creates a new resource.
    ingressNetworkConnectors List<String>
    List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
    logging MicrovmLogging
    Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
    maximumDurationInSeconds Integer
    Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range: 128800 (8 hours). Changing this value creates a new resource.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    runHookPayload String
    String payload (maximum 16 KB) delivered to the /run lifecycle hook when the MicroVM starts. Changing this value creates a new resource.
    timeouts MicrovmTimeouts
    imageArn string

    ARN of the MicroVM image to run. Changing this value creates a new resource.

    The following arguments are optional:

    egressNetworkConnectors string[]
    List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
    executionRoleArn string
    ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
    idlePolicy MicrovmIdlePolicy
    Configuration controlling automatic suspend and resume behavior. See below. Changing this value creates a new resource.
    imageVersion string
    Version of the MicroVM image to run. Defaults to the latest active version. Changing this value creates a new resource.
    ingressNetworkConnectors string[]
    List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
    logging MicrovmLogging
    Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
    maximumDurationInSeconds number
    Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range: 128800 (8 hours). Changing this value creates a new resource.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    runHookPayload string
    String payload (maximum 16 KB) delivered to the /run lifecycle hook when the MicroVM starts. Changing this value creates a new resource.
    timeouts MicrovmTimeouts
    image_arn str

    ARN of the MicroVM image to run. Changing this value creates a new resource.

    The following arguments are optional:

    egress_network_connectors Sequence[str]
    List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
    execution_role_arn str
    ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
    idle_policy MicrovmIdlePolicyArgs
    Configuration controlling automatic suspend and resume behavior. See below. Changing this value creates a new resource.
    image_version str
    Version of the MicroVM image to run. Defaults to the latest active version. Changing this value creates a new resource.
    ingress_network_connectors Sequence[str]
    List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
    logging MicrovmLoggingArgs
    Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
    maximum_duration_in_seconds int
    Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range: 128800 (8 hours). Changing this value creates a new resource.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    run_hook_payload str
    String payload (maximum 16 KB) delivered to the /run lifecycle hook when the MicroVM starts. Changing this value creates a new resource.
    timeouts MicrovmTimeoutsArgs
    imageArn String

    ARN of the MicroVM image to run. Changing this value creates a new resource.

    The following arguments are optional:

    egressNetworkConnectors List<String>
    List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
    executionRoleArn String
    ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
    idlePolicy Property Map
    Configuration controlling automatic suspend and resume behavior. See below. Changing this value creates a new resource.
    imageVersion String
    Version of the MicroVM image to run. Defaults to the latest active version. Changing this value creates a new resource.
    ingressNetworkConnectors List<String>
    List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
    logging Property Map
    Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
    maximumDurationInSeconds Number
    Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range: 128800 (8 hours). Changing this value creates a new resource.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    runHookPayload String
    String payload (maximum 16 KB) delivered to the /run lifecycle hook when the MicroVM starts. Changing this value creates a new resource.
    timeouts Property Map

    Outputs

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

    Endpoint string
    HTTPS endpoint URL for communicating with the MicroVM.
    Id string
    The provider-assigned unique ID for this managed resource.
    MicrovmId string
    Unique identifier of the MicroVM.
    StartedAt string
    Timestamp when the MicroVM first started, in RFC 3339 format.
    State string
    Current lifecycle state of the MicroVM (e.g., RUNNING).
    Endpoint string
    HTTPS endpoint URL for communicating with the MicroVM.
    Id string
    The provider-assigned unique ID for this managed resource.
    MicrovmId string
    Unique identifier of the MicroVM.
    StartedAt string
    Timestamp when the MicroVM first started, in RFC 3339 format.
    State string
    Current lifecycle state of the MicroVM (e.g., RUNNING).
    endpoint string
    HTTPS endpoint URL for communicating with the MicroVM.
    id string
    The provider-assigned unique ID for this managed resource.
    microvm_id string
    Unique identifier of the MicroVM.
    started_at string
    Timestamp when the MicroVM first started, in RFC 3339 format.
    state string
    Current lifecycle state of the MicroVM (e.g., RUNNING).
    endpoint String
    HTTPS endpoint URL for communicating with the MicroVM.
    id String
    The provider-assigned unique ID for this managed resource.
    microvmId String
    Unique identifier of the MicroVM.
    startedAt String
    Timestamp when the MicroVM first started, in RFC 3339 format.
    state String
    Current lifecycle state of the MicroVM (e.g., RUNNING).
    endpoint string
    HTTPS endpoint URL for communicating with the MicroVM.
    id string
    The provider-assigned unique ID for this managed resource.
    microvmId string
    Unique identifier of the MicroVM.
    startedAt string
    Timestamp when the MicroVM first started, in RFC 3339 format.
    state string
    Current lifecycle state of the MicroVM (e.g., RUNNING).
    endpoint str
    HTTPS endpoint URL for communicating with the MicroVM.
    id str
    The provider-assigned unique ID for this managed resource.
    microvm_id str
    Unique identifier of the MicroVM.
    started_at str
    Timestamp when the MicroVM first started, in RFC 3339 format.
    state str
    Current lifecycle state of the MicroVM (e.g., RUNNING).
    endpoint String
    HTTPS endpoint URL for communicating with the MicroVM.
    id String
    The provider-assigned unique ID for this managed resource.
    microvmId String
    Unique identifier of the MicroVM.
    startedAt String
    Timestamp when the MicroVM first started, in RFC 3339 format.
    state String
    Current lifecycle state of the MicroVM (e.g., RUNNING).

    Look up Existing Microvm Resource

    Get an existing Microvm 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?: MicrovmState, opts?: CustomResourceOptions): Microvm
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            egress_network_connectors: Optional[Sequence[str]] = None,
            endpoint: Optional[str] = None,
            execution_role_arn: Optional[str] = None,
            idle_policy: Optional[MicrovmIdlePolicyArgs] = None,
            image_arn: Optional[str] = None,
            image_version: Optional[str] = None,
            ingress_network_connectors: Optional[Sequence[str]] = None,
            logging: Optional[MicrovmLoggingArgs] = None,
            maximum_duration_in_seconds: Optional[int] = None,
            microvm_id: Optional[str] = None,
            region: Optional[str] = None,
            run_hook_payload: Optional[str] = None,
            started_at: Optional[str] = None,
            state: Optional[str] = None,
            timeouts: Optional[MicrovmTimeoutsArgs] = None) -> Microvm
    func GetMicrovm(ctx *Context, name string, id IDInput, state *MicrovmState, opts ...ResourceOption) (*Microvm, error)
    public static Microvm Get(string name, Input<string> id, MicrovmState? state, CustomResourceOptions? opts = null)
    public static Microvm get(String name, Output<String> id, MicrovmState state, CustomResourceOptions options)
    resources:  _:    type: aws:lambdamicrovms:Microvm    get:      id: ${id}
    import {
      to = aws_lambdamicrovms_microvm.example
      id = "${id}"
    }
    
    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:
    EgressNetworkConnectors List<string>
    List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
    Endpoint string
    HTTPS endpoint URL for communicating with the MicroVM.
    ExecutionRoleArn string
    ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
    IdlePolicy MicrovmIdlePolicy
    Configuration controlling automatic suspend and resume behavior. See below. Changing this value creates a new resource.
    ImageArn string

    ARN of the MicroVM image to run. Changing this value creates a new resource.

    The following arguments are optional:

    ImageVersion string
    Version of the MicroVM image to run. Defaults to the latest active version. Changing this value creates a new resource.
    IngressNetworkConnectors List<string>
    List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
    Logging MicrovmLogging
    Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
    MaximumDurationInSeconds int
    Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range: 128800 (8 hours). Changing this value creates a new resource.
    MicrovmId string
    Unique identifier of the MicroVM.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RunHookPayload string
    String payload (maximum 16 KB) delivered to the /run lifecycle hook when the MicroVM starts. Changing this value creates a new resource.
    StartedAt string
    Timestamp when the MicroVM first started, in RFC 3339 format.
    State string
    Current lifecycle state of the MicroVM (e.g., RUNNING).
    Timeouts MicrovmTimeouts
    EgressNetworkConnectors []string
    List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
    Endpoint string
    HTTPS endpoint URL for communicating with the MicroVM.
    ExecutionRoleArn string
    ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
    IdlePolicy MicrovmIdlePolicyArgs
    Configuration controlling automatic suspend and resume behavior. See below. Changing this value creates a new resource.
    ImageArn string

    ARN of the MicroVM image to run. Changing this value creates a new resource.

    The following arguments are optional:

    ImageVersion string
    Version of the MicroVM image to run. Defaults to the latest active version. Changing this value creates a new resource.
    IngressNetworkConnectors []string
    List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
    Logging MicrovmLoggingArgs
    Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
    MaximumDurationInSeconds int
    Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range: 128800 (8 hours). Changing this value creates a new resource.
    MicrovmId string
    Unique identifier of the MicroVM.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RunHookPayload string
    String payload (maximum 16 KB) delivered to the /run lifecycle hook when the MicroVM starts. Changing this value creates a new resource.
    StartedAt string
    Timestamp when the MicroVM first started, in RFC 3339 format.
    State string
    Current lifecycle state of the MicroVM (e.g., RUNNING).
    Timeouts MicrovmTimeoutsArgs
    egress_network_connectors list(string)
    List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
    endpoint string
    HTTPS endpoint URL for communicating with the MicroVM.
    execution_role_arn string
    ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
    idle_policy object
    Configuration controlling automatic suspend and resume behavior. See below. Changing this value creates a new resource.
    image_arn string

    ARN of the MicroVM image to run. Changing this value creates a new resource.

    The following arguments are optional:

    image_version string
    Version of the MicroVM image to run. Defaults to the latest active version. Changing this value creates a new resource.
    ingress_network_connectors list(string)
    List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
    logging object
    Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
    maximum_duration_in_seconds number
    Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range: 128800 (8 hours). Changing this value creates a new resource.
    microvm_id string
    Unique identifier of the MicroVM.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    run_hook_payload string
    String payload (maximum 16 KB) delivered to the /run lifecycle hook when the MicroVM starts. Changing this value creates a new resource.
    started_at string
    Timestamp when the MicroVM first started, in RFC 3339 format.
    state string
    Current lifecycle state of the MicroVM (e.g., RUNNING).
    timeouts object
    egressNetworkConnectors List<String>
    List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
    endpoint String
    HTTPS endpoint URL for communicating with the MicroVM.
    executionRoleArn String
    ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
    idlePolicy MicrovmIdlePolicy
    Configuration controlling automatic suspend and resume behavior. See below. Changing this value creates a new resource.
    imageArn String

    ARN of the MicroVM image to run. Changing this value creates a new resource.

    The following arguments are optional:

    imageVersion String
    Version of the MicroVM image to run. Defaults to the latest active version. Changing this value creates a new resource.
    ingressNetworkConnectors List<String>
    List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
    logging MicrovmLogging
    Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
    maximumDurationInSeconds Integer
    Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range: 128800 (8 hours). Changing this value creates a new resource.
    microvmId String
    Unique identifier of the MicroVM.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    runHookPayload String
    String payload (maximum 16 KB) delivered to the /run lifecycle hook when the MicroVM starts. Changing this value creates a new resource.
    startedAt String
    Timestamp when the MicroVM first started, in RFC 3339 format.
    state String
    Current lifecycle state of the MicroVM (e.g., RUNNING).
    timeouts MicrovmTimeouts
    egressNetworkConnectors string[]
    List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
    endpoint string
    HTTPS endpoint URL for communicating with the MicroVM.
    executionRoleArn string
    ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
    idlePolicy MicrovmIdlePolicy
    Configuration controlling automatic suspend and resume behavior. See below. Changing this value creates a new resource.
    imageArn string

    ARN of the MicroVM image to run. Changing this value creates a new resource.

    The following arguments are optional:

    imageVersion string
    Version of the MicroVM image to run. Defaults to the latest active version. Changing this value creates a new resource.
    ingressNetworkConnectors string[]
    List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
    logging MicrovmLogging
    Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
    maximumDurationInSeconds number
    Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range: 128800 (8 hours). Changing this value creates a new resource.
    microvmId string
    Unique identifier of the MicroVM.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    runHookPayload string
    String payload (maximum 16 KB) delivered to the /run lifecycle hook when the MicroVM starts. Changing this value creates a new resource.
    startedAt string
    Timestamp when the MicroVM first started, in RFC 3339 format.
    state string
    Current lifecycle state of the MicroVM (e.g., RUNNING).
    timeouts MicrovmTimeouts
    egress_network_connectors Sequence[str]
    List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
    endpoint str
    HTTPS endpoint URL for communicating with the MicroVM.
    execution_role_arn str
    ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
    idle_policy MicrovmIdlePolicyArgs
    Configuration controlling automatic suspend and resume behavior. See below. Changing this value creates a new resource.
    image_arn str

    ARN of the MicroVM image to run. Changing this value creates a new resource.

    The following arguments are optional:

    image_version str
    Version of the MicroVM image to run. Defaults to the latest active version. Changing this value creates a new resource.
    ingress_network_connectors Sequence[str]
    List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
    logging MicrovmLoggingArgs
    Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
    maximum_duration_in_seconds int
    Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range: 128800 (8 hours). Changing this value creates a new resource.
    microvm_id str
    Unique identifier of the MicroVM.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    run_hook_payload str
    String payload (maximum 16 KB) delivered to the /run lifecycle hook when the MicroVM starts. Changing this value creates a new resource.
    started_at str
    Timestamp when the MicroVM first started, in RFC 3339 format.
    state str
    Current lifecycle state of the MicroVM (e.g., RUNNING).
    timeouts MicrovmTimeoutsArgs
    egressNetworkConnectors List<String>
    List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
    endpoint String
    HTTPS endpoint URL for communicating with the MicroVM.
    executionRoleArn String
    ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
    idlePolicy Property Map
    Configuration controlling automatic suspend and resume behavior. See below. Changing this value creates a new resource.
    imageArn String

    ARN of the MicroVM image to run. Changing this value creates a new resource.

    The following arguments are optional:

    imageVersion String
    Version of the MicroVM image to run. Defaults to the latest active version. Changing this value creates a new resource.
    ingressNetworkConnectors List<String>
    List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
    logging Property Map
    Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
    maximumDurationInSeconds Number
    Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range: 128800 (8 hours). Changing this value creates a new resource.
    microvmId String
    Unique identifier of the MicroVM.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    runHookPayload String
    String payload (maximum 16 KB) delivered to the /run lifecycle hook when the MicroVM starts. Changing this value creates a new resource.
    startedAt String
    Timestamp when the MicroVM first started, in RFC 3339 format.
    state String
    Current lifecycle state of the MicroVM (e.g., RUNNING).
    timeouts Property Map

    Supporting Types

    MicrovmIdlePolicy, MicrovmIdlePolicyArgs

    AutoResumeEnabled bool
    Whether to automatically resume the MicroVM when it receives a request while suspended.
    MaxIdleDurationSeconds int
    Number of seconds without traffic after which the MicroVM is suspended.
    SuspendedDurationSeconds int
    Number of seconds a MicroVM remains suspended before it is automatically terminated.
    AutoResumeEnabled bool
    Whether to automatically resume the MicroVM when it receives a request while suspended.
    MaxIdleDurationSeconds int
    Number of seconds without traffic after which the MicroVM is suspended.
    SuspendedDurationSeconds int
    Number of seconds a MicroVM remains suspended before it is automatically terminated.
    auto_resume_enabled bool
    Whether to automatically resume the MicroVM when it receives a request while suspended.
    max_idle_duration_seconds number
    Number of seconds without traffic after which the MicroVM is suspended.
    suspended_duration_seconds number
    Number of seconds a MicroVM remains suspended before it is automatically terminated.
    autoResumeEnabled Boolean
    Whether to automatically resume the MicroVM when it receives a request while suspended.
    maxIdleDurationSeconds Integer
    Number of seconds without traffic after which the MicroVM is suspended.
    suspendedDurationSeconds Integer
    Number of seconds a MicroVM remains suspended before it is automatically terminated.
    autoResumeEnabled boolean
    Whether to automatically resume the MicroVM when it receives a request while suspended.
    maxIdleDurationSeconds number
    Number of seconds without traffic after which the MicroVM is suspended.
    suspendedDurationSeconds number
    Number of seconds a MicroVM remains suspended before it is automatically terminated.
    auto_resume_enabled bool
    Whether to automatically resume the MicroVM when it receives a request while suspended.
    max_idle_duration_seconds int
    Number of seconds without traffic after which the MicroVM is suspended.
    suspended_duration_seconds int
    Number of seconds a MicroVM remains suspended before it is automatically terminated.
    autoResumeEnabled Boolean
    Whether to automatically resume the MicroVM when it receives a request while suspended.
    maxIdleDurationSeconds Number
    Number of seconds without traffic after which the MicroVM is suspended.
    suspendedDurationSeconds Number
    Number of seconds a MicroVM remains suspended before it is automatically terminated.

    MicrovmLogging, MicrovmLoggingArgs

    Cloudwatch MicrovmLoggingCloudwatch
    Send logs to Amazon CloudWatch Logs. See below.
    Disabled MicrovmLoggingDisabled
    Disable logging for the MicroVM. Specify an empty block: disabled {}.
    Cloudwatch MicrovmLoggingCloudwatch
    Send logs to Amazon CloudWatch Logs. See below.
    Disabled MicrovmLoggingDisabled
    Disable logging for the MicroVM. Specify an empty block: disabled {}.
    cloudwatch object
    Send logs to Amazon CloudWatch Logs. See below.
    disabled object
    Disable logging for the MicroVM. Specify an empty block: disabled {}.
    cloudwatch MicrovmLoggingCloudwatch
    Send logs to Amazon CloudWatch Logs. See below.
    disabled MicrovmLoggingDisabled
    Disable logging for the MicroVM. Specify an empty block: disabled {}.
    cloudwatch MicrovmLoggingCloudwatch
    Send logs to Amazon CloudWatch Logs. See below.
    disabled MicrovmLoggingDisabled
    Disable logging for the MicroVM. Specify an empty block: disabled {}.
    cloudwatch MicrovmLoggingCloudwatch
    Send logs to Amazon CloudWatch Logs. See below.
    disabled MicrovmLoggingDisabled
    Disable logging for the MicroVM. Specify an empty block: disabled {}.
    cloudwatch Property Map
    Send logs to Amazon CloudWatch Logs. See below.
    disabled Property Map
    Disable logging for the MicroVM. Specify an empty block: disabled {}.

    MicrovmLoggingCloudwatch, MicrovmLoggingCloudwatchArgs

    LogGroup string
    Name of the CloudWatch Logs log group to send logs to.
    LogStream string
    Name of the CloudWatch Logs log stream within the log group.
    LogGroup string
    Name of the CloudWatch Logs log group to send logs to.
    LogStream string
    Name of the CloudWatch Logs log stream within the log group.
    log_group string
    Name of the CloudWatch Logs log group to send logs to.
    log_stream string
    Name of the CloudWatch Logs log stream within the log group.
    logGroup String
    Name of the CloudWatch Logs log group to send logs to.
    logStream String
    Name of the CloudWatch Logs log stream within the log group.
    logGroup string
    Name of the CloudWatch Logs log group to send logs to.
    logStream string
    Name of the CloudWatch Logs log stream within the log group.
    log_group str
    Name of the CloudWatch Logs log group to send logs to.
    log_stream str
    Name of the CloudWatch Logs log stream within the log group.
    logGroup String
    Name of the CloudWatch Logs log group to send logs to.
    logStream String
    Name of the CloudWatch Logs log stream within the log group.

    MicrovmTimeouts, MicrovmTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

    Import

    Identity Schema

    Required

    • microvmId (String) Unique identifier of the MicroVM.

    Optional

    • accountId (String) AWS Account where this resource is managed.
    • region (String) Region where this resource is managed.

    Using pulumi import, import Lambda MicroVMs MicroVM using the microvmId. For example:

    $ pulumi import aws:lambdamicrovms/microvm:Microvm example mvm-01234567-abcd-ef01-2345-6789abcdef01
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.46.0
    published on Thursday, Sep 10, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial