CfnUserToGroupAdditionProps

class aws_cdk.aws_iam.CfnUserToGroupAdditionProps(*, group_name, users)

Bases: object

Properties for defining a CfnUserToGroupAddition.

Parameters:
  • group_name (str) – 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 (Sequence[str]) – A list of the names of the users that you want to add to the group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iam as iam

cfn_user_to_group_addition_props = iam.CfnUserToGroupAdditionProps(
    group_name="groupName",
    users=["users"]
)

Attributes

group_name

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html#cfn-iam-usertogroupaddition-groupname

users

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html#cfn-iam-usertogroupaddition-users