@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:47.922Z") @Stability(value=Experimental) public class Source extends software.amazon.jsii.JsiiObject
Usage:
Source.bucket(bucket, key)
Source.asset('/local/path/to/directory')
Source.asset('/local/path/to/a/file.zip')
| Modifier | Constructor and Description |
|---|---|
protected |
Source(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Source(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static ISource |
asset(String path)
(experimental) Uses a local asset as the deployment source.
|
static ISource |
asset(String path,
AssetOptions options)
(experimental) Uses a local asset as the deployment source.
|
static ISource |
bucket(IBucket bucket,
String zipObjectKey)
(experimental) Uses a .zip file stored in an S3 bucket as the source for the destination bucket contents.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Source(software.amazon.jsii.JsiiObjectRef objRef)
protected Source(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static ISource asset(@NotNull String path, @Nullable AssetOptions options)
path - The path to a local .zip file or a directory. This parameter is required.options - @Stability(value=Experimental) @NotNull public static ISource asset(@NotNull String path)
path - The path to a local .zip file or a directory. This parameter is required.@Stability(value=Experimental) @NotNull public static ISource bucket(@NotNull IBucket bucket, @NotNull String zipObjectKey)
bucket - The S3 Bucket. This parameter is required.zipObjectKey - The S3 object key of the zip file with contents. This parameter is required.Copyright © 2021. All rights reserved.