DockerfileTemplateConfig

class aws_cdk.aws_imagebuilder_alpha.DockerfileTemplateConfig(*, dockerfile_template_data=None, dockerfile_template_uri=None)

Bases: object

(experimental) The rendered Dockerfile value, for use in CloudFormation.

  • For inline dockerfiles, dockerfileTemplateData is the Dockerfile template text

  • For S3-backed dockerfiles, dockerfileTemplateUri is the S3 URL

Parameters:
  • dockerfile_template_data (Optional[str]) – (experimental) The rendered Dockerfile data, for use in CloudFormation. Default: - none if dockerfileTemplateUri is set

  • dockerfile_template_uri (Optional[str]) – (experimental) The rendered Dockerfile URI, for use in CloudFormation. Default: - none if dockerfileTemplateData is set

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_imagebuilder_alpha as imagebuilder_alpha

dockerfile_template_config = imagebuilder_alpha.DockerfileTemplateConfig(
    dockerfile_template_data="dockerfileTemplateData",
    dockerfile_template_uri="dockerfileTemplateUri"
)

Attributes

dockerfile_template_data

(experimental) The rendered Dockerfile data, for use in CloudFormation.

Default:
  • none if dockerfileTemplateUri is set

Stability:

experimental

dockerfile_template_uri

(experimental) The rendered Dockerfile URI, for use in CloudFormation.

Default:
  • none if dockerfileTemplateData is set

Stability:

experimental