Interface MachineImageConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MachineImageConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:07.180Z")
@Stability(Stable)
public interface MachineImageConfig
extends software.amazon.jsii.JsiiSerializable
Configuration for a machine image.
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.ec2.*; UserData userData; MachineImageConfig machineImageConfig = MachineImageConfig.builder() .imageId("imageId") .osType(OperatingSystemType.LINUX) .userData(userData) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forMachineImageConfig
static final class
An implementation forMachineImageConfig
-
Method Summary
Modifier and TypeMethodDescriptionstatic MachineImageConfig.Builder
builder()
The AMI ID of the image to use.Operating system type for this image.Initial UserData for this image.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getImageId
The AMI ID of the image to use. -
getOsType
Operating system type for this image. -
getUserData
Initial UserData for this image. -
builder
- Returns:
- a
MachineImageConfig.Builder
ofMachineImageConfig
-