/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface UserRoleConfig extends cdktf.TerraformMetaArguments { /** * ID of the role that the user is assigned to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/user_role#role_id UserRole#role_id} */ readonly roleId: string; /** * The ID of the user. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/user_role#user_id UserRole#user_id} */ readonly userId: string; } /** * Represents a {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/user_role datadog_user_role} */ export declare class UserRole extends cdktf.TerraformResource { static readonly tfResourceType = "datadog_user_role"; /** * Generates CDKTF code for importing a UserRole 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 UserRole to import * @param importFromId The id of the existing UserRole that should be imported. Refer to the {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/user_role#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the UserRole to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource; /** * Create a new {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/user_role datadog_user_role} 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 UserRoleConfig */ constructor(scope: Construct, id: string, config: UserRoleConfig); get id(): string; private _roleId?; get roleId(): string; set roleId(value: string); get roleIdInput(): string | undefined; private _userId?; get userId(): string; set userId(value: string); get userIdInput(): string | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }