import * as core from "@terrascript/core"; export interface UserGroupArgs extends core.ResourceArgs { /** * (Optional) The description of the user group. */ description?: string | core.StringOut; /** * (Required) The name of the user group. */ name: string | core.StringOut; /** * (Optional) The precedence of the user group. */ precedence?: number | core.NumberOut; /** * (Optional) The ARN of the IAM role to be associated with the user group. */ roleArn?: string | core.StringOut; /** * (Required) The user pool ID. */ userPoolId: string | core.StringOut; } export class UserGroup extends core.Resource { /** * (Optional) The description of the user group. */ @core.attr(String) public description?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the user group. */ @core.attr(String) public name!: string | core.StringOut; /** * (Optional) The precedence of the user group. */ @core.attr(Number) public precedence?: number | core.NumberOut; /** * (Optional) The ARN of the IAM role to be associated with the user group. */ @core.attr(String) public roleArn?: string | core.StringOut; /** * (Required) The user pool ID. */ @core.attr(String) public userPoolId!: string | core.StringOut; constructor(name: string, args?: UserGroupArgs) { super(name, "aws_cognito_user_group", args); } public override getNamespace(): string { return "aws_cognito"; } }