@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.450Z") @Stability(value=Stable) public interface InitSourceAssetOptions extends software.amazon.jsii.JsiiSerializable, InitSourceOptions, 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;
InitSourceAssetOptions initSourceAssetOptions = InitSourceAssetOptions.builder()
.assetHash("assetHash")
.assetHashType(AssetHashType.SOURCE)
.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)
.ignoreMode(IgnoreMode.GLOB)
.readers(List.of(grantable))
.serviceRestartHandles(List.of(initServiceRestartHandle))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
InitSourceAssetOptions.Builder
A builder for
InitSourceAssetOptions |
static class |
InitSourceAssetOptions.Jsii$Proxy
An implementation for
InitSourceAssetOptions |
| Modifier and Type | Method and Description |
|---|---|
static InitSourceAssetOptions.Builder |
builder() |
getServiceRestartHandlesgetReadersgetAssetHash, getAssetHashType, getBundlinggetExclude, getFollowSymlinks, getIgnoreMode@Stability(value=Stable) static InitSourceAssetOptions.Builder builder()
builder in interface AssetOptionsbuilder in interface FileCopyOptionsbuilder in interface InitSourceOptionsInitSourceAssetOptions.Builder of InitSourceAssetOptionsCopyright © 2022. All rights reserved.