@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.370Z") @Stability(value=Stable) public enum WindowsImageType extends Enum<WindowsImageType>
Example:
Repository ecrRepository;
Project.Builder.create(this, "Project")
.environment(BuildEnvironment.builder()
.buildImage(WindowsBuildImage.fromEcrRepository(ecrRepository, "v1.0", WindowsImageType.SERVER_2019))
// optional certificate to include in the build image
.certificate(BuildEnvironmentCertificate.builder()
.bucket(Bucket.fromBucketName(this, "Bucket", "my-bucket"))
.objectKey("path/to/cert.pem")
.build())
.build())
.build();
| Enum Constant and Description |
|---|
SERVER_2019
The WINDOWS_SERVER_2019_CONTAINER environment type.
|
STANDARD
The standard environment type, WINDOWS_CONTAINER.
|
| Modifier and Type | Method and Description |
|---|---|
static WindowsImageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WindowsImageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final WindowsImageType STANDARD
@Stability(value=Stable) public static final WindowsImageType SERVER_2019
public static WindowsImageType[] values()
for (WindowsImageType c : WindowsImageType.values()) System.out.println(c);
public static WindowsImageType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.