@Stability(value=Stable) public static final class CfnGroupProps.Builder extends Object implements software.amazon.jsii.Builder<CfnGroupProps>
CfnGroupProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnGroupProps |
build()
Builds the configured instance.
|
CfnGroupProps.Builder |
initialVersion(CfnGroup.GroupVersionProperty initialVersion)
Sets the value of
CfnGroupProps.getInitialVersion() |
CfnGroupProps.Builder |
initialVersion(IResolvable initialVersion)
Sets the value of
CfnGroupProps.getInitialVersion() |
CfnGroupProps.Builder |
name(String name)
Sets the value of
CfnGroupProps.getName() |
CfnGroupProps.Builder |
roleArn(String roleArn)
Sets the value of
CfnGroupProps.getRoleArn() |
CfnGroupProps.Builder |
tags(Object tags)
Sets the value of
CfnGroupProps.getTags() |
@Stability(value=Stable) public CfnGroupProps.Builder name(String name)
CfnGroupProps.getName()name - The name of the group. This parameter is required.this@Stability(value=Stable) public CfnGroupProps.Builder initialVersion(IResolvable initialVersion)
CfnGroupProps.getInitialVersion()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.
this@Stability(value=Stable) public CfnGroupProps.Builder initialVersion(CfnGroup.GroupVersionProperty initialVersion)
CfnGroupProps.getInitialVersion()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.
this@Stability(value=Stable) public CfnGroupProps.Builder roleArn(String roleArn)
CfnGroupProps.getRoleArn()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.this@Stability(value=Stable) public CfnGroupProps.Builder tags(Object tags)
CfnGroupProps.getTags()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 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"
}
this@Stability(value=Stable) public CfnGroupProps build()
build in interface software.amazon.jsii.Builder<CfnGroupProps>CfnGroupPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.