@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:30:28.974Z") @Stability(value=Experimental) public class AssetCode extends Code
| Modifier and Type | Class and Description |
|---|---|
static class |
AssetCode.Builder
(experimental) A fluent builder for
AssetCode. |
| Modifier | Constructor and Description |
|---|---|
protected |
AssetCode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AssetCode(software.amazon.jsii.JsiiObjectRef objRef) |
|
AssetCode(String assetPath) |
|
AssetCode(String assetPath,
AssetOptions options) |
| Modifier and Type | Method and Description |
|---|---|
CodeConfig |
bind(Construct scope,
String handler)
(experimental) Called when the canary is initialized to allow this object to bind to the stack, add resources and have fun.
|
fromAsset, fromAsset, fromBucket, fromBucket, fromInlinejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected AssetCode(software.amazon.jsii.JsiiObjectRef objRef)
protected AssetCode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public AssetCode(@NotNull
String assetPath,
@Nullable
AssetOptions options)
assetPath - The path to the asset file or directory. This parameter is required.options - @Stability(value=Experimental)
public AssetCode(@NotNull
String assetPath)
assetPath - The path to the asset file or directory. This parameter is required.@Stability(value=Experimental) @NotNull public CodeConfig bind(@NotNull Construct scope, @NotNull String handler)
Copyright © 2021. All rights reserved.