DockerBuildOptions

class aws_cdk.core.DockerBuildOptions(*, build_args=None, file=None)

Bases: object

Docker build options.

Parameters
  • build_args (Optional[Mapping[str, str]]) – Build args. Default: - no build args

  • file (Optional[str]) – Name of the Dockerfile, must relative to the docker build path. Default: Dockerfile

Attributes

build_args

Build args.

Default
  • no build args

Return type

Optional[Mapping[str, str]]

file

Name of the Dockerfile, must relative to the docker build path.

Default

Dockerfile

Return type

Optional[str]