| Package | Description |
|---|---|
| software.amazon.awscdk.services.ec2 |
Amazon EC2 Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
static InitFile |
InitFile.fromAsset(String targetFileName,
String path)
(experimental) Create an asset from the given file.
|
static InitFile |
InitFile.fromAsset(String targetFileName,
String path,
InitFileAssetOptions options)
(experimental) Create an asset from the given file.
|
static InitFile |
InitFile.fromExistingAsset(String targetFileName,
Asset asset)
(experimental) Use a file from an asset at instance startup time.
|
static InitFile |
InitFile.fromExistingAsset(String targetFileName,
Asset asset,
InitFileOptions options)
(experimental) Use a file from an asset at instance startup time.
|
static InitFile |
InitFile.fromFileInline(String targetFileName,
String sourceFileName)
(experimental) Read a file from disk and use its contents.
|
static InitFile |
InitFile.fromFileInline(String targetFileName,
String sourceFileName,
InitFileOptions options)
(experimental) Read a file from disk and use its contents.
|
static InitFile |
InitFile.fromObject(String fileName,
Map<String,? extends Object> obj)
(experimental) Use a JSON-compatible object as the file content, write it to a JSON file.
|
static InitFile |
InitFile.fromObject(String fileName,
Map<String,? extends Object> obj,
InitFileOptions options)
(experimental) Use a JSON-compatible object as the file content, write it to a JSON file.
|
static InitFile |
InitFile.fromS3Object(String fileName,
IBucket bucket,
String key)
(experimental) Download a file from an S3 bucket at instance startup time.
|
static InitFile |
InitFile.fromS3Object(String fileName,
IBucket bucket,
String key,
InitFileOptions options)
(experimental) Download a file from an S3 bucket at instance startup time.
|
static InitFile |
InitFile.fromString(String fileName,
String content)
(experimental) Use a literal string as the file content.
|
static InitFile |
InitFile.fromString(String fileName,
String content,
InitFileOptions options)
(experimental) Use a literal string as the file content.
|
static InitFile |
InitFile.fromUrl(String fileName,
String url)
(experimental) Download from a URL at instance startup time.
|
static InitFile |
InitFile.fromUrl(String fileName,
String url,
InitFileOptions options)
(experimental) Download from a URL at instance startup time.
|
static InitFile |
InitFile.symlink(String fileName,
String target)
(experimental) Write a symlink with the given symlink target.
|
static InitFile |
InitFile.symlink(String fileName,
String target,
InitFileOptions options)
(experimental) Write a symlink with the given symlink target.
|
Copyright © 2021. All rights reserved.