Interface UserGroupAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
UserGroupAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-01T17:47:05.840Z")
@Stability(Experimental)
public interface UserGroupAttributes
extends software.amazon.jsii.JsiiSerializable
(experimental) Attributes that can be specified when importing a UserGroup.
Example:
Stack stack = new Stack(); IUser importedIamUser = IamUser.fromUserId(this, "ImportedIamUser", "my-iam-user-id"); IUser importedPasswordUser = PasswordUser.fromUserAttributes(stack, "ImportedPasswordUser", UserBaseAttributes.builder() .userId("my-password-user-id") .build()); IUser importedNoPasswordUser = NoPasswordUser.fromUserAttributes(stack, "ImportedNoPasswordUser", UserBaseAttributes.builder() .userId("my-no-password-user-id") .build()); IUserGroup importedUserGroup = UserGroup.fromUserGroupAttributes(this, "ImportedUserGroup", UserGroupAttributes.builder() .userGroupName("my-user-group-name") .build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forUserGroupAttributes
static final class
An implementation forUserGroupAttributes
-
Method Summary
Modifier and TypeMethodDescriptionstatic UserGroupAttributes.Builder
builder()
default UserEngine
(experimental) The engine type for the user group.default String
(experimental) The ARN of the user group.default String
(experimental) The name of the user group.getUsers()
(experimental) List of users in the user group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEngine
(experimental) The engine type for the user group.Default: - engine type is unknown
-
getUserGroupArn
(experimental) The ARN of the user group.One of
userGroupName
oruserGroupArn
is required.Default: - derived from userGroupName
-
getUserGroupName
(experimental) The name of the user group.One of
userGroupName
oruserGroupArn
is required.Default: - derived from userGroupArn
-
getUsers
(experimental) List of users in the user group.Default: - users are unknown
-
builder
- Returns:
- a
UserGroupAttributes.Builder
ofUserGroupAttributes
-