@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:43.033Z") public interface InitFileAssetOptions extends InitFileOptions, AssetOptions
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.assets.*; import software.amazon.awscdk.services.ec2.*; import software.amazon.awscdk.services.iam.*; import software.amazon.awscdk.core.*; DockerImage dockerImage; IGrantable grantable; InitServiceRestartHandle initServiceRestartHandle; ILocalBundling localBundling; InitFileAssetOptions initFileAssetOptions = InitFileAssetOptions.builder() .assetHash("assetHash") .assetHashType(AssetHashType.SOURCE) .base64Encoded(false) .bundling(BundlingOptions.builder() .image(dockerImage) // the properties below are optional .command(List.of("command")) .entrypoint(List.of("entrypoint")) .environment(Map.of( "environmentKey", "environment")) .local(localBundling) .outputType(BundlingOutput.ARCHIVED) .securityOpt("securityOpt") .user("user") .volumes(List.of(DockerVolume.builder() .containerPath("containerPath") .hostPath("hostPath") // the properties below are optional .consistency(DockerVolumeConsistency.CONSISTENT) .build())) .workingDirectory("workingDirectory") .build()) .exclude(List.of("exclude")) .follow(FollowMode.NEVER) .followSymlinks(SymlinkFollowMode.NEVER) .group("group") .ignoreMode(IgnoreMode.GLOB) .mode("mode") .owner("owner") .readers(List.of(grantable)) .serviceRestartHandles(List.of(initServiceRestartHandle)) .sourceHash("sourceHash") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
InitFileAssetOptions.Builder
A builder for
InitFileAssetOptions |
static class |
InitFileAssetOptions.Jsii$Proxy
An implementation for
InitFileAssetOptions |
Modifier and Type | Method and Description |
---|---|
static InitFileAssetOptions.Builder |
builder() |
getBase64Encoded, getGroup, getMode, getOwner, getServiceRestartHandles
getExclude, getIgnoreMode, getReaders, getSourceHash
getFollow
getFollowSymlinks
getAssetHash, getAssetHashType, getBundling
static InitFileAssetOptions.Builder builder()
builder
in interface AssetOptions
builder
in interface CopyOptions
builder
in interface FileCopyOptions
builder
in interface InitFileOptions
InitFileAssetOptions.Builder
of InitFileAssetOptions