Package software.amazon.awscdk.core
Interface AssetStagingProps
- All Superinterfaces:
AssetOptions
,CopyOptions
,FingerprintOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AssetStagingProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:54.794Z")
@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.core.*; 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) .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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAssetStagingProps
static final class
An implementation forAssetStagingProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic AssetStagingProps.Builder
builder()
The source file or directory to copy from.Methods inherited from interface software.amazon.awscdk.core.AssetOptions
getAssetHash, getAssetHashType, getBundling
Methods inherited from interface software.amazon.awscdk.core.CopyOptions
getExclude, getFollow, getIgnoreMode
Methods inherited from interface software.amazon.awscdk.core.FingerprintOptions
getExtraHash
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSourcePath
The source file or directory to copy from. -
builder
- Returns:
- a
AssetStagingProps.Builder
ofAssetStagingProps
-