interface DockerImageOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodeBuild.DockerImageOptions |
Java | software.amazon.awscdk.services.codebuild.DockerImageOptions |
Python | aws_cdk.aws_codebuild.DockerImageOptions |
TypeScript (source) | @aws-cdk/aws-codebuild » DockerImageOptions |
The options when creating a CodeBuild Docker build image using {@link LinuxBuildImage.fromDockerRegistry} or {@link WindowsBuildImage.fromDockerRegistry}.
Example
environment: {
buildImage: codebuild.LinuxBuildImage.fromDockerRegistry('my-registry/my-repo', {
secretsManagerCredentials: secrets,
}),
},
Properties
| Name | Type | Description |
|---|---|---|
| secrets | ISecret | The credentials, stored in Secrets Manager, used for accessing the repository holding the image, if the repository is private. |
secretsManagerCredentials?
Type:
ISecret
(optional, default: no credentials will be used (we assume the repository is public))
The credentials, stored in Secrets Manager, used for accessing the repository holding the image, if the repository is private.

.NET
Java
Python
TypeScript (