MicrovmsImageArgs class
The set of arguments for MicrovmsImage. The set of arguments for MicrovmsImage.
Constructors
-
MicrovmsImageArgs({Input<
List< ? additionalOsCapabilities, required Input<String> ?>String> baseImageArn, Input<String?> ? baseImageVersion, required Input<String> buildRoleArn, required Input<MicrovmsImageCodeArtifact> codeArtifact, Input<List< ? cpuConfigurations, Input<MicrovmsImageCpuConfiguration> ?>String?> ? description, Input<List< ? egressNetworkConnectors, Input<String> ?>Map< ? environmentVariables, Input<String, String> ?>String?> ? name, Input<String?> ? region, Input<Map< ? tags, Input<String, String> ?>MicrovmsImageTimeouts?> ? timeouts}) -
Creates a new MicrovmsImageArgs.
additionalOsCapabilitiesList of additional OS capabilities granted to the MicroVM runtime environment. Valid values:ALL.baseImageArnARN of the base MicroVM image. AWS-managed base images use ARNs of the formarn:aws:lambda:<region>:aws:microvm-image:al2023-1.baseImageVersionMajor version number of the base MicroVM image to use (e.g.,1). If omitted, the service selects a version.buildRoleArnARN of the IAM role used to build the image. The role must be assumable bylambda.amazonaws.comand have access to the code artifact.codeArtifactCode artifact containing the application code and metadata for the image. See below.cpuConfigurationsCPU configuration for the MicroVM. SeecpuConfigurationBlock below.descriptionDescription of the MicroVM image.egressNetworkConnectorsList of egress network connectors available to the MicroVM at runtime. Defaults to["INTERNET_EGRESS"].environmentVariablesMap of environment variables set in the MicroVM runtime environment.nameName of the MicroVM image. Changing this value creates a new resource.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsMap of tags assigned to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.timeoutsOptional.const -
MicrovmsImageArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
additionalOsCapabilities
→ Input<
List< ?String> ?> -
List of additional OS capabilities granted to the MicroVM runtime environment. Valid values:
ALL.final -
baseImageArn
→ Input<
String> -
ARN of the base MicroVM image. AWS-managed base images use ARNs of the form
arn:aws:lambda:<region>:aws:microvm-image:al2023-1.final -
baseImageVersion
→ Input<
String?> ? -
Major version number of the base MicroVM image to use (e.g.,
1). If omitted, the service selects a version.final -
buildRoleArn
→ Input<
String> -
ARN of the IAM role used to build the image. The role must be assumable by
lambda.amazonaws.comand have access to the code artifact.final -
codeArtifact
→ Input<
MicrovmsImageCodeArtifact> -
Code artifact containing the application code and metadata for the image. See below.
final
-
cpuConfigurations
→ Input<
List< ?MicrovmsImageCpuConfiguration> ?> -
CPU configuration for the MicroVM. See
cpuConfigurationBlock below.final -
description
→ Input<
String?> ? -
Description of the MicroVM image.
final
-
egressNetworkConnectors
→ Input<
List< ?String> ?> -
List of egress network connectors available to the MicroVM at runtime. Defaults to
["INTERNET_EGRESS"].final -
environmentVariables
→ Input<
Map< ?String, String> ?> -
Map of environment variables set in the MicroVM runtime environment.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
Name of the MicroVM image. Changing this value creates a new resource.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
timeouts
→ Input<
MicrovmsImageTimeouts?> ? -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited