Interface CfnGroup.GroupVersionProperty

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

@Stability(Stable) public static interface CfnGroup.GroupVersionProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.greengrass.*;
 GroupVersionProperty groupVersionProperty = GroupVersionProperty.builder()
         .connectorDefinitionVersionArn("connectorDefinitionVersionArn")
         .coreDefinitionVersionArn("coreDefinitionVersionArn")
         .deviceDefinitionVersionArn("deviceDefinitionVersionArn")
         .functionDefinitionVersionArn("functionDefinitionVersionArn")
         .loggerDefinitionVersionArn("loggerDefinitionVersionArn")
         .resourceDefinitionVersionArn("resourceDefinitionVersionArn")
         .subscriptionDefinitionVersionArn("subscriptionDefinitionVersionArn")
         .build();
 
  • Method Details

    • getConnectorDefinitionVersionArn

      @Stability(Stable) @Nullable default String getConnectorDefinitionVersionArn()
      The Amazon Resource Name (ARN) of the connector definition version that contains the connectors you want to deploy with the group version.
    • getCoreDefinitionVersionArn

      @Stability(Stable) @Nullable default String getCoreDefinitionVersionArn()
      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.

    • getDeviceDefinitionVersionArn

      @Stability(Stable) @Nullable default String getDeviceDefinitionVersionArn()
      The ARN of the device definition version that contains the devices you want to deploy with the group version.
    • getFunctionDefinitionVersionArn

      @Stability(Stable) @Nullable default String getFunctionDefinitionVersionArn()
      The ARN of the function definition version that contains the functions you want to deploy with the group version.
    • getLoggerDefinitionVersionArn

      @Stability(Stable) @Nullable default String getLoggerDefinitionVersionArn()
      The ARN of the logger definition version that contains the loggers you want to deploy with the group version.
    • getResourceDefinitionVersionArn

      @Stability(Stable) @Nullable default String getResourceDefinitionVersionArn()
      The ARN of the resource definition version that contains the resources you want to deploy with the group version.
    • getSubscriptionDefinitionVersionArn

      @Stability(Stable) @Nullable default String getSubscriptionDefinitionVersionArn()
      The ARN of the subscription definition version that contains the subscriptions you want to deploy with the group version.
    • builder

      @Stability(Stable) static CfnGroup.GroupVersionProperty.Builder builder()
      Returns:
      a CfnGroup.GroupVersionProperty.Builder of CfnGroup.GroupVersionProperty