Interface NamedPackageOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NamedPackageOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.467Z")
@Stability(Stable)
public interface NamedPackageOptions
extends software.amazon.jsii.JsiiSerializable
Options for InitPackage.yum/apt/rubyGem/python.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forNamedPackageOptions
static final class
An implementation forNamedPackageOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic NamedPackageOptions.Builder
builder()
default List<InitServiceRestartHandle>
Restart the given services after this command has run.Specify the versions to install.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getServiceRestartHandles
Restart the given services after this command has run.Default: - Do not restart any service
-
getVersion
Specify the versions to install.Default: - Install the latest version
-
builder
- Returns:
- a
NamedPackageOptions.Builder
ofNamedPackageOptions
-