@Stability(value=Stable) public static final class CfnFunctionDefinition.EnvironmentProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnFunctionDefinition.EnvironmentProperty>
CfnFunctionDefinition.EnvironmentProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnFunctionDefinition.EnvironmentProperty.Builder accessSysfs(Boolean accessSysfs)
CfnFunctionDefinition.EnvironmentProperty.getAccessSysfs()accessSysfs - Indicates whether the function is allowed to access the `/sys` directory on the core device, which allows the read device information from `/sys` .
This property applies only to Lambda functions that run in a Greengrass container.
this@Stability(value=Stable) public CfnFunctionDefinition.EnvironmentProperty.Builder accessSysfs(IResolvable accessSysfs)
CfnFunctionDefinition.EnvironmentProperty.getAccessSysfs()accessSysfs - Indicates whether the function is allowed to access the `/sys` directory on the core device, which allows the read device information from `/sys` .
This property applies only to Lambda functions that run in a Greengrass container.
this@Stability(value=Stable) public CfnFunctionDefinition.EnvironmentProperty.Builder execution(IResolvable execution)
CfnFunctionDefinition.EnvironmentProperty.getExecution()execution - Settings for the Lambda execution environment in AWS IoT Greengrass .this@Stability(value=Stable) public CfnFunctionDefinition.EnvironmentProperty.Builder execution(CfnFunctionDefinition.ExecutionProperty execution)
CfnFunctionDefinition.EnvironmentProperty.getExecution()execution - Settings for the Lambda execution environment in AWS IoT Greengrass .this@Stability(value=Stable) public CfnFunctionDefinition.EnvironmentProperty.Builder resourceAccessPolicies(IResolvable resourceAccessPolicies)
CfnFunctionDefinition.EnvironmentProperty.getResourceAccessPolicies()resourceAccessPolicies - A list of the [resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourceinstance.html) in the group that the function can access, with the corresponding read-only or read-write permissions. The maximum is 10 resources.
This property applies only for Lambda functions that run in a Greengrass container.
this@Stability(value=Stable) public CfnFunctionDefinition.EnvironmentProperty.Builder resourceAccessPolicies(List<? extends Object> resourceAccessPolicies)
CfnFunctionDefinition.EnvironmentProperty.getResourceAccessPolicies()resourceAccessPolicies - A list of the [resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourceinstance.html) in the group that the function can access, with the corresponding read-only or read-write permissions. The maximum is 10 resources.
This property applies only for Lambda functions that run in a Greengrass container.
this@Stability(value=Stable) public CfnFunctionDefinition.EnvironmentProperty.Builder variables(Object variables)
CfnFunctionDefinition.EnvironmentProperty.getVariables()variables - Environment variables for the Lambda function.this@Stability(value=Stable) public CfnFunctionDefinition.EnvironmentProperty build()
build in interface software.amazon.jsii.Builder<CfnFunctionDefinition.EnvironmentProperty>CfnFunctionDefinition.EnvironmentPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.