Class CfnFleet.HostConfigurationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.deadline.CfnFleet.HostConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnFleet.HostConfigurationProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnFleet.HostConfigurationProperty
@Stability(Stable)
@Internal
public static final class CfnFleet.HostConfigurationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnFleet.HostConfigurationProperty
An implementation for
CfnFleet.HostConfigurationProperty
-
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.deadline.CfnFleet.HostConfigurationProperty
CfnFleet.HostConfigurationProperty.Builder, CfnFleet.HostConfigurationProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnFleet.HostConfigurationProperty.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 String
The text of the script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.final Number
The maximum time that the host configuration can run.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 theCfnFleet.HostConfigurationProperty.Builder
.
-
-
Method Details
-
getScriptBody
Description copied from interface:CfnFleet.HostConfigurationProperty
The text of the script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.The script runs after a worker enters the
STARTING
state and before the worker processes tasks.For more information about using the script, see Run scripts as an administrator to configure workers in the Deadline Cloud Developer Guide .
The script runs as an administrative user (
sudo root
on Linux, as an Administrator on Windows).- Specified by:
getScriptBody
in interfaceCfnFleet.HostConfigurationProperty
- See Also:
-
getScriptTimeoutSeconds
Description copied from interface:CfnFleet.HostConfigurationProperty
The maximum time that the host configuration can run.If the timeout expires, the worker enters the
NOT RESPONDING
state and shuts down. You are charged for the time that the worker is running the host configuration script.You should configure your fleet for a maximum of one worker while testing your host configuration script to avoid starting additional workers.
The default is 300 seconds (5 minutes).
Default: - 300
- Specified by:
getScriptTimeoutSeconds
in interfaceCfnFleet.HostConfigurationProperty
- See Also:
-
$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()
-