Class SystemdConfigFileOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.SystemdConfigFileOptions.Jsii$Proxy
- All Implemented Interfaces:
SystemdConfigFileOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
SystemdConfigFileOptions
@Stability(Stable)
@Internal
public static final class SystemdConfigFileOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements SystemdConfigFileOptions
An implementation for
SystemdConfigFileOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.SystemdConfigFileOptions
SystemdConfigFileOptions.Builder, SystemdConfigFileOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theSystemdConfigFileOptions.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Boolean
Start the service after the networking part of the OS comes up.final String
The command to run to start this service.final String
getCwd()
The working directory for the command.final String
A description of this service.Loads environment variables from files when the process is running.Environment variables to load when the process is running.final String
getGroup()
The group to execute the process under.final Boolean
Keep the process running all the time.final String
getUser()
The user to execute the process under.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theSystemdConfigFileOptions.Builder
.
-
-
Method Details
-
getCommand
Description copied from interface:SystemdConfigFileOptions
The command to run to start this service.- Specified by:
getCommand
in interfaceSystemdConfigFileOptions
-
getAfterNetwork
Description copied from interface:SystemdConfigFileOptions
Start the service after the networking part of the OS comes up.Default: true
- Specified by:
getAfterNetwork
in interfaceSystemdConfigFileOptions
-
getCwd
Description copied from interface:SystemdConfigFileOptions
The working directory for the command.Default: Root directory or home directory of specified user
- Specified by:
getCwd
in interfaceSystemdConfigFileOptions
-
getDescription
Description copied from interface:SystemdConfigFileOptions
A description of this service.Default: - No description
- Specified by:
getDescription
in interfaceSystemdConfigFileOptions
-
getEnvironmentFiles
Description copied from interface:SystemdConfigFileOptions
Loads environment variables from files when the process is running.Must use absolute paths.
Default: - No environment files
- Specified by:
getEnvironmentFiles
in interfaceSystemdConfigFileOptions
-
getEnvironmentVariables
Description copied from interface:SystemdConfigFileOptions
Environment variables to load when the process is running.Default: - No environment variables set
- Specified by:
getEnvironmentVariables
in interfaceSystemdConfigFileOptions
-
getGroup
Description copied from interface:SystemdConfigFileOptions
The group to execute the process under.Default: root
- Specified by:
getGroup
in interfaceSystemdConfigFileOptions
-
getKeepRunning
Description copied from interface:SystemdConfigFileOptions
Keep the process running all the time.Restarts the process when it exits for any reason other than the machine shutting down.
Default: true
- Specified by:
getKeepRunning
in interfaceSystemdConfigFileOptions
-
getUser
Description copied from interface:SystemdConfigFileOptions
The user to execute the process under.Default: root
- Specified by:
getUser
in interfaceSystemdConfigFileOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-