Interface ILocationPackageOptions
Options for InitPackage.rpm/InitPackage.msi.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ILocationPackageOptions
Syntax (vb)
Public Interface ILocationPackageOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
InitServiceRestartHandle initServiceRestartHandle;
var locationPackageOptions = new LocationPackageOptions {
Key = "key",
ServiceRestartHandles = new [] { initServiceRestartHandle }
};
Synopsis
Properties
Key | Identifier key for this package. |
ServiceRestartHandles | Restart the given service after this command has run. |
Properties
Key
Identifier key for this package.
virtual string Key { get; }
Property Value
System.String
Remarks
You can use this to order package installs.
Default: - Automatically generated
ServiceRestartHandles
Restart the given service after this command has run.
virtual InitServiceRestartHandle[] ServiceRestartHandles { get; }
Property Value
Remarks
Default: - Do not restart any service