Interface IAssetProps
Inherited Members
Namespace: Amazon.CDK.AWS.S3.Assets
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAssetProps : IAssetOptions, IAssetOptions, IFileCopyOptions
Syntax (vb)
Public Interface IAssetProps
Inherits IAssetOptions, IAssetOptions, IFileCopyOptions
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK;
var asset = new Asset(this, "BundledAsset", new AssetProps {
Path = "/path/to/asset",
Bundling = new BundlingOptions {
Image = DockerImage.FromRegistry("alpine"),
Command = new [] { "command-that-produces-an-archive.sh" },
OutputType = BundlingOutput.NOT_ARCHIVED
}
});
Synopsis
Properties
Path | The disk location of the asset. |
Properties
Path
The disk location of the asset.
string Path { get; }
Property Value
System.String
Remarks
The path should refer to one of the following: