Show / Hide Table of Contents

Class LocationPackageOptions

Options for InitPackage.rpm/InitPackage.msi.

Inheritance
object
LocationPackageOptions
Implements
ILocationPackageOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LocationPackageOptions : ILocationPackageOptions
Syntax (vb)
Public Class LocationPackageOptions Implements 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

Constructors

LocationPackageOptions()

Options for InitPackage.rpm/InitPackage.msi.

Properties

Key

Identifier key for this package.

ServiceRestartHandles

Restart the given service after this command has run.

Constructors

LocationPackageOptions()

Options for InitPackage.rpm/InitPackage.msi.

public LocationPackageOptions()
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 }
            };

Properties

Key

Identifier key for this package.

public string? Key { get; set; }
Property Value

string

Remarks

You can use this to order package installs.

Default: - Automatically generated

ServiceRestartHandles

Restart the given service after this command has run.

public InitServiceRestartHandle[]? ServiceRestartHandles { get; set; }
Property Value

InitServiceRestartHandle[]

Remarks

Default: - Do not restart any service

Implements

ILocationPackageOptions
Back to top Generated by DocFX