Class CfnFunctionDefinitionVersion.ExecutionProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.greengrass.CfnFunctionDefinitionVersion.ExecutionProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnFunctionDefinitionVersion.ExecutionProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnFunctionDefinitionVersion.ExecutionProperty
@Stability(Stable)
@Internal
public static final class CfnFunctionDefinitionVersion.ExecutionProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnFunctionDefinitionVersion.ExecutionProperty
An implementation for
CfnFunctionDefinitionVersion.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.CfnFunctionDefinitionVersion.ExecutionProperty
CfnFunctionDefinitionVersion.ExecutionProperty.Builder, CfnFunctionDefinitionVersion.ExecutionProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnFunctionDefinitionVersion.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 theCfnFunctionDefinitionVersion.ExecutionProperty.Builder
.
-
-
Method Details
-
getIsolationMode
Description copied from interface:CfnFunctionDefinitionVersion.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 interfaceCfnFunctionDefinitionVersion.ExecutionProperty
- When set on the
-
getRunAs
Description copied from interface:CfnFunctionDefinitionVersion.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 interfaceCfnFunctionDefinitionVersion.ExecutionProperty
- 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()
-