Interface CfnGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGroupProps.Jsii$Proxy
CfnGroup
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.greengrass.*; Object tags; CfnGroupProps cfnGroupProps = CfnGroupProps.builder() .name("name") // the properties below are optional .initialVersion(GroupVersionProperty.builder() .connectorDefinitionVersionArn("connectorDefinitionVersionArn") .coreDefinitionVersionArn("coreDefinitionVersionArn") .deviceDefinitionVersionArn("deviceDefinitionVersionArn") .functionDefinitionVersionArn("functionDefinitionVersionArn") .loggerDefinitionVersionArn("loggerDefinitionVersionArn") .resourceDefinitionVersionArn("resourceDefinitionVersionArn") .subscriptionDefinitionVersionArn("subscriptionDefinitionVersionArn") .build()) .roleArn("roleArn") .tags(tags) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGroupProps
static final class
An implementation forCfnGroupProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnGroupProps.Builder
builder()
default Object
The group version to include when the group is created.getName()
The name of the group.default String
The Amazon Resource Name (ARN) of the IAM role attached to the group.default Object
getTags()
Application-specific metadata to attach to the group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the group.- See Also:
-
getInitialVersion
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.- See Also:
-
getRoleArn
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.
- See Also:
-
getTags
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 mostTags
implementations in AWS CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- See Also:
-
builder
- Returns:
- a
CfnGroupProps.Builder
ofCfnGroupProps
-