createGroup

abstract suspend fun createGroup(input: CreateGroupRequest): CreateGroupResponse

Creates a new group.

For information about the number of groups you can create, see IAM and STS quotas in the IAM User Guide.

Samples


fun main() { 
   //sampleStart 
   // The following command creates an IAM group named Admins.
val resp = iamClient.createGroup {
    groupName = "Admins"
} 
   //sampleEnd
}