Interface LinuxUserDataOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LinuxUserDataOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.450Z")
@Stability(Stable)
public interface LinuxUserDataOptions
extends software.amazon.jsii.JsiiSerializable
Options when constructing UserData for Linux.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; LinuxUserDataOptions linuxUserDataOptions = LinuxUserDataOptions.builder() .shebang("shebang") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forLinuxUserDataOptions
static final class
An implementation forLinuxUserDataOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic LinuxUserDataOptions.Builder
builder()
default String
Shebang for the UserData script.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getShebang
Shebang for the UserData script.Default: "#!/bin/bash"
-
builder
- Returns:
- a
LinuxUserDataOptions.Builder
ofLinuxUserDataOptions
-