RunMicrovmRequest
¶
Source code in docs_src/capo_lambda_microvms/types/run_microvm_request.py
client_token
instance-attribute
¶
client_token: NotRequired[str]
A unique, case-sensitive identifier you provide to ensure the idempotency of the request.
egress_network_connectors
instance-attribute
¶
egress_network_connectors: NotRequired[NetworkConnectorList]
The list of egress network connectors available to the MicroVM at runtime.
execution_role_arn
instance-attribute
¶
execution_role_arn: NotRequired[RoleArn]
The ARN of the IAM role to be assumed by the MicroVM during execution.
idle_policy
instance-attribute
¶
idle_policy: NotRequired[IdlePolicy]
Configuration to control auto-suspend and auto-resume behavior.
image_identifier
instance-attribute
¶
image_identifier: MicrovmImageIdentifier
The identifier (ARN or ID) of the MicroVM image to run.
image_version
instance-attribute
¶
image_version: NotRequired[Version]
The version of the MicroVM image to run.
ingress_network_connectors
instance-attribute
¶
ingress_network_connectors: NotRequired[NetworkConnectorList]
The list of ingress network connectors to configure for the MicroVM.
kms_key_identifier
instance-attribute
¶
kms_key_identifier: NotRequired[KmsKeyIdentifier]
The customer managed Amazon Web Services Key Management Service (Amazon Web Services KMS) key that encrypts your MicroVM configuration at rest. To use this operation, you must have permission to use the key. Specify the key ARN or the alias ARN.
If you don't specify a key, your MicroVM uses an Amazon Web Services owned key.
logging
instance-attribute
¶
logging: NotRequired[Logging]
The logging configuration for this MicroVM instance. Specify {"cloudWatch": {"logGroup": "..."}} to stream application logs to a custom CloudWatch log group, or {"disabled": {}} to turn off logging.
maximum_duration_in_seconds
instance-attribute
¶
maximum_duration_in_seconds: NotRequired[int]
The maximum duration in seconds that the MicroVM can exist before being terminated by the platform. Valid range: 1–28,800 (8 hours).
run_hook_payload
instance-attribute
¶
run_hook_payload: NotRequired[RunHookPayload]
Per-MicroVM initialization data delivered as the request body of the /run lifecycle hook. Use to pass tenant-specific configuration such as session IDs or secret references. Maximum: 16,384 bytes.