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.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-addusertogroup.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.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: _+=,.@-

Link

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

Return type

str

users

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

Link

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

Return type

List[str]