Add-VSGreengrassFunctionDefinitionResourceAccessPolicy

Add-VSGreengrassFunctionDefinitionResourceAccessPolicy

SYNOPSIS

Adds an AWS::Greengrass::FunctionDefinition.ResourceAccessPolicy resource property to the template. <a name=”aws-properties-greengrass-functiondefinition-resourceaccesspolicy-description”></a>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.

SYNTAX

Add-VSGreengrassFunctionDefinitionResourceAccessPolicy [-ResourceId] <Object> [[-Permission] <Object>]
 [<CommonParameters>]

DESCRIPTION

Adds an AWS::Greengrass::FunctionDefinition.ResourceAccessPolicy resource property to the template. <a name=”aws-properties-greengrass-functiondefinition-resourceaccesspolicy-description”></a>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.

Note

This property applies only to Lambda functions that run in a Greengrass container.

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

PARAMETERS

-ResourceId

The ID of the resource. This ID is assigned to the resource when you create the resource definition.

Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-resourceaccesspolicy.html#cfn-greengrass-functiondefinition-resourceaccesspolicy-resourceid 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

-Permission

The read-only or read-write access that the Lambda function has to the resource. Valid values are ro or rw.

Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-resourceaccesspolicy.html#cfn-greengrass-functiondefinition-resourceaccesspolicy-permission PrimitiveType: String UpdateType: Immutable

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
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.FunctionDefinition.ResourceAccessPolicy

NOTES

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-resourceaccesspolicy.html