Skip to content

UpdateMicrovmImageRequest

Source code in docs_src/capo_lambda_microvms/types/update_microvm_image_request.py
class UpdateMicrovmImageRequest(TypedDict, closed=True):
    base_image_arn: "capo_lambda_microvms.types.non_blank_string.NonBlankString"
    """<p>The ARN of the base MicroVM image.</p>"""
    base_image_version: NotRequired["capo_lambda_microvms.types.version.Version"]
    """<p>The specific version of the base MicroVM image to use.</p>"""
    build_role_arn: "capo_lambda_microvms.types.role_arn.RoleArn"
    """<p>The ARN of the IAM build role.</p>"""
    description: NotRequired["str"]
    """<p>The description of the MicroVM image.</p>"""
    code_artifact: "capo_lambda_microvms.types.code_artifact.CodeArtifact"
    """<p>The code artifact containing the application code and metadata for the MicroVM image.</p>"""
    logging: NotRequired["capo_lambda_microvms.types.logging.Logging"]
    """<p>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.</p>"""
    egress_network_connectors: NotRequired[
        "capo_lambda_microvms.types.network_connector_list.NetworkConnectorList"
    ]
    """<p>The list of egress network connectors available to the MicroVM at image build time.</p>"""
    cpu_configurations: NotRequired[
        "capo_lambda_microvms.types.cpu_configuration_list.CpuConfigurationList"
    ]
    """<p>The list of supported CPU configurations for the MicroVM.</p>"""
    resources: NotRequired["capo_lambda_microvms.types.resources_list.ResourcesList"]
    """<p>The resource requirements for the MicroVM.</p>"""
    additional_os_capabilities: NotRequired[
        "capo_lambda_microvms.types.capability_list.CapabilityList"
    ]
    """<p>Additional OS capabilities granted to the MicroVM runtime environment.</p>"""
    hooks: NotRequired["capo_lambda_microvms.types.hooks.Hooks"]
    environment_variables: NotRequired[
        "capo_lambda_microvms.types.environment_variable_map.EnvironmentVariableMap"
    ]
    """<p>Environment variables set in the MicroVM runtime environment.</p>"""
    kms_key_identifier: NotRequired[
        "capo_lambda_microvms.types.kms_key_identifier.KmsKeyIdentifier"
    ]
    """<p>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:</p> <ul> <li> <p>Key ARN</p> </li> <li> <p>Alias ARN</p> </li> </ul> <p>If you don't specify a key, your MicroVM image version uses an Amazon Web Services owned key.</p>"""
    image_identifier: (
        "capo_lambda_microvms.types.microvm_image_identifier.MicrovmImageIdentifier"
    )
    """<p>The unique identifier (ARN or ID) of the MicroVM image to update.</p>"""
    client_token: NotRequired["str"]
    """<p>A unique, case-sensitive identifier you provide to ensure the idempotency of the request.</p>"""

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 base MicroVM image.

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 build role.

client_token instance-attribute

client_token: NotRequired[str]

A unique, case-sensitive identifier you provide to ensure the idempotency of the request.

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.

description instance-attribute

description: NotRequired[str]

The description of the MicroVM image.

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.

hooks instance-attribute

hooks: NotRequired[Hooks]

image_identifier instance-attribute

image_identifier: MicrovmImageIdentifier

The unique identifier (ARN or ID) of the MicroVM image to update.

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.

resources instance-attribute

resources: NotRequired[ResourcesList]

The resource requirements for the MicroVM.