interface GroupVersionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Greengrass.CfnGroup.GroupVersionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsgreengrass#CfnGroup_GroupVersionProperty |
Java | software.amazon.awscdk.services.greengrass.CfnGroup.GroupVersionProperty |
Python | aws_cdk.aws_greengrass.CfnGroup.GroupVersionProperty |
TypeScript | aws-cdk-lib » aws_greengrass » CfnGroup » GroupVersionProperty |
A group version in AWS 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.
In an AWS CloudFormation template, GroupVersion
is the property type of the InitialVersion
property in the AWS::Greengrass::Group
resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_greengrass as greengrass } from 'aws-cdk-lib';
const groupVersionProperty: greengrass.CfnGroup.GroupVersionProperty = {
connectorDefinitionVersionArn: 'connectorDefinitionVersionArn',
coreDefinitionVersionArn: 'coreDefinitionVersionArn',
deviceDefinitionVersionArn: 'deviceDefinitionVersionArn',
functionDefinitionVersionArn: 'functionDefinitionVersionArn',
loggerDefinitionVersionArn: 'loggerDefinitionVersionArn',
resourceDefinitionVersionArn: 'resourceDefinitionVersionArn',
subscriptionDefinitionVersionArn: 'subscriptionDefinitionVersionArn',
};
Properties
Name | Type | Description |
---|---|---|
connector | string | The Amazon Resource Name (ARN) of the connector definition version that contains the connectors you want to deploy with the group version. |
core | string | The ARN of the core definition version that contains the core you want to deploy with the group version. |
device | string | The ARN of the device definition version that contains the devices you want to deploy with the group version. |
function | string | The ARN of the function definition version that contains the functions you want to deploy with the group version. |
logger | string | The ARN of the logger definition version that contains the loggers you want to deploy with the group version. |
resource | string | The ARN of the resource definition version that contains the resources you want to deploy with the group version. |
subscription | string | The ARN of the subscription definition version that contains the subscriptions you want to deploy with the group version. |
connectorDefinitionVersionArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the connector definition version that contains the connectors you want to deploy with the group version.
coreDefinitionVersionArn?
Type:
string
(optional)
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.
deviceDefinitionVersionArn?
Type:
string
(optional)
The ARN of the device definition version that contains the devices you want to deploy with the group version.
functionDefinitionVersionArn?
Type:
string
(optional)
The ARN of the function definition version that contains the functions you want to deploy with the group version.
loggerDefinitionVersionArn?
Type:
string
(optional)
The ARN of the logger definition version that contains the loggers you want to deploy with the group version.
resourceDefinitionVersionArn?
Type:
string
(optional)
The ARN of the resource definition version that contains the resources you want to deploy with the group version.
subscriptionDefinitionVersionArn?
Type:
string
(optional)
The ARN of the subscription definition version that contains the subscriptions you want to deploy with the group version.