Interface DockerImageAsset
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DockerImageAsset.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-07-30T08:06:26.697Z") @Stability(Stable) public interface DockerImageAsset extends software.amazon.jsii.JsiiSerializable
A file asset.Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.cloudassembly.schema.*; Object assumeRoleAdditionalOptions; DockerImageAsset dockerImageAsset = DockerImageAsset.builder() .destinations(Map.of( "destinationsKey", DockerImageDestination.builder() .imageTag("imageTag") .repositoryName("repositoryName") // the properties below are optional .assumeRoleAdditionalOptions(Map.of( "assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions)) .assumeRoleArn("assumeRoleArn") .assumeRoleExternalId("assumeRoleExternalId") .region("region") .build())) .source(DockerImageSource.builder() .cacheDisabled(false) .cacheFrom(List.of(DockerCacheOption.builder() .type("type") // the properties below are optional .params(Map.of( "paramsKey", "params")) .build())) .cacheTo(DockerCacheOption.builder() .type("type") // the properties below are optional .params(Map.of( "paramsKey", "params")) .build()) .directory("directory") .dockerBuildArgs(Map.of( "dockerBuildArgsKey", "dockerBuildArgs")) .dockerBuildContexts(Map.of( "dockerBuildContextsKey", "dockerBuildContexts")) .dockerBuildSecrets(Map.of( "dockerBuildSecretsKey", "dockerBuildSecrets")) .dockerBuildSsh("dockerBuildSsh") .dockerBuildTarget("dockerBuildTarget") .dockerFile("dockerFile") .dockerOutputs(List.of("dockerOutputs")) .executable(List.of("executable")) .networkMode("networkMode") .platform("platform") .build()) // the properties below are optional .displayName("displayName") .build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDockerImageAsset.BuilderA builder forDockerImageAssetstatic classDockerImageAsset.Jsii$ProxyAn implementation forDockerImageAsset
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static DockerImageAsset.Builderbuilder()Map<String,DockerImageDestination>getDestinations()Destinations for this container asset.default StringgetDisplayName()A display name for this asset.DockerImageSourcegetSource()Source description for container assets.
-
-
-
Method Detail
-
getDestinations
@Stability(Stable) @NotNull Map<String,DockerImageDestination> getDestinations()
Destinations for this container asset.
-
getSource
@Stability(Stable) @NotNull DockerImageSource getSource()
Source description for container assets.
-
getDisplayName
@Stability(Stable) @Nullable default String getDisplayName()
A display name for this asset.Default: - The identifier will be used as the display name
-
builder
@Stability(Stable) static DockerImageAsset.Builder builder()
- Returns:
- a
DockerImageAsset.BuilderofDockerImageAsset
-
-