interface CfnUserToGroupAdditionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IAM.Mixins.CfnUserToGroupAdditionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiam/mixins#CfnUserToGroupAdditionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.iam.mixins.CfnUserToGroupAdditionMixinProps |
Python | aws_cdk.mixins_preview.aws_iam.mixins.CfnUserToGroupAdditionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_iam » mixins » CfnUserToGroupAdditionMixinProps |
Properties for CfnUserToGroupAdditionPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as iam_mixins } from '@aws-cdk/mixins-preview/aws-iam';
const cfnUserToGroupAdditionMixinProps: iam_mixins.CfnUserToGroupAdditionMixinProps = {
groupName: 'groupName',
users: ['users'],
};
Properties
| Name | Type | Description |
|---|---|---|
| group | string | The name of the group to update. |
| users? | string[] | A list of the names of the users that you want to add to the group. |
groupName?
Type:
string
(optional)
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[]
(optional)
A list of the names of the users that you want to add to the group.

.NET
Go
Java
Python
TypeScript