@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.822Z") @Stability(value=Stable) public interface AssetProps extends software.amazon.jsii.JsiiSerializable, AssetOptions
Asset asset = Asset.Builder.create(this, "BundledAsset")
.path(join(__dirname, "markdown-asset")) // /asset-input and working directory in the container
.bundling(BundlingOptions.builder()
.image(DockerImage.fromBuild(join(__dirname, "alpine-markdown"))) // Build an image
.command(List.of("sh", "-c", "\n markdown index.md > /asset-output/index.html\n "))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AssetProps.Builder
A builder for
AssetProps |
static class |
AssetProps.Jsii$Proxy
An implementation for
AssetProps |
| Modifier and Type | Method and Description |
|---|---|
static AssetProps.Builder |
builder() |
String |
getPath()
The disk location of the asset.
|
getReadersgetAssetHash, getAssetHashType, getBundlinggetExclude, getFollowSymlinks, getIgnoreMode@Stability(value=Stable) @NotNull String getPath()
The path should refer to one of the following:
@Stability(value=Stable) static AssetProps.Builder builder()
builder in interface AssetOptionsbuilder in interface FileCopyOptionsAssetProps.Builder of AssetPropsCopyright © 2022. All rights reserved.