Class ImageAbstract

Implements

Constructors

Methods

  • Creates an [Image] using the detailed build instructions provided in [build].

    Either a [name] or [repository] needs to be provided where the built image will be pushed to. If [repository] is provided, it will be used as-is. Otherwise, a new one will be created on-demand, using the [name] value.

    Parameters

    • name: string
    • build: Input<DockerBuild>

    Returns classic.ecs.Image

  • Parameters

    • repository: Repository
    • build: Input<DockerBuild>

    Returns classic.ecs.Image

  • Creates an [Image] given a path to a folder in which a Docker build should be run.

    Either a [name] or [repository] needs to be provided where the built image will be pushed to. If [repository] is provided, it will be used as-is. Otherwise, a new one will be created on-demand, using the [name] value.

    Parameters

    • name: string
    • path: Input<string>

    Returns classic.ecs.Image

  • Parameters

    • repository: Repository
    • path: Input<string>

    Returns classic.ecs.Image

Generated using TypeDoc