CreateMicrovmImageRequest
¶
Source code in docs_src/capo_lambda_microvms/types/create_microvm_image_request.py
additional_os_capabilities
instance-attribute
¶
additional_os_capabilities: NotRequired[CapabilityList]
Additional OS capabilities granted to the MicroVM runtime environment.
base_image_arn
instance-attribute
¶
base_image_arn: NonBlankString
The ARN of the Lambda-managed base MicroVM image to build upon. Use ListManagedMicrovmImages to discover available base images.
base_image_version
instance-attribute
¶
base_image_version: NotRequired[Version]
The specific version of the base MicroVM image to use.
build_role_arn
instance-attribute
¶
build_role_arn: RoleArn
The ARN of the IAM role assumed during the image build process. This role must have permissions to access the code artifact and any required resources.
client_token
instance-attribute
¶
client_token: NotRequired[str]
A unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token, the operation returns the successful response without performing any further actions.
code_artifact
instance-attribute
¶
code_artifact: CodeArtifact
The code artifact containing the application code and metadata for the MicroVM image.
cpu_configurations
instance-attribute
¶
cpu_configurations: NotRequired[CpuConfigurationList]
The list of supported CPU configurations for the MicroVM.
egress_network_connectors
instance-attribute
¶
egress_network_connectors: NotRequired[NetworkConnectorList]
The list of egress network connectors available to the MicroVM at image build time.
environment_variables
instance-attribute
¶
environment_variables: NotRequired[EnvironmentVariableMap]
Environment variables set in the MicroVM runtime environment.
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 the contents and metadata of your MicroVM image version. You must have permission to use the key. Specify the key in one of the following formats:
-
Key ARN
-
Alias ARN
If you don't specify a key, your MicroVM image version uses an Amazon Web Services owned key.
logging
instance-attribute
¶
logging: NotRequired[Logging]
The logging configuration for build-time and runtime logs. Specify {"cloudWatch": {"logGroup": "..."}} to stream logs to a custom CloudWatch log group, or {"disabled": {}} to turn off logging.
name
instance-attribute
¶
name: ImageName
The name of the MicroVM image. Must be unique within the AWS account.
resources
instance-attribute
¶
resources: NotRequired[ResourcesList]
The resource requirements for the MicroVM.