Show / Hide Table of Contents

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.

InitServiceRestartHandle[]? ServiceRestartHandles { get; }
Property Value

InitServiceRestartHandle[]

Remarks

Default: - Do not restart any service

Version

Specify the versions to install.

string[]? Version { get; }
Property Value

string[]

Remarks

Default: - Install the latest version

Back to top Generated by DocFX