WindowsImageType

class aws_cdk.aws_codebuild.WindowsImageType(value)

Bases: Enum

Environment type for Windows Docker images.

ExampleMetadata:

infused

Example:

# ecr_repository: ecr.Repository


codebuild.Project(self, "Project",
    environment=codebuild.BuildEnvironment(
        build_image=codebuild.WindowsBuildImage.from_ecr_repository(ecr_repository, "v1.0", codebuild.WindowsImageType.SERVER_2019),
        # optional certificate to include in the build image
        certificate=codebuild.BuildEnvironmentCertificate(
            bucket=s3.Bucket.from_bucket_name(self, "Bucket", "my-bucket"),
            object_key="path/to/cert.pem"
        )
    )
)

Attributes

SERVER_2019

The WINDOWS_SERVER_2019_CONTAINER environment type.

STANDARD

The standard environment type, WINDOWS_CONTAINER.