@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.450Z") @Stability(value=Stable) public interface InitSourceOptions extends software.amazon.jsii.JsiiSerializable
Example:
// Example automatically generated from non-compiling source. May contain errors.
Bucket myBucket;
InitServiceRestartHandle handle = new InitServiceRestartHandle();
CloudFormationInit.fromElements(InitFile.fromString("/etc/nginx/nginx.conf", "...", InitFileOptions.builder().serviceRestartHandles(List.of(handle)).build()), InitSource.fromS3Object("/var/www/html", myBucket, "html.zip", InitSourceOptions.builder().serviceRestartHandles(List.of(handle)).build()), InitService.enable("nginx", InitServiceOptions.builder()
.serviceRestartHandle(handle)
.build()));
| Modifier and Type | Interface and Description |
|---|---|
static class |
InitSourceOptions.Builder
A builder for
InitSourceOptions |
static class |
InitSourceOptions.Jsii$Proxy
An implementation for
InitSourceOptions |
| Modifier and Type | Method and Description |
|---|---|
static InitSourceOptions.Builder |
builder() |
default List<InitServiceRestartHandle> |
getServiceRestartHandles()
Restart the given services after this archive has been extracted.
|
@Stability(value=Stable) @Nullable default List<InitServiceRestartHandle> getServiceRestartHandles()
Default: - Do not restart any service
@Stability(value=Stable) static InitSourceOptions.Builder builder()
InitSourceOptions.Builder of InitSourceOptionsCopyright © 2022. All rights reserved.