@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:04.489Z") @Stability(value=Experimental) 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
(experimental) The WINDOWS_SERVER_2019_CONTAINER environment type.
|
STANDARD
(experimental) 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=Experimental) public static final WindowsImageType STANDARD
@Stability(value=Experimental) 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.