FunctionConfigurationEnvironment

public struct FunctionConfigurationEnvironment : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • If true, the Lambda function is allowed to access the host’s /sys folder. Use this when the Lambda function needs to read device information from /sys. This setting applies only when you run the Lambda function in a Greengrass container.

    Declaration

    Swift

    public let accessSysfs: Bool?
  • Configuration related to executing the Lambda function

    Declaration

    Swift

    public let execution: FunctionExecutionConfig?
  • A list of the resources, with their permissions, to which the Lambda function will be granted access. A Lambda function can have at most 10 resources. ResourceAccessPolicies apply only when you run the Lambda function in a Greengrass container.

    Declaration

    Swift

    public let resourceAccessPolicies: [ResourceAccessPolicy]?
  • Environment variables for the Lambda function’s configuration.

    Declaration

    Swift

    public let variables: [String : String]?
  • Undocumented

    Declaration

    Swift

    public init(accessSysfs: Bool? = nil, execution: FunctionExecutionConfig? = nil, resourceAccessPolicies: [ResourceAccessPolicy]? = nil, variables: [String : String]? = nil)