Interface LocationPackageOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LocationPackageOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:40.421Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forLocationPackageOptionsstatic final classAn implementation forLocationPackageOptions -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetKey()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.BuilderofLocationPackageOptions
-