@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.446Z") @Stability(value=Stable) public interface InitFileAssetOptions extends software.amazon.jsii.JsiiSerializable, 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.*;
import software.amazon.awscdk.services.ec2.*;
import software.amazon.awscdk.services.iam.*;
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)
.network("network")
.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"))
.followSymlinks(SymlinkFollowMode.NEVER)
.group("group")
.ignoreMode(IgnoreMode.GLOB)
.mode("mode")
.owner("owner")
.readers(List.of(grantable))
.serviceRestartHandles(List.of(initServiceRestartHandle))
.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, getServiceRestartHandlesgetReadersgetAssetHash, getAssetHashType, getBundlinggetExclude, getFollowSymlinks, getIgnoreMode@Stability(value=Stable) static InitFileAssetOptions.Builder builder()
builder in interface AssetOptionsbuilder in interface FileCopyOptionsbuilder in interface InitFileOptionsInitFileAssetOptions.Builder of InitFileAssetOptionsCopyright © 2022. All rights reserved.