We announced the upcoming end-of-support for the AWS CLI v1. For dates, additional details, and information on how to migrate, please refer to the linked announcement. For more information see the AWS CLI version 2 installation instructions and migration guide.
[ aws . lambda-microvms ]
Updates the status of a specific MicroVM image version.
See also: AWS API Documentation
update-microvm-image-version
--image-identifier <value>
--image-version <value>
--status <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--v2-debug]
--image-identifier (string)
The unique identifier (ARN or ID) of the MicroVM image.
--image-version (string)
The version of the MicroVM image to update.
--status (string)
The new status to set for the MicroVM image version.
Possible values:
ACTIVEINACTIVE
--cli-input-json (string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.
--generate-cli-skeleton (string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--v2-debug (boolean)
Enable AWS CLI v2 migration assistance. Prints warnings if the command would face a breaking change after swapping AWS CLI v1 for AWS CLI v2 in the current environment. Prints one warning for each breaking change detected.
baseImageArn -> (string)
The ARN of the base MicroVM image used.
baseImageVersion -> (string)
The specific version of the base MicroVM image.
buildRoleArn -> (string)
The ARN of the IAM build role.
description -> (string)
The description of the version.
codeArtifact -> (tagged union structure)
The code artifact for this version.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:uri.uri -> (string)
The URI of the code artifact, such as an Amazon S3 path or Amazon ECR image URI.
logging -> (tagged union structure)
The logging configuration for this version.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:disabled,cloudWatch.disabled -> (structure)
Specifies that logging is disabled.cloudWatch -> (structure)
Configuration for sending logs to Amazon CloudWatch Logs.
logGroup -> (string)
The name of the CloudWatch Logs log group to send logs to.logStream -> (string)
The name of the CloudWatch Logs log stream within the log group.
egressNetworkConnectors -> (list)
The list of egress network connectors available to the MicroVM at runtime.
(string)
cpuConfigurations -> (list)
The list of supported CPU configurations for the MicroVM.
(structure)
Configuration for the CPU architecture of a MicroVM.
architecture -> (string)
The CPU architecture.
resources -> (list)
The resource requirements for the MicroVM.
(structure)
Resource requirements for a MicroVM.
minimumMemoryInMiB -> (integer)
The minimum amount of memory in MiB to allocate to the MicroVM.
additionalOsCapabilities -> (list)
Additional OS capabilities granted to the MicroVM runtime environment.
(string)
Capability granted to the application when booted
hooks -> (structure)
Lifecycle hook configuration for MicroVMs and MicroVM images.
port -> (integer)
The port number on which the hooks listener runs.microvmHooks -> (structure)
The lifecycle hooks for MicroVM events.
run -> (string)
The path of the hook invoked when the MicroVM starts running.runTimeoutInSeconds -> (integer)
The maximum time in seconds for the run hook to complete.resume -> (string)
The path of the hook invoked when the MicroVM resumes from a suspended state.resumeTimeoutInSeconds -> (integer)
The maximum time in seconds for the resume hook to complete.suspend -> (string)
The path of the hook invoked when the MicroVM is suspended.suspendTimeoutInSeconds -> (integer)
The maximum time in seconds for the suspend hook to complete.terminate -> (string)
The path of the hook invoked when the MicroVM is terminated.terminateTimeoutInSeconds -> (integer)
The maximum time in seconds for the terminate hook to complete.microvmImageHooks -> (structure)
The hooks for MicroVM image build events.
ready -> (string)
The path of the hook invoked when the MicroVM image build is ready.readyTimeoutInSeconds -> (integer)
The maximum time in seconds for the ready hook to complete.validate -> (string)
The path of the hook invoked to validate the MicroVM image build.validateTimeoutInSeconds -> (integer)
The maximum time in seconds for the validate hook to complete.
environmentVariables -> (map)
Environment variables set in the MicroVM runtime environment.
key -> (string)
value -> (string)
imageArn -> (string)
The ARN of the MicroVM image.
imageVersion -> (string)
The version of the MicroVM image.
state -> (string)
The current state of the version.
status -> (string)
The availability status of the version: ACTIVE (can be used by RunMicrovm) or INACTIVE (blocked from launching new MicroVMs).
createdAt -> (timestamp)
The timestamp when the version was created.
updatedAt -> (timestamp)
The timestamp when the version was last updated.
stateReason -> (string)
The reason for the current state. For example, one or more builds failed.
tags -> (map)
Key-value pairs associated with the version.
key -> (string)
value -> (string)