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.104.0 (build e79254c)",
date="2024-11-22T02:23:55.650Z")
@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
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.AssetOptions
getAssetHash, getAssetHashType, getBundling
Methods inherited from interface software.amazon.awscdk.CopyOptions
getExclude, getFollow, getIgnoreMode
Methods inherited from interface software.amazon.awscdk.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
-