import * as core from "@terrascript/core"; export interface UserGroupArgs extends core.ResourceArgs { arn?: string | core.StringOut; /** * (Required) The current supported value is `REDIS`. */ engine: string | core.StringOut; tags?: core.Map | core.MapOut; tagsAll?: core.Map | core.MapOut; /** * (Required) The ID of the user group. */ userGroupId: string | core.StringOut; /** * (Optional) The list of user IDs that belong to the user group. */ userIds?: core.Array | core.ArrayOut; } export class UserGroup extends core.Resource { @core.attr(String, { computed: true }) public arn?: string | core.StringOut; /** * (Required) The current supported value is `REDIS`. */ @core.attr(String) public engine!: string | core.StringOut; /** * The user group identifier. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; /** * (Required) The ID of the user group. */ @core.attr(String) public userGroupId!: string | core.StringOut; /** * (Optional) The list of user IDs that belong to the user group. */ @core.attr(String, { kind: "array" }) public userIds?: core.Array | core.ArrayOut; constructor(name: string, args?: UserGroupArgs) { super(name, "aws_elasticache_user_group", args); } public override getNamespace(): string { return "aws_elasticache"; } }