interface CfnGroupProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Greengrass.CfnGroupProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsgreengrass#CfnGroupProps |
![]() | software.amazon.awscdk.services.greengrass.CfnGroupProps |
![]() | aws_cdk.aws_greengrass.CfnGroupProps |
![]() | aws-cdk-lib » aws_greengrass » CfnGroupProps |
Properties for defining a CfnGroup
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_greengrass as greengrass } from 'aws-cdk-lib';
declare const tags: any;
const cfnGroupProps: greengrass.CfnGroupProps = {
name: 'name',
// the properties below are optional
initialVersion: {
connectorDefinitionVersionArn: 'connectorDefinitionVersionArn',
coreDefinitionVersionArn: 'coreDefinitionVersionArn',
deviceDefinitionVersionArn: 'deviceDefinitionVersionArn',
functionDefinitionVersionArn: 'functionDefinitionVersionArn',
loggerDefinitionVersionArn: 'loggerDefinitionVersionArn',
resourceDefinitionVersionArn: 'resourceDefinitionVersionArn',
subscriptionDefinitionVersionArn: 'subscriptionDefinitionVersionArn',
},
roleArn: 'roleArn',
tags: tags,
};
Properties
Name | Type | Description |
---|---|---|
name | string | The name of the group. |
initial | IResolvable | Group | The group version to include when the group is created. |
role | string | The Amazon Resource Name (ARN) of the IAM role attached to the group. |
tags? | any | Application-specific metadata to attach to the group. |
name
Type:
string
The name of the group.
initialVersion?
Type:
IResolvable
|
Group
(optional)
The group version to include when the group is created.
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.
roleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the IAM role attached to the group.
This role contains the permissions that Lambda functions and connectors use to interact with other AWS services.
tags?
Type:
any
(optional)
Application-specific metadata to attach to the group.
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"
}