/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ServiceAccountConfig extends cdktf.TerraformMetaArguments { /** * Whether the service account is disabled. Defaults to `false`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/service_account#disabled ServiceAccount#disabled} */ readonly disabled?: boolean | cdktf.IResolvable; /** * Email of the associated user. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/service_account#email ServiceAccount#email} */ readonly email: string; /** * Name for the service account. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/service_account#name ServiceAccount#name} */ readonly name?: string; /** * A list of role IDs to assign to the service account. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/service_account#roles ServiceAccount#roles} */ readonly roles?: string[]; } /** * Represents a {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/service_account datadog_service_account} */ export declare class ServiceAccount extends cdktf.TerraformResource { static readonly tfResourceType = "datadog_service_account"; /** * Generates CDKTF code for importing a ServiceAccount 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 ServiceAccount to import * @param importFromId The id of the existing ServiceAccount that should be imported. Refer to the {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/service_account#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ServiceAccount 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/service_account datadog_service_account} 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 ServiceAccountConfig */ constructor(scope: Construct, id: string, config: ServiceAccountConfig); private _disabled?; get disabled(): boolean | cdktf.IResolvable; set disabled(value: boolean | cdktf.IResolvable); resetDisabled(): void; get disabledInput(): boolean | cdktf.IResolvable | undefined; private _email?; get email(): string; set email(value: string); get emailInput(): string | undefined; get id(): string; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string | undefined; private _roles?; get roles(): string[]; set roles(value: string[]); resetRoles(): void; get rolesInput(): string[] | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }