

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::Greengrass::Group GroupVersion
<a name="aws-properties-greengrass-group-groupversion"></a>

<a name="aws-properties-greengrass-group-groupversion-description"></a>A group version in Amazon IoT Greengrass, which references of a core definition version, device definition version, subscription definition version, and other version types that contain the components you want to deploy to a Greengrass core device. The group version must reference a core definition version that contains one core. Other version types are optionally included, depending on your business need.

<a name="aws-properties-greengrass-group-groupversion-inheritance"></a> In an Amazon CloudFormation template, `GroupVersion` is the property type of the `InitialVersion` property in the [https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html) resource.

## Syntax
<a name="aws-properties-greengrass-group-groupversion-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-greengrass-group-groupversion-syntax.json"></a>

```
{
  "[ConnectorDefinitionVersionArn](#cfn-greengrass-group-groupversion-connectordefinitionversionarn)" : String,
  "[CoreDefinitionVersionArn](#cfn-greengrass-group-groupversion-coredefinitionversionarn)" : String,
  "[DeviceDefinitionVersionArn](#cfn-greengrass-group-groupversion-devicedefinitionversionarn)" : String,
  "[FunctionDefinitionVersionArn](#cfn-greengrass-group-groupversion-functiondefinitionversionarn)" : String,
  "[LoggerDefinitionVersionArn](#cfn-greengrass-group-groupversion-loggerdefinitionversionarn)" : String,
  "[ResourceDefinitionVersionArn](#cfn-greengrass-group-groupversion-resourcedefinitionversionarn)" : String,
  "[SubscriptionDefinitionVersionArn](#cfn-greengrass-group-groupversion-subscriptiondefinitionversionarn)" : String
}
```

### YAML
<a name="aws-properties-greengrass-group-groupversion-syntax.yaml"></a>

```
  [ConnectorDefinitionVersionArn](#cfn-greengrass-group-groupversion-connectordefinitionversionarn): String
  [CoreDefinitionVersionArn](#cfn-greengrass-group-groupversion-coredefinitionversionarn): String
  [DeviceDefinitionVersionArn](#cfn-greengrass-group-groupversion-devicedefinitionversionarn): String
  [FunctionDefinitionVersionArn](#cfn-greengrass-group-groupversion-functiondefinitionversionarn): String
  [LoggerDefinitionVersionArn](#cfn-greengrass-group-groupversion-loggerdefinitionversionarn): String
  [ResourceDefinitionVersionArn](#cfn-greengrass-group-groupversion-resourcedefinitionversionarn): String
  [SubscriptionDefinitionVersionArn](#cfn-greengrass-group-groupversion-subscriptiondefinitionversionarn): String
```

## Properties
<a name="aws-properties-greengrass-group-groupversion-properties"></a>

`ConnectorDefinitionVersionArn`  <a name="cfn-greengrass-group-groupversion-connectordefinitionversionarn"></a>
The Amazon Resource Name (ARN) of the connector definition version that contains the connectors you want to deploy with the group version.  
*Required*: No  
*Type*: String  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`CoreDefinitionVersionArn`  <a name="cfn-greengrass-group-groupversion-coredefinitionversionarn"></a>
The ARN of the core definition version that contains the core you want to deploy with the group version. Currently, the core definition version can contain only one core.  
*Required*: No  
*Type*: String  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`DeviceDefinitionVersionArn`  <a name="cfn-greengrass-group-groupversion-devicedefinitionversionarn"></a>
The ARN of the device definition version that contains the devices you want to deploy with the group version.  
*Required*: No  
*Type*: String  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`FunctionDefinitionVersionArn`  <a name="cfn-greengrass-group-groupversion-functiondefinitionversionarn"></a>
The ARN of the function definition version that contains the functions you want to deploy with the group version.  
*Required*: No  
*Type*: String  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`LoggerDefinitionVersionArn`  <a name="cfn-greengrass-group-groupversion-loggerdefinitionversionarn"></a>
The ARN of the logger definition version that contains the loggers you want to deploy with the group version.  
  
*Required*: No  
*Type*: String  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`ResourceDefinitionVersionArn`  <a name="cfn-greengrass-group-groupversion-resourcedefinitionversionarn"></a>
The ARN of the resource definition version that contains the resources you want to deploy with the group version.  
*Required*: No  
*Type*: String  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`SubscriptionDefinitionVersionArn`  <a name="cfn-greengrass-group-groupversion-subscriptiondefinitionversionarn"></a>
The ARN of the subscription definition version that contains the subscriptions you want to deploy with the group version.  
*Required*: No  
*Type*: String  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

## See also
<a name="aws-properties-greengrass-group-groupversion--seealso"></a>
+ [GroupVersion](https://docs.amazonaws.cn/greengrass/v1/apireference/definitions-groupversion.html) in the * Amazon IoT Greengrass Version 1 API Reference *
+  [Amazon IoT Greengrass Version 1 Developer Guide](https://docs.amazonaws.cn/greengrass/v1/developerguide/) 