DockerImageAssetLocation

class aws_cdk.core.DockerImageAssetLocation(*, image_uri, repository_name)

Bases: object

The location of the published docker image.

This is where the image can be consumed at runtime.

Parameters:
  • image_uri (str) – The URI of the image in Amazon ECR.

  • repository_name (str) – The name of the ECR repository.

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.core as cdk

docker_image_asset_location = cdk.DockerImageAssetLocation(
    image_uri="imageUri",
    repository_name="repositoryName"
)

Attributes

image_uri

The URI of the image in Amazon ECR.

repository_name

The name of the ECR repository.