public static final class CfnFunctionDefinition.ExecutionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnFunctionDefinition.ExecutionProperty
CfnFunctionDefinition.ExecutionProperty
CfnFunctionDefinition.ExecutionProperty.Builder, CfnFunctionDefinition.ExecutionProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getIsolationMode()
The containerization that the Lambda function runs in.
|
java.lang.Object |
getRunAs()
The user and group permissions used to run the Lambda function.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getIsolationMode()
CfnFunctionDefinition.ExecutionProperty
Valid values are GreengrassContainer
or NoContainer
. Typically, this is GreengrassContainer
. For more information, see Containerization in the Developer Guide .
DefaultConfig
property of a function definition version, this setting is used as the default containerization for all Lambda functions in the function definition version.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.
getIsolationMode
in interface CfnFunctionDefinition.ExecutionProperty
public final java.lang.Object getRunAs()
CfnFunctionDefinition.ExecutionProperty
Typically, this is the ggc_user and ggc_group. For more information, see Run as in the Developer Guide .
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.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 .
getRunAs
in interface CfnFunctionDefinition.ExecutionProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()