Uses of Class
software.amazon.awscdk.services.ec2.InitFile
Packages that use InitFile
-
Uses of InitFile in software.amazon.awscdk.services.ec2
Methods in software.amazon.awscdk.services.ec2 that return InitFileModifier and TypeMethodDescriptionstatic InitFileCreate an asset from the given file.static InitFileInitFile.fromAsset(String targetFileName, String path, InitFileAssetOptions options) Create an asset from the given file.static InitFileInitFile.fromExistingAsset(String targetFileName, Asset asset) Use a file from an asset at instance startup time.static InitFileInitFile.fromExistingAsset(String targetFileName, Asset asset, InitFileOptions options) Use a file from an asset at instance startup time.static InitFileInitFile.fromFileInline(String targetFileName, String sourceFileName) Read a file from disk and use its contents.static InitFileInitFile.fromFileInline(String targetFileName, String sourceFileName, InitFileOptions options) Read a file from disk and use its contents.static InitFileInitFile.fromObject(String fileName, Map<String, ? extends Object> obj) Use a JSON-compatible object as the file content, write it to a JSON file.static InitFileInitFile.fromObject(String fileName, Map<String, ? extends Object> obj, InitFileOptions options) Use a JSON-compatible object as the file content, write it to a JSON file.static InitFileInitFile.fromS3Object(String fileName, IBucket bucket, String key) Download a file from an S3 bucket at instance startup time.static InitFileInitFile.fromS3Object(String fileName, IBucket bucket, String key, InitFileOptions options) Download a file from an S3 bucket at instance startup time.static InitFileInitFile.fromString(String fileName, String content) Use a literal string as the file content.static InitFileInitFile.fromString(String fileName, String content, InitFileOptions options) Use a literal string as the file content.static InitFileDownload from a URL at instance startup time.static InitFileInitFile.fromUrl(String fileName, String url, InitFileOptions options) Download from a URL at instance startup time.static InitFileWrite a symlink with the given symlink target.static InitFileInitFile.symlink(String fileName, String target, InitFileOptions options) Write a symlink with the given symlink target.static InitFileInitService.systemdConfigFile(String serviceName, SystemdConfigFileOptions options) Install a systemd-compatible config file for the given service.