# WindowsImageType

Environment type for Windows Docker images.

- Source: [`aws-codebuild/lib/project.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-codebuild/lib/project.ts#L2020)
- Type last changed: v2.145.0 · 7 Jun 2024

## Example

```ts
declare const ecrRepository: ecr.Repository;

new codebuild.Project(this, 'Project', {
  environment: {
    buildImage: codebuild.WindowsBuildImage.fromEcrRepository(ecrRepository, 'v1.0', codebuild.WindowsImageType.SERVER_2019),
    // optional certificate to include in the build image
    certificate: {
      bucket: s3.Bucket.fromBucketName(this, 'Bucket', 'amzn-s3-demo-bucket'),
      objectKey: 'path/to/cert.pem',
    },
  },
  // ...
})
```

## Members

| Member | Description |
| --- | --- |
| `STANDARD` | The standard environment type, WINDOWS_CONTAINER. |
| `SERVER_2019` | The WINDOWS_SERVER_2019_CONTAINER environment type. |
| `SERVER_2022` | The WINDOWS_SERVER_2022_CONTAINER environment type. |
