Class CfnGroupVersion
The AWS::Greengrass::GroupVersion
resource represents a group version in AWS IoT Greengrass .
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGroupVersion : CfnResource, IInspectable
Syntax (vb)
Public Class CfnGroupVersion
Inherits CfnResource
Implements IInspectable
Remarks
A group version references 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.
To create a group version, you must specify the ID of the group that you want to associate with the version. For information about creating a group, see AWS::Greengrass::Group
.
CloudformationResource: AWS::Greengrass::GroupVersion
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Greengrass;
var cfnGroupVersion = new CfnGroupVersion(this, "MyCfnGroupVersion", new CfnGroupVersionProps {
GroupId = "groupId",
// the properties below are optional
ConnectorDefinitionVersionArn = "connectorDefinitionVersionArn",
CoreDefinitionVersionArn = "coreDefinitionVersionArn",
DeviceDefinitionVersionArn = "deviceDefinitionVersionArn",
FunctionDefinitionVersionArn = "functionDefinitionVersionArn",
LoggerDefinitionVersionArn = "loggerDefinitionVersionArn",
ResourceDefinitionVersionArn = "resourceDefinitionVersionArn",
SubscriptionDefinitionVersionArn = "subscriptionDefinitionVersionArn"
});
Synopsis
Constructors
CfnGroupVersion(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnGroupVersion(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnGroupVersion(Construct, String, ICfnGroupVersionProps) |
Properties
AttrId | |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ConnectorDefinitionVersionArn | The Amazon Resource Name (ARN) of the connector definition version that contains the connectors you want to deploy with the group version. |
CoreDefinitionVersionArn | The ARN of the core definition version that contains the core you want to deploy with the group version. |
DeviceDefinitionVersionArn | The ARN of the device definition version that contains the devices you want to deploy with the group version. |
FunctionDefinitionVersionArn | The ARN of the function definition version that contains the functions you want to deploy with the group version. |
GroupId | The ID of the group associated with this version. |
LoggerDefinitionVersionArn | The ARN of the logger definition version that contains the loggers you want to deploy with the group version. |
ResourceDefinitionVersionArn | The ARN of the resource definition version that contains the resources you want to deploy with the group version. |
SubscriptionDefinitionVersionArn | The ARN of the subscription definition version that contains the subscriptions you want to deploy with the group version. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnGroupVersion(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnGroupVersion(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnGroupVersion(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnGroupVersion(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnGroupVersion(Construct, String, ICfnGroupVersionProps)
public CfnGroupVersion(Construct scope, string id, ICfnGroupVersionProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnGroupVersionProps
Resource properties.
Properties
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ConnectorDefinitionVersionArn
The Amazon Resource Name (ARN) of the connector definition version that contains the connectors you want to deploy with the group version.
public virtual string ConnectorDefinitionVersionArn { get; set; }
Property Value
System.String
CoreDefinitionVersionArn
The ARN of the core definition version that contains the core you want to deploy with the group version.
public virtual string CoreDefinitionVersionArn { get; set; }
Property Value
System.String
DeviceDefinitionVersionArn
The ARN of the device definition version that contains the devices you want to deploy with the group version.
public virtual string DeviceDefinitionVersionArn { get; set; }
Property Value
System.String
FunctionDefinitionVersionArn
The ARN of the function definition version that contains the functions you want to deploy with the group version.
public virtual string FunctionDefinitionVersionArn { get; set; }
Property Value
System.String
GroupId
The ID of the group associated with this version.
public virtual string GroupId { get; set; }
Property Value
System.String
LoggerDefinitionVersionArn
The ARN of the logger definition version that contains the loggers you want to deploy with the group version.
public virtual string LoggerDefinitionVersionArn { get; set; }
Property Value
System.String
ResourceDefinitionVersionArn
The ARN of the resource definition version that contains the resources you want to deploy with the group version.
public virtual string ResourceDefinitionVersionArn { get; set; }
Property Value
System.String
SubscriptionDefinitionVersionArn
The ARN of the subscription definition version that contains the subscriptions you want to deploy with the group version.
public virtual string SubscriptionDefinitionVersionArn { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>