Interface CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty.Jsii$Proxy
Enclosing class:
CfnSubscriptionDefinition

@Stability(Stable) public static interface CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.greengrass.*;
 SubscriptionDefinitionVersionProperty subscriptionDefinitionVersionProperty = SubscriptionDefinitionVersionProperty.builder()
         .subscriptions(List.of(SubscriptionProperty.builder()
                 .id("id")
                 .source("source")
                 .subject("subject")
                 .target("target")
                 .build()))
         .build();
 

See Also: