Class CfnGroupMixinProps.Builder

java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.greengrass.CfnGroupMixinProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGroupMixinProps>
Enclosing interface:
CfnGroupMixinProps

@Stability(Stable) public static final class CfnGroupMixinProps.Builder extends Object implements software.amazon.jsii.Builder<CfnGroupMixinProps>
A builder for CfnGroupMixinProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • initialVersion

      @Stability(Stable) public CfnGroupMixinProps.Builder initialVersion(IResolvable initialVersion)
      Parameters:
      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::GroupVersion resource and specify the ID of this group.

      Returns:
      this
    • initialVersion

      @Stability(Stable) public CfnGroupMixinProps.Builder initialVersion(CfnGroupPropsMixin.GroupVersionProperty initialVersion)
      Parameters:
      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::GroupVersion resource and specify the ID of this group.

      Returns:
      this
    • name

      @Stability(Stable) public CfnGroupMixinProps.Builder name(String name)
      Parameters:
      name - The name of the group.
      Returns:
      this
    • roleArn

      @Stability(Stable) public CfnGroupMixinProps.Builder roleArn(String roleArn)
      Parameters:
      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.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnGroupMixinProps.Builder tags(Object tags)
      Parameters:
      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 CloudFormation templates.

                   "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
                   }
                   
      Returns:
      this
    • build

      @Stability(Stable) public CfnGroupMixinProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnGroupMixinProps>
      Returns:
      a new instance of CfnGroupMixinProps
      Throws:
      NullPointerException - if any required attribute was not provided