Class WindowsImageType
Environment type for Windows Docker images.
Inheritance
System.Object
WindowsImageType
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class WindowsImageType : Enum
Syntax (vb)
Public NotInheritable Class WindowsImageType
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
Repository ecrRepository;
new Project(this, "Project", new ProjectProps {
Environment = new BuildEnvironment {
BuildImage = WindowsBuildImage.FromEcrRepository(ecrRepository, "v1.0", WindowsImageType.SERVER_2019),
// optional certificate to include in the build image
Certificate = new BuildEnvironmentCertificate {
Bucket = Bucket.FromBucketName(this, "Bucket", "my-bucket"),
ObjectKey = "path/to/cert.pem"
}
}
});
Synopsis
Fields
SERVER_2019 | The WINDOWS_SERVER_2019_CONTAINER environment type. |
STANDARD | The standard environment type, WINDOWS_CONTAINER. |
value__ |
Fields
SERVER_2019
The WINDOWS_SERVER_2019_CONTAINER environment type.
public const WindowsImageType SERVER_2019
Field Value
Type | Description |
---|---|
WindowsImageType |
STANDARD
The standard environment type, WINDOWS_CONTAINER.
public const WindowsImageType STANDARD
Field Value
Type | Description |
---|---|
WindowsImageType |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |