CfnUserToGroupAdditionMixinProps

class aws_cdk.mixins_preview.aws_iam.mixins.CfnUserToGroupAdditionMixinProps(*, group_name=None, users=None)

Bases: object

Properties for CfnUserToGroupAdditionPropsMixin.

Parameters:
  • group_name (Optional[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 (Optional[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.mixins_preview.aws_iam import mixins as iam_mixins

cfn_user_to_group_addition_mixin_props = iam_mixins.CfnUserToGroupAdditionMixinProps(
    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