@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.482Z") @Stability(value=Stable) public interface MachineImageConfig extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
MachineImageConfig.Builder
A builder for
MachineImageConfig |
static class |
MachineImageConfig.Jsii$Proxy
An implementation for
MachineImageConfig |
| Modifier and Type | Method and Description |
|---|---|
static MachineImageConfig.Builder |
builder() |
String |
getImageId()
The AMI ID of the image to use.
|
OperatingSystemType |
getOsType()
Operating system type for this image.
|
UserData |
getUserData()
Initial UserData for this image.
|
@Stability(value=Stable) @NotNull String getImageId()
@Stability(value=Stable) @NotNull OperatingSystemType getOsType()
@Stability(value=Stable) @NotNull UserData getUserData()
@Stability(value=Stable) static MachineImageConfig.Builder builder()
MachineImageConfig.Builder of MachineImageConfigCopyright © 2022. All rights reserved.