import * as core from "@terrascript/core"; export interface UserInGroupArgs extends core.ResourceArgs { /** * (Required) The name of the group to which the user is to be added. */ groupName: string | core.StringOut; /** * (Required) The user pool ID of the user and group. */ userPoolId: string | core.StringOut; /** * (Required) The username of the user to be added to the group. */ username: string | core.StringOut; } export class UserInGroup extends core.Resource { /** * (Required) The name of the group to which the user is to be added. */ @core.attr(String) public groupName!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The user pool ID of the user and group. */ @core.attr(String) public userPoolId!: string | core.StringOut; /** * (Required) The username of the user to be added to the group. */ @core.attr(String) public username!: string | core.StringOut; constructor(name: string, args?: UserInGroupArgs) { super(name, "aws_cognito_user_in_group", args); } public override getNamespace(): string { return "aws_cognito"; } }