Class CfnUserToGroupAddition.Builder
java.lang.Object
software.amazon.awscdk.services.iam.CfnUserToGroupAddition.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserToGroupAddition>
- Enclosing class:
- CfnUserToGroupAddition
@Stability(Stable)
public static final class CfnUserToGroupAddition.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserToGroupAddition>
A fluent builder for
CfnUserToGroupAddition
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The name of the group to update.A list of the names of the users that you want to add to the group.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnUserToGroupAddition.Builder
.
-
groupName
The name of the group to update.This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
- Parameters:
groupName
- The name of the group to update. This parameter is required.- Returns:
this
-
users
A list of the names of the users that you want to add to the group.- Parameters:
users
- A list of the names of the users that you want to add to the group. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserToGroupAddition>
- Returns:
- a newly built instance of
CfnUserToGroupAddition
.
-