# CfnUserToGroupAdditionProps

Properties for defining a `CfnUserToGroupAddition`.

Used as props by: [CfnUserToGroupAddition](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iam.CfnUserToGroupAddition.html)

- Source: Generated at build time

## Example

TypeScript:

```ts
// 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'],
};
```

Python:

```python
# 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"]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iam.*;

CfnUserToGroupAdditionProps cfnUserToGroupAdditionProps = CfnUserToGroupAdditionProps.builder()
        .groupName("groupName")
        .users(List.of("users"))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IAM;

var cfnUserToGroupAdditionProps = new CfnUserToGroupAdditionProps {
    GroupName = "groupName",
    Users = new [] { "users" }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnUserToGroupAdditionProps := &CfnUserToGroupAdditionProps{
	GroupName: jsii.String("groupName"),
	Users: []*string{
		jsii.String("users"),
	},
}
```

## Properties

- `groupName`: string (required) — The name of the group to update.

  This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex) ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

- `users`: string[] (required) — A list of the names of the users that you want to add to the group.
