published on Thursday, Sep 10, 2026 by Pulumi
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:
- Image
Arn string ARN of the MicroVM image to run. Changing this value creates a new resource.
The following arguments are optional:
- Egress
Network List<string>Connectors - List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
- Execution
Role stringArn - ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
- Idle
Policy MicrovmIdle Policy - 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 List<string>Connectors - List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
- Logging
Microvm
Logging - Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
- Maximum
Duration intIn Seconds - Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range:
1–28800(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 stringPayload - String payload (maximum 16 KB) delivered to the
/runlifecycle hook when the MicroVM starts. Changing this value creates a new resource. - Timeouts
Microvm
Timeouts
- Image
Arn string ARN of the MicroVM image to run. Changing this value creates a new resource.
The following arguments are optional:
- Egress
Network []stringConnectors - List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
- Execution
Role stringArn - ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
- Idle
Policy MicrovmIdle Policy Args - 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 []stringConnectors - List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
- Logging
Microvm
Logging Args - Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
- Maximum
Duration intIn Seconds - Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range:
1–28800(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 stringPayload - String payload (maximum 16 KB) delivered to the
/runlifecycle hook when the MicroVM starts. Changing this value creates a new resource. - Timeouts
Microvm
Timeouts Args
- image_
arn string ARN of the MicroVM image to run. Changing this value creates a new resource.
The following arguments are optional:
- egress_
network_ list(string)connectors - List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
- execution_
role_ stringarn - 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_ list(string)connectors - 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_ numberin_ seconds - Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range:
1–28800(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_ stringpayload - String payload (maximum 16 KB) delivered to the
/runlifecycle hook when the MicroVM starts. Changing this value creates a new resource. - timeouts object
- image
Arn String ARN of the MicroVM image to run. Changing this value creates a new resource.
The following arguments are optional:
- egress
Network List<String>Connectors - List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
- execution
Role StringArn - ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
- idle
Policy MicrovmIdle Policy - 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 List<String>Connectors - List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
- logging
Microvm
Logging - Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
- maximum
Duration IntegerIn Seconds - Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range:
1–28800(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 StringPayload - String payload (maximum 16 KB) delivered to the
/runlifecycle hook when the MicroVM starts. Changing this value creates a new resource. - timeouts
Microvm
Timeouts
- image
Arn string ARN of the MicroVM image to run. Changing this value creates a new resource.
The following arguments are optional:
- egress
Network string[]Connectors - List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
- execution
Role stringArn - ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
- idle
Policy MicrovmIdle Policy - 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 string[]Connectors - List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
- logging
Microvm
Logging - Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
- maximum
Duration numberIn Seconds - Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range:
1–28800(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 stringPayload - String payload (maximum 16 KB) delivered to the
/runlifecycle hook when the MicroVM starts. Changing this value creates a new resource. - timeouts
Microvm
Timeouts
- image_
arn str ARN of the MicroVM image to run. Changing this value creates a new resource.
The following arguments are optional:
- egress_
network_ Sequence[str]connectors - List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
- execution_
role_ strarn - ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
- idle_
policy MicrovmIdle Policy Args - 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_ Sequence[str]connectors - List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
- logging
Microvm
Logging Args - Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
- maximum_
duration_ intin_ seconds - Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range:
1–28800(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_ strpayload - String payload (maximum 16 KB) delivered to the
/runlifecycle hook when the MicroVM starts. Changing this value creates a new resource. - timeouts
Microvm
Timeouts Args
- image
Arn String ARN of the MicroVM image to run. Changing this value creates a new resource.
The following arguments are optional:
- egress
Network List<String>Connectors - List of egress network connector ARNs for outbound connectivity. Changing this value creates a new resource.
- execution
Role StringArn - ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
- idle
Policy Property Map - 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 List<String>Connectors - 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.
- maximum
Duration NumberIn Seconds - Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range:
1–28800(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 StringPayload - String payload (maximum 16 KB) delivered to the
/runlifecycle 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.
- 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.
- 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.
- 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.
- 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.
- 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 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.
- 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).
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) -> Microvmfunc 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.
- Egress
Network List<string>Connectors - 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 stringArn - ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
- Idle
Policy MicrovmIdle Policy - 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 List<string>Connectors - List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
- Logging
Microvm
Logging - Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
- Maximum
Duration intIn Seconds - Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range:
1–28800(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 stringPayload - String payload (maximum 16 KB) delivered to the
/runlifecycle 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
Microvm
Timeouts
- Egress
Network []stringConnectors - 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 stringArn - ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
- Idle
Policy MicrovmIdle Policy Args - 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 []stringConnectors - List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
- Logging
Microvm
Logging Args - Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
- Maximum
Duration intIn Seconds - Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range:
1–28800(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 stringPayload - String payload (maximum 16 KB) delivered to the
/runlifecycle 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
Microvm
Timeouts Args
- egress_
network_ list(string)connectors - 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_ stringarn - 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_ list(string)connectors - 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_ numberin_ seconds - Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range:
1–28800(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_ stringpayload - String payload (maximum 16 KB) delivered to the
/runlifecycle 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
- egress
Network List<String>Connectors - 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 StringArn - ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
- idle
Policy MicrovmIdle Policy - 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 List<String>Connectors - List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
- logging
Microvm
Logging - Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
- maximum
Duration IntegerIn Seconds - Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range:
1–28800(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 StringPayload - String payload (maximum 16 KB) delivered to the
/runlifecycle 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
Microvm
Timeouts
- egress
Network string[]Connectors - 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 stringArn - ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
- idle
Policy MicrovmIdle Policy - 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 string[]Connectors - List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
- logging
Microvm
Logging - Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
- maximum
Duration numberIn Seconds - Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range:
1–28800(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 stringPayload - String payload (maximum 16 KB) delivered to the
/runlifecycle 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
Microvm
Timeouts
- egress_
network_ Sequence[str]connectors - 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_ strarn - ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
- idle_
policy MicrovmIdle Policy Args - 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_ Sequence[str]connectors - List of ingress network connector ARNs for inbound connectivity. Changing this value creates a new resource.
- logging
Microvm
Logging Args - Logging configuration for the MicroVM. See below. Changing this value creates a new resource.
- maximum_
duration_ intin_ seconds - Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range:
1–28800(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_ strpayload - String payload (maximum 16 KB) delivered to the
/runlifecycle 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
Microvm
Timeouts Args
- egress
Network List<String>Connectors - 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 StringArn - ARN of the IAM role assumed by the MicroVM during execution. Changing this value creates a new resource.
- idle
Policy Property Map - 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 List<String>Connectors - 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.
- maximum
Duration NumberIn Seconds - Maximum duration in seconds that the MicroVM can exist before the platform terminates it. Valid range:
1–28800(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 StringPayload - String payload (maximum 16 KB) delivered to the
/runlifecycle 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 Property Map
Supporting Types
MicrovmIdlePolicy, MicrovmIdlePolicyArgs
- Auto
Resume boolEnabled - Whether to automatically resume the MicroVM when it receives a request while suspended.
- Max
Idle intDuration Seconds - Number of seconds without traffic after which the MicroVM is suspended.
- Suspended
Duration intSeconds - Number of seconds a MicroVM remains suspended before it is automatically terminated.
- Auto
Resume boolEnabled - Whether to automatically resume the MicroVM when it receives a request while suspended.
- Max
Idle intDuration Seconds - Number of seconds without traffic after which the MicroVM is suspended.
- Suspended
Duration intSeconds - Number of seconds a MicroVM remains suspended before it is automatically terminated.
- auto_
resume_ boolenabled - Whether to automatically resume the MicroVM when it receives a request while suspended.
- max_
idle_ numberduration_ seconds - Number of seconds without traffic after which the MicroVM is suspended.
- suspended_
duration_ numberseconds - Number of seconds a MicroVM remains suspended before it is automatically terminated.
- auto
Resume BooleanEnabled - Whether to automatically resume the MicroVM when it receives a request while suspended.
- max
Idle IntegerDuration Seconds - Number of seconds without traffic after which the MicroVM is suspended.
- suspended
Duration IntegerSeconds - Number of seconds a MicroVM remains suspended before it is automatically terminated.
- auto
Resume booleanEnabled - Whether to automatically resume the MicroVM when it receives a request while suspended.
- max
Idle numberDuration Seconds - Number of seconds without traffic after which the MicroVM is suspended.
- suspended
Duration numberSeconds - Number of seconds a MicroVM remains suspended before it is automatically terminated.
- auto_
resume_ boolenabled - Whether to automatically resume the MicroVM when it receives a request while suspended.
- max_
idle_ intduration_ seconds - Number of seconds without traffic after which the MicroVM is suspended.
- suspended_
duration_ intseconds - Number of seconds a MicroVM remains suspended before it is automatically terminated.
- auto
Resume BooleanEnabled - Whether to automatically resume the MicroVM when it receives a request while suspended.
- max
Idle NumberDuration Seconds - Number of seconds without traffic after which the MicroVM is suspended.
- suspended
Duration NumberSeconds - Number of seconds a MicroVM remains suspended before it is automatically terminated.
MicrovmLogging, MicrovmLoggingArgs
- Cloudwatch
Microvm
Logging Cloudwatch - Send logs to Amazon CloudWatch Logs. See below.
- Disabled
Microvm
Logging Disabled - Disable logging for the MicroVM. Specify an empty block:
disabled {}.
- Cloudwatch
Microvm
Logging Cloudwatch - Send logs to Amazon CloudWatch Logs. See below.
- Disabled
Microvm
Logging Disabled - 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
Microvm
Logging Cloudwatch - Send logs to Amazon CloudWatch Logs. See below.
- disabled
Microvm
Logging Disabled - Disable logging for the MicroVM. Specify an empty block:
disabled {}.
- cloudwatch
Microvm
Logging Cloudwatch - Send logs to Amazon CloudWatch Logs. See below.
- disabled
Microvm
Logging Disabled - Disable logging for the MicroVM. Specify an empty block:
disabled {}.
- cloudwatch
Microvm
Logging Cloudwatch - Send logs to Amazon CloudWatch Logs. See below.
- disabled
Microvm
Logging Disabled - 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
- 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.
- 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.
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
awsTerraform Provider.
published on Thursday, Sep 10, 2026 by Pulumi