import * as core from "@terrascript/core"; export interface UserGroupAssociationArgs extends core.ResourceArgs { /** * (Required) ID of the user group. */ userGroupId: string | core.StringOut; /** * (Required) ID of the user to associated with the user group. */ userId: string | core.StringOut; } export class UserGroupAssociation extends core.Resource { @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) ID of the user group. */ @core.attr(String) public userGroupId!: string | core.StringOut; /** * (Required) ID of the user to associated with the user group. */ @core.attr(String) public userId!: string | core.StringOut; constructor(name: string, args?: UserGroupAssociationArgs) { super(name, "aws_elasticache_user_group_association", args); } public override getNamespace(): string { return "aws_elasticache"; } }