import * as core from "@terrascript/core"; export interface GroupMembershipArgs extends core.ResourceArgs { group: string | core.StringOut; /** * (Required) The name to identify the Group Membership */ name: string | core.StringOut; /** * (Required) A list of IAM User names to associate with the Group */ users: core.Array | core.ArrayOut; } export class GroupMembership extends core.Resource { @core.attr(String) public group!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name to identify the Group Membership */ @core.attr(String) public name!: string | core.StringOut; /** * (Required) A list of IAM User names to associate with the Group */ @core.attr(String, { kind: "array" }) public users!: core.Array | core.ArrayOut; constructor(name: string, args?: GroupMembershipArgs) { super(name, "aws_iam_group_membership", args); } public override getNamespace(): string { return "aws_iam"; } }