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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.InitServiceOptions
InitServiceOptions.Builder, InitServiceOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(InitServiceOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theInitServiceOptions.Builder.protectedJsii$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.JsonNodefinal booleanfinal BooleanEnable or disable this service.final BooleanMake sure this service is running or not running after cfn-init finishes.final ServiceManagerWhat service manager to use.final InitServiceRestartHandleRestart service when the actions registered into the restartHandle have been performed.final inthashCode()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:InitServiceOptionsEnable 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:
getEnabledin interfaceInitServiceOptions
-
getEnsureRunning
Description copied from interface:InitServiceOptionsMake 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:
getEnsureRunningin interfaceInitServiceOptions
-
getServiceManager
Description copied from interface:InitServiceOptionsWhat 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:
getServiceManagerin interfaceInitServiceOptions
-
getServiceRestartHandle
Description copied from interface:InitServiceOptionsRestart service when the actions registered into the restartHandle have been performed.Register actions into the restartHandle by passing it to
InitFile,InitCommand,InitPackageandInitSourceobjects.Default: - No files trigger restart
- Specified by:
getServiceRestartHandlein interfaceInitServiceOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-