Class CfnFunctionDefinition.ExecutionProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.greengrass.CfnFunctionDefinition.ExecutionProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnFunctionDefinition.ExecutionProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnFunctionDefinition.ExecutionProperty
@Stability(Stable)
@Internal
public static final class CfnFunctionDefinition.ExecutionProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnFunctionDefinition.ExecutionProperty
An implementation for
CfnFunctionDefinition.ExecutionProperty
-
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.greengrass.CfnFunctionDefinition.ExecutionProperty
CfnFunctionDefinition.ExecutionProperty.Builder, CfnFunctionDefinition.ExecutionProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnFunctionDefinition.ExecutionProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
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 theCfnFunctionDefinition.ExecutionProperty.Builder
.
-
-
Method Details
-
getIsolationMode
Description copied from interface:CfnFunctionDefinition.ExecutionProperty
The containerization that the Lambda function runs in.Valid values are
GreengrassContainer
orNoContainer
. Typically, this isGreengrassContainer
. For more information, see Containerization in the Developer Guide .- When set on the
DefaultConfig
property of a function definition version, this setting is used as the default containerization for all Lambda functions in the function definition version. - When set on the
Environment
property of a function, this setting applies to the individual function and overrides the default. Omit this value to run the function with the default containerization.
We recommend that you run in a Greengrass container unless your business case requires that you run without containerization.
- Specified by:
getIsolationMode
in interfaceCfnFunctionDefinition.ExecutionProperty
- See Also:
- When set on the
-
getRunAs
Description copied from interface:CfnFunctionDefinition.ExecutionProperty
The user and group permissions used to run the Lambda function.Typically, this is the ggc_user and ggc_group. For more information, see Run as in the Developer Guide .
- When set on the
DefaultConfig
property of a function definition version, this setting is used as the default access identity for all Lambda functions in the function definition version. - When set on the
Environment
property of a function, this setting applies to the individual function and overrides the default. You can override the user, group, or both. Omit this value to run the function with the default permissions.
Running as the root user increases risks to your data and device. Do not run as root (UID/GID=0) unless your business case requires it. For more information and requirements, see Running a Lambda Function as Root .
- Specified by:
getRunAs
in interfaceCfnFunctionDefinition.ExecutionProperty
- See Also:
- When set on the
-
$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()
-