MicrovmsImageArgs constructor
- Input<
List< ? additionalOsCapabilities,String> ?> - required Input<
String> baseImageArn, - Input<
String?> ? baseImageVersion, - required Input<
String> buildRoleArn, - required Input<
MicrovmsImageCodeArtifact> codeArtifact, - Input<
List< ? cpuConfigurations,MicrovmsImageCpuConfiguration> ?> - Input<
String?> ? description, - Input<
List< ? egressNetworkConnectors,String> ?> - Input<
Map< ? environmentVariables,String, String> ?> - Input<
String?> ? name, - Input<
String?> ? region, - Input<
Map< ? tags,String, String> ?> - Input<
MicrovmsImageTimeouts?> ? timeouts,
Creates a new MicrovmsImageArgs.
additionalOsCapabilities List of additional OS capabilities granted to the MicroVM runtime environment. Valid values: ALL.
baseImageArn ARN of the base MicroVM image. AWS-managed base images use ARNs of the form arn:aws:lambda:<region>:aws:microvm-image:al2023-1.
baseImageVersion Major version number of the base MicroVM image to use (e.g., 1). If omitted, the service selects a version.
buildRoleArn ARN of the IAM role used to build the image. The role must be assumable by lambda.amazonaws.com and have access to the code artifact.
codeArtifact Code artifact containing the application code and metadata for the image. See below.
cpuConfigurations CPU configuration for the MicroVM. See cpuConfiguration Block below.
description Description of the MicroVM image.
egressNetworkConnectors List of egress network connectors available to the MicroVM at runtime. Defaults to ["INTERNET_EGRESS"].
environmentVariables Map of environment variables set in the MicroVM runtime environment.
name Name of the MicroVM image. Changing this value creates a new resource.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
tags Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
timeouts Optional.
Implementation
const MicrovmsImageArgs({
this.additionalOsCapabilities,
required this.baseImageArn,
this.baseImageVersion,
required this.buildRoleArn,
required this.codeArtifact,
this.cpuConfigurations,
this.description,
this.egressNetworkConnectors,
this.environmentVariables,
this.name,
this.region,
this.tags,
this.timeouts,
});