Class CfnGroupPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGroupPropsMixin>
- Enclosing class:
CfnGroupPropsMixin
CfnGroupPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnGroupPropsMixin.Buildercreate()static CfnGroupPropsMixin.Buildercreate(CfnPropertyMixinOptions options) initialVersion(CfnGroupPropsMixin.GroupVersionProperty initialVersion) The group version to include when the group is created.initialVersion(IResolvable initialVersion) The group version to include when the group is created.The name of the group.The Amazon Resource Name (ARN) of the IAM role attached to the group.Application-specific metadata to attach to the group.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnGroupPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnGroupPropsMixin.Builder.
-
initialVersion
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::GroupVersionresource and specify the ID of this group.- Parameters:
initialVersion- The group version to include when the group is created. This parameter is required.- Returns:
this- See Also:
-
initialVersion
@Stability(Stable) public CfnGroupPropsMixin.Builder initialVersion(CfnGroupPropsMixin.GroupVersionProperty initialVersion) 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::GroupVersionresource and specify the ID of this group.- Parameters:
initialVersion- The group version to include when the group is created. This parameter is required.- Returns:
this- See Also:
-
name
The name of the group.- Parameters:
name- The name of the group. This parameter is required.- Returns:
this- See Also:
-
roleArn
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.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role attached to the group. This parameter is required.- Returns:
this- See Also:
-
tags
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
Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from mostTagsimplementations in CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }- Parameters:
tags- Application-specific metadata to attach to the group. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGroupPropsMixin>- Returns:
- a newly built instance of
CfnGroupPropsMixin.
-