Class LinuxUserDataOptions
Options when constructing UserData for Linux.
Inheritance
System.Object
LinuxUserDataOptions
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class LinuxUserDataOptions : Object, ILinuxUserDataOptions
Syntax (vb)
Public Class LinuxUserDataOptions
Inherits Object
Implements ILinuxUserDataOptions
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;
var linuxUserDataOptions = new LinuxUserDataOptions {
Shebang = "shebang"
};
Synopsis
Constructors
LinuxUserDataOptions() |
Properties
Shebang | Shebang for the UserData script. |
Constructors
LinuxUserDataOptions()
public LinuxUserDataOptions()
Properties
Shebang
Shebang for the UserData script.
public string Shebang { get; set; }
Property Value
System.String
Remarks
Default: "#!/bin/bash"