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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSubscriptions
The subscriptions in this version.- See Also:
-
builder
@Stability(Stable) static CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty.Builder builder()
-