Add-VSGreengrassFunctionDefinitionVersionFunction

Add-VSGreengrassFunctionDefinitionVersionFunction

SYNOPSIS

Adds an AWS::Greengrass::FunctionDefinitionVersion.Function resource property to the template. <a name=”aws-properties-greengrass-functiondefinitionversion-function-description”></a>A function is a Lambda function that’s referenced from an AWS IoT Greengrass group. The function is deployed to a Greengrass core where it runs locally. For more information, see Run Lambda Functions on the AWS IoT Greengrass Core: https://docs.aws.amazon.com/greengrass/latest/developerguide/lambda-functions.html in the AWS IoT Greengrass Developer Guide.

SYNTAX

Add-VSGreengrassFunctionDefinitionVersionFunction [-FunctionArn] <Object> [-FunctionConfiguration] <Object>
 [-Id] <Object> [<CommonParameters>]

DESCRIPTION

Adds an AWS::Greengrass::FunctionDefinitionVersion.Function resource property to the template. <a name=”aws-properties-greengrass-functiondefinitionversion-function-description”></a>A function is a Lambda function that’s referenced from an AWS IoT Greengrass group. The function is deployed to a Greengrass core where it runs locally. For more information, see Run Lambda Functions on the AWS IoT Greengrass Core: https://docs.aws.amazon.com/greengrass/latest/developerguide/lambda-functions.html in the AWS IoT Greengrass Developer Guide.

<a name=”aws-properties-greengrass-functiondefinitionversion-function-inheritance”></a> In an AWS CloudFormation template, the Functions property of the AWS::Greengrass::FunctionDefinitionVersion : https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-functiondefinitionversion.html resource contains a list of Function property types.

PARAMETERS

-FunctionArn

The Amazon Resource Name ARN of the alias recommended or version of the referenced Lambda function.

Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-function.html#cfn-greengrass-functiondefinitionversion-function-functionarn PrimitiveType: String UpdateType: Immutable

Type: Object
Parameter Sets: (All)
Aliases:

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

-FunctionConfiguration

The group-specific settings of the Lambda function. These settings configure the function’s behavior in the Greengrass group.

Type: FunctionConfiguration Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-function.html#cfn-greengrass-functiondefinitionversion-function-functionconfiguration UpdateType: Immutable

Type: Object
Parameter Sets: (All)
Aliases:

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

-Id

A descriptive or arbitrary ID for the function. This value must be unique within the function definition version. Maximum length is 128 characters with pattern a-zA-Z0-9:_-]+.

Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-function.html#cfn-greengrass-functiondefinitionversion-function-id PrimitiveType: String UpdateType: Immutable

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 3
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.Function

NOTES

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