import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface GroupRolesConfig extends cdktf.TerraformMetaArguments { /** * Group ID that will be managed by this resource. Changing the group_id attribute for the groups_role object will cause the existing group_roles object to be dropped and recreated with a new ID * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/group_roles#group_id GroupRoles#group_id} */ readonly groupId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/group_roles#id GroupRoles#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * roles block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/group_roles#roles GroupRoles#roles} */ readonly roles?: GroupRolesRoles[] | cdktf.IResolvable; } export interface GroupRolesRoles { /** * Division IDs applied to this resource. If not set, the home division will be used. '*' may be set for all divisions. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/group_roles#division_ids GroupRoles#division_ids} */ readonly divisionIds?: string[]; /** * Role ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/group_roles#role_id GroupRoles#role_id} */ readonly roleId: string; } export declare function groupRolesRolesToTerraform(struct?: GroupRolesRoles | cdktf.IResolvable): any; export declare function groupRolesRolesToHclTerraform(struct?: GroupRolesRoles | cdktf.IResolvable): any; export declare class GroupRolesRolesOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): GroupRolesRoles | cdktf.IResolvable | undefined; set internalValue(value: GroupRolesRoles | cdktf.IResolvable | undefined); private _divisionIds?; get divisionIds(): string[]; set divisionIds(value: string[]); resetDivisionIds(): void; get divisionIdsInput(): string[]; private _roleId?; get roleId(): string; set roleId(value: string); get roleIdInput(): string; } export declare class GroupRolesRolesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: GroupRolesRoles[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): GroupRolesRolesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/group_roles genesyscloud_group_roles} */ export declare class GroupRoles extends cdktf.TerraformResource { static readonly tfResourceType = "genesyscloud_group_roles"; /** * Generates CDKTF code for importing a GroupRoles resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the GroupRoles to import * @param importFromId The id of the existing GroupRoles that should be imported. Refer to the {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/group_roles#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the GroupRoles to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/group_roles genesyscloud_group_roles} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options GroupRolesConfig */ constructor(scope: Construct, id: string, config: GroupRolesConfig); private _groupId?; get groupId(): string; set groupId(value: string); get groupIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _roles; get roles(): GroupRolesRolesList; putRoles(value: GroupRolesRoles[] | cdktf.IResolvable): void; resetRoles(): void; get rolesInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }