Show / Hide Table of Contents

Class LocationPackageOptions

Options for InitPackage.rpm/InitPackage.msi.

Inheritance
System.Object
LocationPackageOptions
Implements
ILocationPackageOptions
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class LocationPackageOptions : Object, ILocationPackageOptions
Syntax (vb)
Public Class LocationPackageOptions
    Inherits Object
    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()

Properties

Key

Identifier key for this package.

ServiceRestartHandles

Restart the given service after this command has run.

Constructors

LocationPackageOptions()

public LocationPackageOptions()

Properties

Key

Identifier key for this package.

public string Key { get; set; }
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.

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

InitServiceRestartHandle[]

Remarks

Default: - Do not restart any service

Implements

ILocationPackageOptions
Back to top Generated by DocFX