interface LocationPackageOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.LocationPackageOptions |
![]() | software.amazon.awscdk.services.ec2.LocationPackageOptions |
![]() | aws_cdk.aws_ec2.LocationPackageOptions |
![]() | @aws-cdk/aws-ec2 » LocationPackageOptions |
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 * as ec2 from '@aws-cdk/aws-ec2';
declare const initServiceRestartHandle: ec2.InitServiceRestartHandle;
const locationPackageOptions: ec2.LocationPackageOptions = {
key: 'key',
serviceRestartHandles: [initServiceRestartHandle],
};
Properties
Name | Type | Description |
---|---|---|
key? | string | Identifier key for this package. |
service | Init [] | Restart the given service after this command has run. |
key?
Type:
string
(optional, default: Automatically generated)
Identifier key for this package.
You can use this to order package installs.
serviceRestartHandles?
Type:
Init
[]
(optional, default: Do not restart any service)
Restart the given service after this command has run.