Interface INamedPackageOptions
Options for InitPackage.yum/apt/rubyGem/python.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface INamedPackageOptions
Syntax (vb)
Public Interface INamedPackageOptions
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 namedPackageOptions = new NamedPackageOptions {
ServiceRestartHandles = new [] { initServiceRestartHandle },
Version = new [] { "version" }
};
Synopsis
Properties
ServiceRestartHandles | Restart the given services after this command has run. |
Version | Specify the versions to install. |
Properties
ServiceRestartHandles
Restart the given services after this command has run.
virtual InitServiceRestartHandle[] ServiceRestartHandles { get; }
Property Value
Remarks
Default: - Do not restart any service
Version
Specify the versions to install.
virtual string[] Version { get; }
Property Value
System.String[]
Remarks
Default: - Install the latest version