Class BuildEnvironmentCertificate
Location of a PEM certificate on S3.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class BuildEnvironmentCertificate : Object, IBuildEnvironmentCertificate
Syntax (vb)
Public Class BuildEnvironmentCertificate
Inherits Object
Implements IBuildEnvironmentCertificate
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", "amzn-s3-demo-bucket"),
ObjectKey = "path/to/cert.pem"
}
}
});
Synopsis
Constructors
Build |
Properties
Bucket | The bucket where the certificate is. |
Object |
The full path and name of the key file. |
Constructors
BuildEnvironmentCertificate()
public BuildEnvironmentCertificate()
Properties
Bucket
ObjectKey
The full path and name of the key file.
public string ObjectKey { get; set; }
Property Value
System.