Show / Hide Table of Contents

Class CfnGroupProps

Properties for defining a CfnGroup.

Inheritance
object
CfnGroupProps
Implements
ICfnGroupProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGroupProps : ICfnGroupProps
Syntax (vb)
Public Class CfnGroupProps 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 for defining a CfnGroup.

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()

Properties for defining a CfnGroup.

public CfnGroupProps()
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
             };

Properties

InitialVersion

The group version to include when the group is created.

public object? InitialVersion { get; set; }
Property Value

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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-groupversion.html"><code>AWS::Greengrass::GroupVersion</code></a> resource and specify the ID of this group.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html#cfn-greengrass-group-initialversion

Name

The name of the group.

public string Name { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html#cfn-greengrass-group-name

RoleArn

The Amazon Resource Name (ARN) of the IAM role attached to the group.

public string? RoleArn { get; set; }
Property Value

string

Remarks

This role contains the permissions that Lambda functions and connectors use to interact with other AWS services.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html#cfn-greengrass-group-rolearn

Tags

Application-specific metadata to attach to the group.

public object? Tags { get; set; }
Property Value

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"
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html#cfn-greengrass-group-tags

Implements

ICfnGroupProps
Back to top Generated by DocFX