Skip to content
v2.273.0

CfnUserToGroupAdditionProps Struct ​

Properties for defining a CfnUserToGroupAddition.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iam as iam } from 'aws-cdk-lib';
const cfnUserToGroupAdditionProps: iam.CfnUserToGroupAdditionProps = {
  groupName: 'groupName',
  users: ['users'],
};

Properties ​

groupNamestringgroup_namestrgroupNameStringGroupNamestringGroupName*stringrequired#
The name of the group to update.
notes

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

usersstring[]userstyping.List[str]usersList<String>Usersstring[]Users*[]*stringrequired#
A list of the names of the users that you want to add to the group.

Used as props by ​