DockerImageAssetLocation
The location of the published docker image.
This is where the image can be consumed at runtime.
Initializer
import com.aliyun.ros.cdk.core.DockerImageAssetLocation;
DockerImageAssetLocation.builder()
.imageUri(java.lang.String)
.repositoryName(java.lang.String)
// .imageTag(java.lang.String)
.build();
Properties
Name | Type | Description |
---|---|---|
imageUri |
java.lang.String |
The URI of the image in Aliyun ACR (including a tag). |
repositoryName |
java.lang.String |
The name of the ACR repository. |
imageTag |
java.lang.String |
The tag of the image in Aliyun ACR. |
imageUri
Required
public java.lang.String getImageUri();
- Type: java.lang.String
The URI of the image in Aliyun ACR (including a tag).
repositoryName
Required
public java.lang.String getRepositoryName();
- Type: java.lang.String
The name of the ACR repository.
imageTag
Optional
public java.lang.String getImageTag();
- Type: java.lang.String
- Default: the hash of the asset, or the
dockerTagPrefix
concatenated with the asset hash if adockerTagPrefix
is specified in the stack synthesizer
The tag of the image in Aliyun ACR.