Add-VSGreengrassFunctionDefinitionVersionEnvironment

Add-VSGreengrassFunctionDefinitionVersionEnvironment

SYNOPSIS

Adds an AWS::Greengrass::FunctionDefinitionVersion.Environment resource property to the template. <a name=”aws-properties-greengrass-functiondefinitionversion-environment-description”></a>The environment configuration for a Lambda function on the AWS IoT Greengrass core.

SYNTAX

Add-VSGreengrassFunctionDefinitionVersionEnvironment [[-Variables] <Object>] [[-Execution] <Object>]
 [[-ResourceAccessPolicies] <Object>] [[-AccessSysfs] <Object>] [<CommonParameters>]

DESCRIPTION

Adds an AWS::Greengrass::FunctionDefinitionVersion.Environment resource property to the template. <a name=”aws-properties-greengrass-functiondefinitionversion-environment-description”></a>The environment configuration for a Lambda function on the AWS IoT Greengrass core.

<a name=”aws-properties-greengrass-functiondefinitionversion-environment-inheritance”></a> In an AWS CloudFormation template, Environment is a property of the FunctionConfiguration : https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-functionconfiguration.html property type.

PARAMETERS

-Variables

Environment variables for the Lambda function.

Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-environment.html#cfn-greengrass-functiondefinitionversion-environment-variables PrimitiveType: Json UpdateType: Immutable

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Execution

Settings for the Lambda execution environment in AWS IoT Greengrass.

Type: Execution Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-environment.html#cfn-greengrass-functiondefinitionversion-environment-execution UpdateType: Immutable

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-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 to Lambda functions that run in a Greengrass container.

Type: List Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-environment.html#cfn-greengrass-functiondefinitionversion-environment-resourceaccesspolicies ItemType: ResourceAccessPolicy UpdateType: Immutable

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-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.

Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-environment.html#cfn-greengrass-functiondefinitionversion-environment-accesssysfs PrimitiveType: Boolean UpdateType: Immutable

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

Vaporshell.Resource.Greengrass.FunctionDefinitionVersion.Environment

NOTES

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-environment.html