import * as core from "@terrascript/core"; export interface GroupMembershipArgs extends core.ResourceArgs { /** * (Optional) The ID for the AWS account that the group is in. Currently, you use the ID for the AWS ac * count that contains your Amazon QuickSight account. */ awsAccountId?: string | core.StringOut; /** * (Required) The name of the group in which the member will be added. */ groupName: string | core.StringOut; /** * (Required) The name of the member to add to the group. */ memberName: string | core.StringOut; /** * (Required) The namespace. Defaults to `default`. Currently only `default` is supported. */ namespace?: string | core.StringOut; } export class GroupMembership extends core.Resource { @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) The ID for the AWS account that the group is in. Currently, you use the ID for the AWS ac * count that contains your Amazon QuickSight account. */ @core.attr(String, { computed: true }) public awsAccountId?: string | core.StringOut; /** * (Required) The name of the group in which the member will be added. */ @core.attr(String) public groupName!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the member to add to the group. */ @core.attr(String) public memberName!: string | core.StringOut; /** * (Required) The namespace. Defaults to `default`. Currently only `default` is supported. */ @core.attr(String) public namespace?: string | core.StringOut; constructor(name: string, args?: GroupMembershipArgs) { super(name, "aws_quicksight_group_membership", args); } public override getNamespace(): string { return "aws_quicksight"; } }