Skip to content

ImageConfiguration

Source code in docs_src/capo_elastic_beanstalk/types/image_configuration.py
class ImageConfiguration(TypedDict, closed=True):
    source: NotRequired["capo_elastic_beanstalk.types.image_source.ImageSource"]
    """<p>The location of a container image that you built and pushed to a container registry yourself. Elastic Beanstalk deploys the image without a build step.</p> <p>If you specify <code>Source</code>, don't specify <code>Build</code> or the request's <code>SourceBundle</code> parameter.</p>"""
    build: NotRequired[
        "capo_elastic_beanstalk.types.image_build_configuration.ImageBuildConfiguration"
    ]
    """<p>Settings that Elastic Beanstalk uses to build a container image from the source bundle of the application version.</p> <p>If you specify <code>Build</code>, also specify the request's <code>SourceBundle</code> parameter, and don't specify <code>Source</code>.</p> <p>To build the image when you create the application version instead of on first deployment, also set <code>Process</code> to <code>true</code>.</p>"""

build instance-attribute

build: NotRequired[ImageBuildConfiguration]

Settings that Elastic Beanstalk uses to build a container image from the source bundle of the application version.

If you specify Build, also specify the request's SourceBundle parameter, and don't specify Source.

To build the image when you create the application version instead of on first deployment, also set Process to true.

source instance-attribute

source: NotRequired[ImageSource]

The location of a container image that you built and pushed to a container registry yourself. Elastic Beanstalk deploys the image without a build step.

If you specify Source, don't specify Build or the request's SourceBundle parameter.