@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.641Z") @Stability(value=Experimental) public abstract class InitSource extends InitElement
| Modifier | Constructor and Description |
|---|---|
protected |
InitSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
InitSource(software.amazon.jsii.JsiiObjectRef objRef) |
protected |
InitSource(String targetDirectory) |
protected |
InitSource(String targetDirectory,
List<InitServiceRestartHandle> serviceHandles) |
| Modifier and Type | Method and Description |
|---|---|
static InitSource |
fromAsset(String targetDirectory,
String path)
(experimental) Create an InitSource from an asset created from the given path.
|
static InitSource |
fromAsset(String targetDirectory,
String path,
InitSourceAssetOptions options)
(experimental) Create an InitSource from an asset created from the given path.
|
static InitSource |
fromExistingAsset(String targetDirectory,
Asset asset)
(experimental) Extract a directory from an existing directory asset.
|
static InitSource |
fromExistingAsset(String targetDirectory,
Asset asset,
InitSourceOptions options)
(experimental) Extract a directory from an existing directory asset.
|
static InitSource |
fromGitHub(String targetDirectory,
String owner,
String repo)
(experimental) Extract a GitHub branch into a given directory.
|
static InitSource |
fromGitHub(String targetDirectory,
String owner,
String repo,
String refSpec)
(experimental) Extract a GitHub branch into a given directory.
|
static InitSource |
fromGitHub(String targetDirectory,
String owner,
String repo,
String refSpec,
InitSourceOptions options)
(experimental) Extract a GitHub branch into a given directory.
|
static InitSource |
fromS3Object(String targetDirectory,
IBucket bucket,
String key)
(experimental) Extract an archive stored in an S3 bucket into the given directory.
|
static InitSource |
fromS3Object(String targetDirectory,
IBucket bucket,
String key,
InitSourceOptions options)
(experimental) Extract an archive stored in an S3 bucket into the given directory.
|
static InitSource |
fromUrl(String targetDirectory,
String url)
(experimental) Retrieve a URL and extract it into the given directory.
|
static InitSource |
fromUrl(String targetDirectory,
String url,
InitSourceOptions options)
(experimental) Retrieve a URL and extract it into the given directory.
|
String |
getElementType()
(experimental) Returns the init element type for this element.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected InitSource(software.amazon.jsii.JsiiObjectRef objRef)
protected InitSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
protected InitSource(@NotNull
String targetDirectory,
@Nullable
List<InitServiceRestartHandle> serviceHandles)
targetDirectory - This parameter is required.serviceHandles - @Stability(value=Experimental)
protected InitSource(@NotNull
String targetDirectory)
targetDirectory - This parameter is required.@Stability(value=Experimental) @NotNull public static InitSource fromAsset(@NotNull String targetDirectory, @NotNull String path, @Nullable InitSourceAssetOptions options)
targetDirectory - This parameter is required.path - This parameter is required.options - @Stability(value=Experimental) @NotNull public static InitSource fromAsset(@NotNull String targetDirectory, @NotNull String path)
targetDirectory - This parameter is required.path - This parameter is required.@Stability(value=Experimental) @NotNull public static InitSource fromExistingAsset(@NotNull String targetDirectory, @NotNull Asset asset, @Nullable InitSourceOptions options)
targetDirectory - This parameter is required.asset - This parameter is required.options - @Stability(value=Experimental) @NotNull public static InitSource fromExistingAsset(@NotNull String targetDirectory, @NotNull Asset asset)
targetDirectory - This parameter is required.asset - This parameter is required.@Stability(value=Experimental) @NotNull public static InitSource fromGitHub(@NotNull String targetDirectory, @NotNull String owner, @NotNull String repo, @Nullable String refSpec, @Nullable InitSourceOptions options)
targetDirectory - This parameter is required.owner - This parameter is required.repo - This parameter is required.refSpec - options - @Stability(value=Experimental) @NotNull public static InitSource fromGitHub(@NotNull String targetDirectory, @NotNull String owner, @NotNull String repo, @Nullable String refSpec)
targetDirectory - This parameter is required.owner - This parameter is required.repo - This parameter is required.refSpec - @Stability(value=Experimental) @NotNull public static InitSource fromGitHub(@NotNull String targetDirectory, @NotNull String owner, @NotNull String repo)
targetDirectory - This parameter is required.owner - This parameter is required.repo - This parameter is required.@Stability(value=Experimental) @NotNull public static InitSource fromS3Object(@NotNull String targetDirectory, @NotNull IBucket bucket, @NotNull String key, @Nullable InitSourceOptions options)
targetDirectory - This parameter is required.bucket - This parameter is required.key - This parameter is required.options - @Stability(value=Experimental) @NotNull public static InitSource fromS3Object(@NotNull String targetDirectory, @NotNull IBucket bucket, @NotNull String key)
targetDirectory - This parameter is required.bucket - This parameter is required.key - This parameter is required.@Stability(value=Experimental) @NotNull public static InitSource fromUrl(@NotNull String targetDirectory, @NotNull String url, @Nullable InitSourceOptions options)
targetDirectory - This parameter is required.url - This parameter is required.options - @Stability(value=Experimental) @NotNull public static InitSource fromUrl(@NotNull String targetDirectory, @NotNull String url)
targetDirectory - This parameter is required.url - This parameter is required.@Stability(value=Experimental) @NotNull public String getElementType()
getElementType in class InitElementCopyright © 2021. All rights reserved.