DockerImageOptions

class aws_cdk.aws_codebuild.DockerImageOptions(*, secrets_manager_credentials=None)

Bases: object

__init__(*, secrets_manager_credentials=None)

The options when creating a CodeBuild Docker build image using {@link LinuxBuildImage.fromDockerRegistry} or {@link WindowsBuildImage.fromDockerRegistry}.

Parameters

secrets_manager_credentials (Optional[ISecret]) – The credentials, stored in Secrets Manager, used for accessing the repository holding the image, if the repository is private. Default: no credentials will be used (we assume the repository is public)

Return type

None

Attributes

secrets_manager_credentials

The credentials, stored in Secrets Manager, used for accessing the repository holding the image, if the repository is private.

default :default: no credentials will be used (we assume the repository is public)

Return type

Optional[ISecret]