LocationPackageOptions Struct
Options for InitPackage.rpm/InitPackage.msi.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
declare const initServiceRestartHandle: ec2.InitServiceRestartHandle;
const locationPackageOptions: ec2.LocationPackageOptions = {
key: 'key',
serviceRestartHandles: [initServiceRestartHandle],
};
Properties
Identifier key for this package.
Default: Automatically generated
You can use this to order package installs.
serviceRestartHandlesoptionalInitServiceRestartHandle[]service_restart_handlesoptionaltyping.List[InitServiceRestartHandle]serviceRestartHandlesoptionalList<InitServiceRestartHandle>ServiceRestartHandlesoptionalInitServiceRestartHandle[]ServiceRestartHandlesoptional*[]InitServiceRestartHandle#Restart the given service after this command has run.
Default: Do not restart any service