@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:43.047Z") public interface InitSourceAssetOptions extends 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.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; 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) .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) .ignoreMode(IgnoreMode.GLOB) .readers(List.of(grantable)) .serviceRestartHandles(List.of(initServiceRestartHandle)) .sourceHash("sourceHash") .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() |
getServiceRestartHandles
getExclude, getIgnoreMode, getReaders, getSourceHash
getFollow
getFollowSymlinks
getAssetHash, getAssetHashType, getBundling
static InitSourceAssetOptions.Builder builder()
builder
in interface AssetOptions
builder
in interface CopyOptions
builder
in interface FileCopyOptions
builder
in interface InitSourceOptions
InitSourceAssetOptions.Builder
of InitSourceAssetOptions