interface LocationPackageOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.LocationPackageOptions |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#LocationPackageOptions |
![]() | software.amazon.awscdk.services.ec2.LocationPackageOptions |
![]() | aws_cdk.aws_ec2.LocationPackageOptions |
![]() | aws-cdk-lib » 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 { aws_ec2 as ec2 } from 'aws-cdk-lib';
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.