DockerImageAssetLocation
- class aws_cdk.DockerImageAssetLocation(*, image_uri, repository_name, image_tag=None)
- 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 (including a tag).
- repository_name ( - str) – The name of the ECR repository.
- image_tag ( - Optional[- str]) – The tag of the image in Amazon ECR. Default: - the hash of the asset, or the- dockerTagPrefixconcatenated with the asset hash if a- dockerTagPrefixis specified in the stack synthesizer
 
- 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 as cdk docker_image_asset_location = cdk.DockerImageAssetLocation( image_uri="imageUri", repository_name="repositoryName", # the properties below are optional image_tag="imageTag" ) - Attributes - image_tag
- The tag of the image in Amazon ECR. - Default:
- the hash of the asset, or the - dockerTagPrefixconcatenated with the asset hash if a- dockerTagPrefixis specified in the stack synthesizer
 
 
 - image_uri
- The URI of the image in Amazon ECR (including a tag). 
 - repository_name
- The name of the ECR repository.