Menu
AWS Greengrass
Developer Guide

Update Your Group

Update your AWS Greengrass group with your AWS Greengrass core, device, Lambda functions, subscription and logging definitions.

Copy
aws greengrass create-group-version --group-id "<GroupId>" --core-definition-version-arn "<CoreDefinitionVersionArn>" --function-definition-version-arn "<FunctionDefinitionVersionArn>" --device-definition-version-arn "<DeviceDefinitionVersionArn>" --logger-definition-version-arn "<LoggerDefinitionArn>" --subscription-definition-version-arn "<SubscriptionDefinitionArn>"

Arguments for the create-group-version

--group-id

The group ID.

--core-definition-version-arn

The ARN of the AWS Greengrass core definition version.

--function-definition-version-arn

The ARN of the function definition version.

--device-definition-version-arn

The ARN of the device definition version.

--logger-definition-version-arn

The ARN of the logger definition version.

--subscription-definition-version-arn

The ARN of the subscription definition version.

The output of the create-group-version CLI command will look like this:

Copy
{ "Arn" : "arn:aws:greengrass:us-west-2:123451234510:/greengrass/groups/4462f873-9299-440b-a6d6-94cd9560bc6e/versions/33210262-2b2d-47c1-913c-657fc7d08513", "Id" : "4462f873-9299-440b-a6d6-94cd9560bc6e", "Version" : "33210262-2b2d-47c1-913c-657fc7d08513", "CreationTimestamp" : "2017-05-17T21:36:06.166Z" }