@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.295Z") @Stability(value=Stable) public interface BuildEnvironmentCertificate extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
BuildEnvironmentCertificate.Builder
A builder for
BuildEnvironmentCertificate |
static class |
BuildEnvironmentCertificate.Jsii$Proxy
An implementation for
BuildEnvironmentCertificate |
| Modifier and Type | Method and Description |
|---|---|
static BuildEnvironmentCertificate.Builder |
builder() |
IBucket |
getBucket()
The bucket where the certificate is.
|
String |
getObjectKey()
The full path and name of the key file.
|
@Stability(value=Stable) @NotNull IBucket getBucket()
@Stability(value=Stable) @NotNull String getObjectKey()
@Stability(value=Stable) static BuildEnvironmentCertificate.Builder builder()
Copyright © 2022. All rights reserved.