Class CfnGroupProps
Properties for defining a CfnGroup
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGroupProps : Object, ICfnGroupProps
Syntax (vb)
Public Class CfnGroupProps
Inherits Object
Implements ICfnGroupProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html
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 tags;
var cfnGroupProps = new CfnGroupProps {
Name = "name",
// the properties below are optional
InitialVersion = new GroupVersionProperty {
ConnectorDefinitionVersionArn = "connectorDefinitionVersionArn",
CoreDefinitionVersionArn = "coreDefinitionVersionArn",
DeviceDefinitionVersionArn = "deviceDefinitionVersionArn",
FunctionDefinitionVersionArn = "functionDefinitionVersionArn",
LoggerDefinitionVersionArn = "loggerDefinitionVersionArn",
ResourceDefinitionVersionArn = "resourceDefinitionVersionArn",
SubscriptionDefinitionVersionArn = "subscriptionDefinitionVersionArn"
},
RoleArn = "roleArn",
Tags = tags
};
Synopsis
Constructors
CfnGroupProps() |
Properties
InitialVersion | The group version to include when the group is created. |
Name | The name of the group. |
RoleArn | The Amazon Resource Name (ARN) of the IAM role attached to the group. |
Tags | Application-specific metadata to attach to the group. |
Constructors
CfnGroupProps()
public CfnGroupProps()
Properties
InitialVersion
The group version to include when the group is created.
public object InitialVersion { get; set; }
Property Value
System.Object
Remarks
A group version references the Amazon Resource Name (ARN) of a core definition version, device definition version, subscription definition version, and other version types. 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 associate a group version after the group is created, create an AWS::Greengrass::GroupVersion
resource and specify the ID of this group.
Name
The name of the group.
public string Name { get; set; }
Property Value
System.String
Remarks
RoleArn
The Amazon Resource Name (ARN) of the IAM role attached to the group.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
This role contains the permissions that Lambda functions and connectors use to interact with other AWS services.
Tags
Application-specific metadata to attach to the group.
public object Tags { get; set; }
Property Value
System.Object
Remarks
You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tagging Your AWS IoT Greengrass Resources in the Developer Guide .
This Json
property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags
implementations in AWS CloudFormation templates.
"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
}