@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.578Z") @Stability(value=Stable) public class BottleRocketImage extends software.amazon.jsii.JsiiObject implements IMachineImage
Example:
Cluster cluster;
cluster.addCapacity("bottlerocket-asg", AddCapacityOptions.builder()
.minCapacity(2)
.instanceType(new InstanceType("c5.large"))
.machineImage(new BottleRocketImage())
.build());
| Modifier and Type | Class and Description |
|---|---|
static class |
BottleRocketImage.Builder
A fluent builder for
BottleRocketImage. |
software.amazon.jsii.JsiiObject.InitializationModeIMachineImage.Jsii$Default, IMachineImage.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
BottleRocketImage()
Constructs a new instance of the BottleRocketImage class.
|
|
BottleRocketImage(BottleRocketImageProps props)
Constructs a new instance of the BottleRocketImage class.
|
protected |
BottleRocketImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
BottleRocketImage(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
MachineImageConfig |
getImage(software.constructs.Construct scope)
Return the correct image.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected BottleRocketImage(software.amazon.jsii.JsiiObjectRef objRef)
protected BottleRocketImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public BottleRocketImage(@Nullable
BottleRocketImageProps props)
props - @Stability(value=Stable) public BottleRocketImage()
@Stability(value=Stable) @NotNull public MachineImageConfig getImage(@NotNull software.constructs.Construct scope)
getImage in interface IMachineImagescope - This parameter is required.Copyright © 2022. All rights reserved.