@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.419Z") @Stability(value=Stable) public class GenericWindowsImage extends software.amazon.jsii.JsiiObject implements IMachineImage
Allows you to create a generic Windows EC2 , manually specify an AMI map.
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;
GenericWindowsImage genericWindowsImage = GenericWindowsImage.Builder.create(Map.of(
"amiMapKey", "amiMap"))
.userData(userData)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericWindowsImage.Builder
A fluent builder for
GenericWindowsImage. |
software.amazon.jsii.JsiiObject.InitializationModeIMachineImage.Jsii$Default, IMachineImage.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
GenericWindowsImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GenericWindowsImage(software.amazon.jsii.JsiiObjectRef objRef) |
|
GenericWindowsImage(Map<String,String> amiMap) |
|
GenericWindowsImage(Map<String,String> amiMap,
GenericWindowsImageProps props) |
| Modifier and Type | Method and Description |
|---|---|
MachineImageConfig |
getImage(software.constructs.Construct scope)
Return the image to use in the given context.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected GenericWindowsImage(software.amazon.jsii.JsiiObjectRef objRef)
protected GenericWindowsImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public GenericWindowsImage(@NotNull
Map<String,String> amiMap,
@Nullable
GenericWindowsImageProps props)
amiMap - This parameter is required.props - @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.