Package software.amazon.awscdk
Interface AssetStagingProps
- All Superinterfaces:
AssetOptions,CopyOptions,FingerprintOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AssetStagingProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:30.815Z")
@Stability(Stable)
public interface AssetStagingProps
extends software.amazon.jsii.JsiiSerializable, FingerprintOptions, AssetOptions
Initialization properties for
AssetStaging.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
DockerImage dockerImage;
ILocalBundling localBundling;
AssetStagingProps assetStagingProps = AssetStagingProps.builder()
.sourcePath("sourcePath")
// the properties below are optional
.assetHash("assetHash")
.assetHashType(AssetHashType.SOURCE)
.bundling(BundlingOptions.builder()
.image(dockerImage)
// the properties below are optional
.bundlingFileAccess(BundlingFileAccess.VOLUME_COPY)
.command(List.of("command"))
.entrypoint(List.of("entrypoint"))
.environment(Map.of(
"environmentKey", "environment"))
.local(localBundling)
.network("network")
.outputType(BundlingOutput.ARCHIVED)
.platform("platform")
.securityOpt("securityOpt")
.user("user")
.volumes(List.of(DockerVolume.builder()
.containerPath("containerPath")
.hostPath("hostPath")
// the properties below are optional
.consistency(DockerVolumeConsistency.CONSISTENT)
.build()))
.volumesFrom(List.of("volumesFrom"))
.workingDirectory("workingDirectory")
.build())
.exclude(List.of("exclude"))
.extraHash("extraHash")
.follow(SymlinkFollowMode.NEVER)
.ignoreMode(IgnoreMode.GLOB)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAssetStagingPropsstatic final classAn implementation forAssetStagingProps -
Method Summary
Modifier and TypeMethodDescriptionstatic AssetStagingProps.Builderbuilder()The source file or directory to copy from.Methods inherited from interface software.amazon.awscdk.AssetOptions
getAssetHash, getAssetHashType, getBundlingMethods inherited from interface software.amazon.awscdk.CopyOptions
getExclude, getFollow, getIgnoreModeMethods inherited from interface software.amazon.awscdk.FingerprintOptions
getExtraHashMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSourcePath
The source file or directory to copy from. -
builder
- Returns:
- a
AssetStagingProps.BuilderofAssetStagingProps
-