@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:35.793Z") @Stability(value=Stable) public interface AssetStagingProps extends software.amazon.jsii.JsiiSerializable, FingerprintOptions, AssetOptions
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
.command(List.of("command"))
.entrypoint(List.of("entrypoint"))
.environment(Map.of(
"environmentKey", "environment"))
.local(localBundling)
.network("network")
.outputType(BundlingOutput.ARCHIVED)
.securityOpt("securityOpt")
.user("user")
.volumes(List.of(DockerVolume.builder()
.containerPath("containerPath")
.hostPath("hostPath")
// the properties below are optional
.consistency(DockerVolumeConsistency.CONSISTENT)
.build()))
.workingDirectory("workingDirectory")
.build())
.exclude(List.of("exclude"))
.extraHash("extraHash")
.follow(SymlinkFollowMode.NEVER)
.ignoreMode(IgnoreMode.GLOB)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AssetStagingProps.Builder
A builder for
AssetStagingProps |
static class |
AssetStagingProps.Jsii$Proxy
An implementation for
AssetStagingProps |
| Modifier and Type | Method and Description |
|---|---|
static AssetStagingProps.Builder |
builder() |
String |
getSourcePath()
The source file or directory to copy from.
|
getExtraHashgetExclude, getFollow, getIgnoreModegetAssetHash, getAssetHashType, getBundling@Stability(value=Stable) @NotNull String getSourcePath()
@Stability(value=Stable) static AssetStagingProps.Builder builder()
builder in interface AssetOptionsbuilder in interface CopyOptionsbuilder in interface FingerprintOptionsAssetStagingProps.Builder of AssetStagingPropsCopyright © 2022. All rights reserved.