interface SubscriptionDefinitionVersionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Greengrass.CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsgreengrass#CfnSubscriptionDefinition_SubscriptionDefinitionVersionProperty |
Java | software.amazon.awscdk.services.greengrass.CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty |
Python | aws_cdk.aws_greengrass.CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty |
TypeScript | aws-cdk-lib » aws_greengrass » CfnSubscriptionDefinition » SubscriptionDefinitionVersionProperty |
A subscription definition version contains a list of subscriptions .
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
.
In an AWS CloudFormation template, SubscriptionDefinitionVersion
is the property type of the InitialVersion
property in the AWS::Greengrass::SubscriptionDefinition
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 subscriptionDefinitionVersionProperty: greengrass.CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty = {
subscriptions: [{
id: 'id',
source: 'source',
subject: 'subject',
target: 'target',
}],
};
Properties
Name | Type | Description |
---|---|---|
subscriptions | IResolvable | IResolvable | Subscription [] | The subscriptions in this version. |
subscriptions
Type:
IResolvable
|
IResolvable
|
Subscription
[]
The subscriptions in this version.