aws-cdk-lib.aws_iam.CfnUserToGroupAdditionProps

interface CfnUserToGroupAdditionProps

LanguageType name
.NETAmazon.CDK.AWS.IAM.CfnUserToGroupAdditionProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiam#CfnUserToGroupAdditionProps
Javasoftware.amazon.awscdk.services.iam.CfnUserToGroupAdditionProps
Pythonaws_cdk.aws_iam.CfnUserToGroupAdditionProps
TypeScript aws-cdk-lib » aws_iam » CfnUserToGroupAdditionProps

Properties for defining a CfnUserToGroupAddition.

Example

// 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

NameTypeDescription
groupNamestringThe name of the group to update.
usersstring[]A list of the names of the users that you want to add to the group.

groupName

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


users

Type: string[]

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