@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.485Z") @Stability(value=Stable) public interface NamedPackageOptions extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
InitServiceRestartHandle initServiceRestartHandle;
NamedPackageOptions namedPackageOptions = NamedPackageOptions.builder()
.serviceRestartHandles(List.of(initServiceRestartHandle))
.version(List.of("version"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
NamedPackageOptions.Builder
A builder for
NamedPackageOptions |
static class |
NamedPackageOptions.Jsii$Proxy
An implementation for
NamedPackageOptions |
| Modifier and Type | Method and Description |
|---|---|
static NamedPackageOptions.Builder |
builder() |
default List<InitServiceRestartHandle> |
getServiceRestartHandles()
Restart the given services after this command has run.
|
default List<String> |
getVersion()
Specify the versions to install.
|
@Stability(value=Stable) @Nullable default List<InitServiceRestartHandle> getServiceRestartHandles()
Default: - Do not restart any service
@Stability(value=Stable) @Nullable default List<String> getVersion()
Default: - Install the latest version
@Stability(value=Stable) static NamedPackageOptions.Builder builder()
NamedPackageOptions.Builder of NamedPackageOptionsCopyright © 2022. All rights reserved.