Class InitServiceOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.InitServiceOptions.Jsii$Proxy
- All Implemented Interfaces:
InitServiceOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- InitServiceOptions
@Stability(Stable)
@Internal
public static final class InitServiceOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements InitServiceOptions
An implementation for
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 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
-
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()
-