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. Default: - The Dockerfile immediately within the build context path

Attributes

build_args

Build args.

Default
  • no build args

Return type

Optional[Mapping[str, str]]

file

Name of the Dockerfile.

Default
  • The Dockerfile immediately within the build context path

Return type

Optional[str]