Class InitServiceOptions.Jsii$Proxy
- All Implemented Interfaces:
InitServiceOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
InitServiceOptions
InitServiceOptions
-
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.InitServiceOptions
InitServiceOptions.Builder, InitServiceOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(InitServiceOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theInitServiceOptions.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
Enable or disable this service.final Boolean
Make sure this service is running or not running after cfn-init finishes.final ServiceManager
What service manager to use.final InitServiceRestartHandle
Restart service when the actions registered into the restartHandle have been performed.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 theInitServiceOptions.Builder
.
-
-
Method Details
-
getEnabled
Description copied from interface:InitServiceOptions
Enable or disable this service.Set to true to ensure that the service will be started automatically upon boot.
Set to false to ensure that the service will not be started automatically upon boot.
Default: - true if used in `InitService.enable()`, no change to service state if used in `InitService.fromOptions()`.
- Specified by:
getEnabled
in interfaceInitServiceOptions
-
getEnsureRunning
Description copied from interface:InitServiceOptions
Make sure this service is running or not running after cfn-init finishes.Set to true to ensure that the service is running after cfn-init finishes.
Set to false to ensure that the service is not running after cfn-init finishes.
Default: - same value as `enabled`.
- Specified by:
getEnsureRunning
in interfaceInitServiceOptions
-
getServiceManager
Description copied from interface:InitServiceOptions
What service manager to use.This needs to match the actual service manager on your Operating System. For example, Amazon Linux 1 uses SysVinit, but Amazon Linux 2 uses Systemd.
Default: ServiceManager.SYSVINIT for Linux images, ServiceManager.WINDOWS for Windows images
- Specified by:
getServiceManager
in interfaceInitServiceOptions
-
getServiceRestartHandle
Description copied from interface:InitServiceOptions
Restart service when the actions registered into the restartHandle have been performed.Register actions into the restartHandle by passing it to
InitFile
,InitCommand
,InitPackage
andInitSource
objects.Default: - No files trigger restart
- Specified by:
getServiceRestartHandle
in interfaceInitServiceOptions
-
$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()
-