AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Greengrass::SubscriptionDefinitionVersion

CfnSubscriptionDefinitionVersion

The `AWS::Greengrass::SubscriptionDefinitionVersion` resource represents a subscription definition version for AWS IoT Greengrass . A subscription definition version contains a list of subscriptions. > To create a subscription definition version, you must specify the ID of the subscription definition that you want to associate with the version. For information about creating a subscription definition, see [`AWS::Greengrass::SubscriptionDefinition`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-subscriptiondefinition.html) . > > After you create a subscription definition version that contains the subscriptions you want to deploy, you must add it to your group version. For more information, see [`AWS::Greengrass::Group`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html) .

Import

import { CfnSubscriptionDefinitionVersion } from 'aws-cdk-lib/aws-greengrass';

Or use the module namespace:

import * as greengrass from 'aws-cdk-lib/aws-greengrass';
// greengrass.CfnSubscriptionDefinitionVersion

Properties

Configuration passed to the constructor as CfnSubscriptionDefinitionVersionProps.

subscriptionDefinitionIdRequired
string

The ID of the subscription definition associated with this version. This value is a GUID.

subscriptionsRequired
IResolvable | IResolvable | SubscriptionProperty[]

The subscriptions in this version.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter