Interface CfnMicrovmImageProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMicrovmImageProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)",
date="2026-07-02T13:32:41.778Z")
@Stability(Stable)
public interface CfnMicrovmImageProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnMicrovmImage.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;
CfnMicrovmImageProps cfnMicrovmImageProps = CfnMicrovmImageProps.builder()
.additionalOsCapabilities(List.of("additionalOsCapabilities"))
.baseImageArn("baseImageArn")
.baseImageVersion("baseImageVersion")
.buildRoleArn("buildRoleArn")
.codeArtifact(CodeArtifactProperty.builder()
.uri("uri")
.build())
.cpuConfigurations(List.of(CpuConfigurationProperty.builder()
.architecture("architecture")
.build()))
.description("description")
.egressNetworkConnectors(List.of("egressNetworkConnectors"))
.environmentVariables(List.of(EnvironmentVariableProperty.builder()
.key("key")
.value("value")
.build()))
.hooks(HooksProperty.builder()
.microvmHooks(MicrovmHooksProperty.builder()
.resume("resume")
.resumeTimeoutInSeconds(123)
.run("run")
.runTimeoutInSeconds(123)
.suspend("suspend")
.suspendTimeoutInSeconds(123)
.terminate("terminate")
.terminateTimeoutInSeconds(123)
.build())
.microvmImageHooks(MicrovmImageHooksProperty.builder()
.ready("ready")
.readyTimeoutInSeconds(123)
.validate("validate")
.validateTimeoutInSeconds(123)
.build())
.port(123)
.build())
.logging(LoggingProperty.builder()
.cloudWatch(CloudWatchLoggingProperty.builder()
.logGroup("logGroup")
.logStream("logStream")
.build())
.disabled(false)
.build())
.name("name")
.resources(List.of(ResourcesProperty.builder()
.minimumMemoryInMiB(123)
.build()))
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMicrovmImagePropsstatic final classAn implementation forCfnMicrovmImageProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnMicrovmImageProps.Builderbuilder()ARN of the base MicroVM image.Specific version of the base MicroVM image to use.ARN of the IAM build role.Returns union: eitherIResolvableorCfnMicrovmImage.CodeArtifactPropertyReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnMicrovmImage.CpuConfigurationProperty>Human-readable description of the MicroVM image and its purpose.Environment variables to set in the container during the snapshot build.getHooks()Returns union: eitherIResolvableorCfnMicrovmImage.HooksPropertyReturns union: eitherIResolvableorCfnMicrovmImage.LoggingPropertygetName()Unique name for the MicroVM image within the account.Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnMicrovmImage.ResourcesProperty>getTags()Key-value pairs to associate with the MicroVM image for organization and management.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdditionalOsCapabilities
- See Also:
-
getBaseImageArn
ARN of the base MicroVM image.- See Also:
-
getBaseImageVersion
Specific version of the base MicroVM image to use.- See Also:
-
getBuildRoleArn
ARN of the IAM build role.- See Also:
-
getCodeArtifact
Returns union: eitherIResolvableorCfnMicrovmImage.CodeArtifactProperty- See Also:
-
getCpuConfigurations
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnMicrovmImage.CpuConfigurationProperty>- See Also:
-
getDescription
Human-readable description of the MicroVM image and its purpose.- See Also:
-
getEgressNetworkConnectors
- See Also:
-
getEnvironmentVariables
Environment variables to set in the container during the snapshot build.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnMicrovmImage.EnvironmentVariableProperty>- See Also:
-
getHooks
Returns union: eitherIResolvableorCfnMicrovmImage.HooksProperty- See Also:
-
getLogging
Returns union: eitherIResolvableorCfnMicrovmImage.LoggingProperty- See Also:
-
getName
Unique name for the MicroVM image within the account.- See Also:
-
getResources
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnMicrovmImage.ResourcesProperty>- See Also:
-
getTags
Key-value pairs to associate with the MicroVM image for organization and management.- See Also:
-
builder
- Returns:
- a
CfnMicrovmImageProps.BuilderofCfnMicrovmImageProps
-