Interface LocationPackageOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LocationPackageOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.451Z")
@Stability(Stable)
public interface LocationPackageOptions
extends software.amazon.jsii.JsiiSerializable
Options for InitPackage.rpm/InitPackage.msi.
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; LocationPackageOptions locationPackageOptions = LocationPackageOptions.builder() .key("key") .serviceRestartHandles(List.of(initServiceRestartHandle)) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forLocationPackageOptions
static final class
An implementation forLocationPackageOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
getKey()
Identifier key for this package.default List<InitServiceRestartHandle>
Restart the given service after this command has run.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKey
Identifier key for this package.You can use this to order package installs.
Default: - Automatically generated
-
getServiceRestartHandles
Restart the given service after this command has run.Default: - Do not restart any service
-
builder
- Returns:
- a
LocationPackageOptions.Builder
ofLocationPackageOptions
-