@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:17.264Z") @Stability(value=Experimental) public class TagParameterContainerImage extends ContainerImage
ContainerImage that uses an ECR repository for the image, but a CloudFormation Parameter for the tag of the image in that repository.
This allows providing this tag through the Parameter at deploy time, for example in a CodePipeline that pushes a new tag of the image to the repository during a build step, and then provides that new tag through the CloudFormation Parameter in the deploy step.
#tagParameterName| Modifier | Constructor and Description |
|---|---|
|
TagParameterContainerImage(IRepository repository) |
protected |
TagParameterContainerImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
TagParameterContainerImage(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
ContainerImageConfig |
bind(software.constructs.Construct scope,
ContainerDefinition containerDefinition)
(experimental) Called when the image is used by a ContainerDefinition.
|
String |
getTagParameterName()
(experimental) Returns the name of the CloudFormation Parameter that represents the tag of the image in the ECR repository.
|
String |
getTagParameterValue()
(experimental) Returns the value of the CloudFormation Parameter that represents the tag of the image in the ECR repository.
|
fromAsset, fromAsset, fromDockerImageAsset, fromEcrRepository, fromEcrRepository, fromRegistry, fromRegistryjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected TagParameterContainerImage(software.amazon.jsii.JsiiObjectRef objRef)
protected TagParameterContainerImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public TagParameterContainerImage(@NotNull
IRepository repository)
repository - This parameter is required.@Stability(value=Experimental) @NotNull public ContainerImageConfig bind(@NotNull software.constructs.Construct scope, @NotNull ContainerDefinition containerDefinition)
bind in class ContainerImagescope - This parameter is required.containerDefinition - This parameter is required.@Stability(value=Experimental) @NotNull public String getTagParameterName()
@Stability(value=Experimental) @NotNull public String getTagParameterValue()
Copyright © 2021. All rights reserved.