Class CfnGroupVersion
A CloudFormation AWS::Greengrass::GroupVersion
.
Inherited Members
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.AWS.Greengrass.dll
Syntax (csharp)
public class CfnGroupVersion : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnGroupVersion
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
The AWS::Greengrass::GroupVersion
resource represents a group version in AWS IoT Greengrass . 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(Construct, String, ICfnGroupVersionProps) | Create a new |
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 |
Properties
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(Construct, String, ICfnGroupVersionProps)
Create a new AWS::Greengrass::GroupVersion
.
public CfnGroupVersion(Construct scope, string id, ICfnGroupVersionProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnGroupVersionProps
- resource properties.
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
Properties
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
Remarks
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
Remarks
Currently, the core definition version can contain only one core.
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
Remarks
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
Remarks
GroupId
The ID of the group associated with this version.
public virtual string GroupId { get; set; }
Property Value
System.String
Remarks
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
Remarks
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
Remarks
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
Remarks
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>