AWS::IAM::UserToGroupAddition - AWS CloudFormation


Adds the specified user to the specified group.


To declare this entity in your AWS CloudFormation template, use the following syntax:


{ "Type" : "AWS::IAM::UserToGroupAddition", "Properties" : { "GroupName" : String, "Users" : [ String, ... ] } }


Type: AWS::IAM::UserToGroupAddition Properties: GroupName: String Users: - String



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: _+=,.@-

Required: Yes

Type: String

Minimum: 1

Maximum: 128

Pattern: [\w+=,.@-]+

Update requires: No interruption


A list of the names of the users that you want to add to the group.

Required: Yes

Type: List of String

Update requires: No interruption

Return values


When the logical ID of this resource is provided to the Ref intrinsic function, Ref returns the resource name.

For example:

{ "Ref": "MyUserToGroupAddition" }

For the AWS::IAM::UserToGroupAddition resource with the logical ID MyUserToGroupAddition, Ref will return the AWS resource name.

For more information about using the Ref function, see Ref.

See also