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
  • Constructor Details

  • Method Details

    • getIsolationMode

      public final String getIsolationMode()
      Description copied from interface: CfnFunctionDefinitionVersion.ExecutionProperty
      The containerization that the Lambda function runs in.

      Valid values are GreengrassContainer or NoContainer . Typically, this is GreengrassContainer . 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 interface CfnFunctionDefinitionVersion.ExecutionProperty
    • getRunAs

      public final Object 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 interface CfnFunctionDefinitionVersion.ExecutionProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object