We recommend new projects start with resources from the AWS provider.
published on Monday, Jul 27, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Jul 27, 2026 by Pulumi
Resource Type definition for AWS::Lambda::MicrovmImage
Create MicrovmImage Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MicrovmImage(name: string, args: MicrovmImageArgs, opts?: CustomResourceOptions);@overload
def MicrovmImage(resource_name: str,
args: MicrovmImageArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MicrovmImage(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
resources: Optional[Sequence[MicrovmImageResourcesArgs]] = None,
base_image_version: Optional[str] = None,
build_role_arn: Optional[str] = None,
code_artifact: Optional[MicrovmImageCodeArtifactArgs] = None,
cpu_configurations: Optional[Sequence[MicrovmImageCpuConfigurationArgs]] = None,
environment_variables: Optional[Sequence[MicrovmImageEnvironmentVariableArgs]] = None,
additional_os_capabilities: Optional[Sequence[MicrovmImageAdditionalOsCapabilitiesItem]] = None,
base_image_arn: Optional[str] = None,
hooks: Optional[HooksArgs] = None,
logging: Optional[MicrovmImageLoggingArgs] = None,
egress_network_connectors: Optional[Sequence[str]] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewMicrovmImage(ctx *Context, name string, args MicrovmImageArgs, opts ...ResourceOption) (*MicrovmImage, error)public MicrovmImage(string name, MicrovmImageArgs args, CustomResourceOptions? opts = null)
public MicrovmImage(String name, MicrovmImageArgs args)
public MicrovmImage(String name, MicrovmImageArgs args, CustomResourceOptions options)
type: aws-native:lambda:MicrovmImage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_lambda_microvm_image" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args MicrovmImageArgs
- 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 MicrovmImageArgs
- 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 MicrovmImageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MicrovmImageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MicrovmImageArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
MicrovmImage 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 MicrovmImage resource accepts the following input properties:
- Additional
Os List<Pulumi.Capabilities Aws Native. Lambda. Microvm Image Additional Os Capabilities Item> - Base
Image stringArn - ARN of the base MicroVM image.
- Base
Image stringVersion - Specific version of the base MicroVM image to use.
- Build
Role stringArn - ARN of the IAM build role.
- Code
Artifact Pulumi.Aws Native. Lambda. Inputs. Microvm Image Code Artifact - Code artifact for the active MicroVM image.
- Cpu
Configurations List<Pulumi.Aws Native. Lambda. Inputs. Microvm Image Cpu Configuration> - Description string
- Human-readable description of the MicroVM image and its purpose.
- Egress
Network List<string>Connectors - Environment
Variables List<Pulumi.Aws Native. Lambda. Inputs. Microvm Image Environment Variable> - Environment variables to set in the container during the snapshot build.
- Hooks
Pulumi.
Aws Native. Lambda. Inputs. Hooks - Logging
Pulumi.
Aws Native. Lambda. Inputs. Microvm Image Logging - Configuration for MicroVM image logging.
- Resources
List<Pulumi.
Aws Native. Lambda. Inputs. Microvm Image Resources> - Name string
- Unique name for the MicroVM image within the account.
-
List<Pulumi.
Aws Native. Inputs. Tag> - Key-value pairs to associate with the MicroVM image for organization and management.
- Additional
Os []MicrovmCapabilities Image Additional Os Capabilities Item - Base
Image stringArn - ARN of the base MicroVM image.
- Base
Image stringVersion - Specific version of the base MicroVM image to use.
- Build
Role stringArn - ARN of the IAM build role.
- Code
Artifact MicrovmImage Code Artifact Args - Code artifact for the active MicroVM image.
- Cpu
Configurations []MicrovmImage Cpu Configuration Args - Description string
- Human-readable description of the MicroVM image and its purpose.
- Egress
Network []stringConnectors - Environment
Variables []MicrovmImage Environment Variable Args - Environment variables to set in the container during the snapshot build.
- Hooks
Hooks
Args - Logging
Microvm
Image Logging Args - Configuration for MicroVM image logging.
- Resources
[]Microvm
Image Resources Args - Name string
- Unique name for the MicroVM image within the account.
-
Tag
Args - Key-value pairs to associate with the MicroVM image for organization and management.
- additional_
os_ list("ALL")capabilities - base_
image_ stringarn - ARN of the base MicroVM image.
- base_
image_ stringversion - Specific version of the base MicroVM image to use.
- build_
role_ stringarn - ARN of the IAM build role.
- code_
artifact object - Code artifact for the active MicroVM image.
- cpu_
configurations list(object) - description string
- Human-readable description of the MicroVM image and its purpose.
- egress_
network_ list(string)connectors - environment_
variables list(object) - Environment variables to set in the container during the snapshot build.
- hooks object
- logging object
- Configuration for MicroVM image logging.
- resources list(object)
- name string
- Unique name for the MicroVM image within the account.
- list(object)
- Key-value pairs to associate with the MicroVM image for organization and management.
- additional
Os List<MicrovmCapabilities Image Additional Os Capabilities Item> - base
Image StringArn - ARN of the base MicroVM image.
- base
Image StringVersion - Specific version of the base MicroVM image to use.
- build
Role StringArn - ARN of the IAM build role.
- code
Artifact MicrovmImage Code Artifact - Code artifact for the active MicroVM image.
- cpu
Configurations List<MicrovmImage Cpu Configuration> - description String
- Human-readable description of the MicroVM image and its purpose.
- egress
Network List<String>Connectors - environment
Variables List<MicrovmImage Environment Variable> - Environment variables to set in the container during the snapshot build.
- hooks Hooks
- logging
Microvm
Image Logging - Configuration for MicroVM image logging.
- resources
List<Microvm
Image Resources> - name String
- Unique name for the MicroVM image within the account.
- List<Tag>
- Key-value pairs to associate with the MicroVM image for organization and management.
- additional
Os MicrovmCapabilities Image Additional Os Capabilities Item[] - base
Image stringArn - ARN of the base MicroVM image.
- base
Image stringVersion - Specific version of the base MicroVM image to use.
- build
Role stringArn - ARN of the IAM build role.
- code
Artifact MicrovmImage Code Artifact - Code artifact for the active MicroVM image.
- cpu
Configurations MicrovmImage Cpu Configuration[] - description string
- Human-readable description of the MicroVM image and its purpose.
- egress
Network string[]Connectors - environment
Variables MicrovmImage Environment Variable[] - Environment variables to set in the container during the snapshot build.
- hooks Hooks
- logging
Microvm
Image Logging - Configuration for MicroVM image logging.
- resources
Microvm
Image Resources[] - name string
- Unique name for the MicroVM image within the account.
- Tag[]
- Key-value pairs to associate with the MicroVM image for organization and management.
- additional_
os_ Sequence[Microvmcapabilities Image Additional Os Capabilities Item] - base_
image_ strarn - ARN of the base MicroVM image.
- base_
image_ strversion - Specific version of the base MicroVM image to use.
- build_
role_ strarn - ARN of the IAM build role.
- code_
artifact MicrovmImage Code Artifact Args - Code artifact for the active MicroVM image.
- cpu_
configurations Sequence[MicrovmImage Cpu Configuration Args] - description str
- Human-readable description of the MicroVM image and its purpose.
- egress_
network_ Sequence[str]connectors - environment_
variables Sequence[MicrovmImage Environment Variable Args] - Environment variables to set in the container during the snapshot build.
- hooks
Hooks
Args - logging
Microvm
Image Logging Args - Configuration for MicroVM image logging.
- resources
Sequence[Microvm
Image Resources Args] - name str
- Unique name for the MicroVM image within the account.
-
Sequence[Tag
Args] - Key-value pairs to associate with the MicroVM image for organization and management.
- additional
Os List<"ALL">Capabilities - base
Image StringArn - ARN of the base MicroVM image.
- base
Image StringVersion - Specific version of the base MicroVM image to use.
- build
Role StringArn - ARN of the IAM build role.
- code
Artifact Property Map - Code artifact for the active MicroVM image.
- cpu
Configurations List<Property Map> - description String
- Human-readable description of the MicroVM image and its purpose.
- egress
Network List<String>Connectors - environment
Variables List<Property Map> - Environment variables to set in the container during the snapshot build.
- hooks Property Map
- logging Property Map
- Configuration for MicroVM image logging.
- resources List<Property Map>
- name String
- Unique name for the MicroVM image within the account.
- List<Property Map>
- Key-value pairs to associate with the MicroVM image for organization and management.
Outputs
All input properties are implicitly available as output properties. Additionally, the MicrovmImage resource produces the following output properties:
- Created
At string - Timestamp when the MicroVM image was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Image
Arn string - ARN of the MicroVM image.
- Latest
Active stringImage Version - The latest active version of the MicroVM image.
- Latest
Failed stringImage Version - The latest failed version of the MicroVM image.
- State
Pulumi.
Aws Native. Lambda. Microvm Image State - Current state of the MicroVM image.
- Updated
At string - Timestamp when the MicroVM image was updated.
- Created
At string - Timestamp when the MicroVM image was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Image
Arn string - ARN of the MicroVM image.
- Latest
Active stringImage Version - The latest active version of the MicroVM image.
- Latest
Failed stringImage Version - The latest failed version of the MicroVM image.
- State
Microvm
Image State Enum - Current state of the MicroVM image.
- Updated
At string - Timestamp when the MicroVM image was updated.
- created_
at string - Timestamp when the MicroVM image was created.
- id string
- The provider-assigned unique ID for this managed resource.
- image_
arn string - ARN of the MicroVM image.
- latest_
active_ stringimage_ version - The latest active version of the MicroVM image.
- latest_
failed_ stringimage_ version - The latest failed version of the MicroVM image.
- state "CREATING" | "CREATED" | "CREATE_FAILED" | "UPDATING" | "UPDATED" | "UPDATE_FAILED" | "DELETING" | "DELETE_FAILED" | "DELETED"
- Current state of the MicroVM image.
- updated_
at string - Timestamp when the MicroVM image was updated.
- created
At String - Timestamp when the MicroVM image was created.
- id String
- The provider-assigned unique ID for this managed resource.
- image
Arn String - ARN of the MicroVM image.
- latest
Active StringImage Version - The latest active version of the MicroVM image.
- latest
Failed StringImage Version - The latest failed version of the MicroVM image.
- state
Microvm
Image State - Current state of the MicroVM image.
- updated
At String - Timestamp when the MicroVM image was updated.
- created
At string - Timestamp when the MicroVM image was created.
- id string
- The provider-assigned unique ID for this managed resource.
- image
Arn string - ARN of the MicroVM image.
- latest
Active stringImage Version - The latest active version of the MicroVM image.
- latest
Failed stringImage Version - The latest failed version of the MicroVM image.
- state
Microvm
Image State - Current state of the MicroVM image.
- updated
At string - Timestamp when the MicroVM image was updated.
- created_
at str - Timestamp when the MicroVM image was created.
- id str
- The provider-assigned unique ID for this managed resource.
- image_
arn str - ARN of the MicroVM image.
- latest_
active_ strimage_ version - The latest active version of the MicroVM image.
- latest_
failed_ strimage_ version - The latest failed version of the MicroVM image.
- state
Microvm
Image State - Current state of the MicroVM image.
- updated_
at str - Timestamp when the MicroVM image was updated.
- created
At String - Timestamp when the MicroVM image was created.
- id String
- The provider-assigned unique ID for this managed resource.
- image
Arn String - ARN of the MicroVM image.
- latest
Active StringImage Version - The latest active version of the MicroVM image.
- latest
Failed StringImage Version - The latest failed version of the MicroVM image.
- state "CREATING" | "CREATED" | "CREATE_FAILED" | "UPDATING" | "UPDATED" | "UPDATE_FAILED" | "DELETING" | "DELETE_FAILED" | "DELETED"
- Current state of the MicroVM image.
- updated
At String - Timestamp when the MicroVM image was updated.
Supporting Types
Hooks, HooksArgs
MicrovmImageAdditionalOsCapabilitiesItem, MicrovmImageAdditionalOsCapabilitiesItemArgs
- All
ALL
- Microvm
Image Additional Os Capabilities Item All ALL
- "ALL"
ALL
- All
ALL
- All
ALL
- ALL
ALL
- "ALL"
ALL
MicrovmImageCloudWatchLogging, MicrovmImageCloudWatchLoggingArgs
- log_
group string - log_
stream string
- log_
group str - log_
stream str
MicrovmImageCodeArtifact, MicrovmImageCodeArtifactArgs
- Uri string
- Uri string
- uri string
- uri String
- uri string
- uri str
- uri String
MicrovmImageCpuConfiguration, MicrovmImageCpuConfigurationArgs
MicrovmImageCpuConfigurationArchitecture, MicrovmImageCpuConfigurationArchitectureArgs
- Arm64
ARM_64
- Microvm
Image Cpu Configuration Architecture Arm64 ARM_64
- "ARM_64"
ARM_64
- Arm64
ARM_64
- Arm64
ARM_64
- ARM64
ARM_64
- "ARM_64"
ARM_64
MicrovmImageEnvironmentVariable, MicrovmImageEnvironmentVariableArgs
MicrovmImageHookState, MicrovmImageHookStateArgs
- Disabled
DISABLED- Enabled
ENABLED
- Microvm
Image Hook State Disabled DISABLED- Microvm
Image Hook State Enabled ENABLED
- "DISABLED"
DISABLED- "ENABLED"
ENABLED
- Disabled
DISABLED- Enabled
ENABLED
- Disabled
DISABLED- Enabled
ENABLED
- DISABLED
DISABLED- ENABLED
ENABLED
- "DISABLED"
DISABLED- "ENABLED"
ENABLED
MicrovmImageHooks, MicrovmImageHooksArgs
MicrovmImageLogging, MicrovmImageLoggingArgs
- cloud
Watch Property Map - disabled Boolean
MicrovmImageMicrovmHooks, MicrovmImageMicrovmHooksArgs
- Resume
Pulumi.
Aws Native. Lambda. Microvm Image Hook State - Resume
Timeout intIn Seconds - Run
Pulumi.
Aws Native. Lambda. Microvm Image Hook State - Run
Timeout intIn Seconds - Suspend
Pulumi.
Aws Native. Lambda. Microvm Image Hook State - Suspend
Timeout intIn Seconds - Terminate
Pulumi.
Aws Native. Lambda. Microvm Image Hook State - Terminate
Timeout intIn Seconds
MicrovmImageResources, MicrovmImageResourcesArgs
- minimum_
memory_ numberin_ mi_ b
- minimum
Memory IntegerIn Mi B
- minimum
Memory numberIn Mi B
- minimum
Memory NumberIn Mi B
MicrovmImageState, MicrovmImageStateArgs
- Creating
CREATING- Created
CREATED- Create
Failed CREATE_FAILED- Updating
UPDATING- Updated
UPDATED- Update
Failed UPDATE_FAILED- Deleting
DELETING- Delete
Failed DELETE_FAILED- Deleted
DELETED
- Microvm
Image State Creating CREATING- Microvm
Image State Created CREATED- Microvm
Image State Create Failed CREATE_FAILED- Microvm
Image State Updating UPDATING- Microvm
Image State Updated UPDATED- Microvm
Image State Update Failed UPDATE_FAILED- Microvm
Image State Deleting DELETING- Microvm
Image State Delete Failed DELETE_FAILED- Microvm
Image State Deleted DELETED
- "CREATING"
CREATING- "CREATED"
CREATED- "CREATE_FAILED"
CREATE_FAILED- "UPDATING"
UPDATING- "UPDATED"
UPDATED- "UPDATE_FAILED"
UPDATE_FAILED- "DELETING"
DELETING- "DELETE_FAILED"
DELETE_FAILED- "DELETED"
DELETED
- Creating
CREATING- Created
CREATED- Create
Failed CREATE_FAILED- Updating
UPDATING- Updated
UPDATED- Update
Failed UPDATE_FAILED- Deleting
DELETING- Delete
Failed DELETE_FAILED- Deleted
DELETED
- Creating
CREATING- Created
CREATED- Create
Failed CREATE_FAILED- Updating
UPDATING- Updated
UPDATED- Update
Failed UPDATE_FAILED- Deleting
DELETING- Delete
Failed DELETE_FAILED- Deleted
DELETED
- CREATING
CREATING- CREATED
CREATED- CREATE_FAILED
CREATE_FAILED- UPDATING
UPDATING- UPDATED
UPDATED- UPDATE_FAILED
UPDATE_FAILED- DELETING
DELETING- DELETE_FAILED
DELETE_FAILED- DELETED
DELETED
- "CREATING"
CREATING- "CREATED"
CREATED- "CREATE_FAILED"
CREATE_FAILED- "UPDATING"
UPDATING- "UPDATED"
UPDATED- "UPDATE_FAILED"
UPDATE_FAILED- "DELETING"
DELETING- "DELETE_FAILED"
DELETE_FAILED- "DELETED"
DELETED
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Jul 27, 2026 by Pulumi