interface BuildEnvironmentCertificate
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.CodeBuild.BuildEnvironmentCertificate | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#BuildEnvironmentCertificate | 
|  Java | software.amazon.awscdk.services.codebuild.BuildEnvironmentCertificate | 
|  Python | aws_cdk.aws_codebuild.BuildEnvironmentCertificate | 
|  TypeScript (source) | aws-cdk-lib»aws_codebuild»BuildEnvironmentCertificate | 
Location of a PEM certificate on S3.
Example
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',
    },
  },
  // ...
})
Properties
| Name | Type | Description | 
|---|---|---|
| bucket | IBucket | The bucket where the certificate is. | 
| object | string | The full path and name of the key file. | 
bucket
Type:
IBucket
The bucket where the certificate is.
objectKey
Type:
string
The full path and name of the key file.
