/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface AuthnMappingConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/authn_mapping#id AuthnMapping#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; /** * Identity provider key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/authn_mapping#key AuthnMapping#key} */ readonly key: string; /** * The ID of a role to attach to all users with the corresponding key and value. Cannot be used in conjunction with `team`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/authn_mapping#role AuthnMapping#role} */ readonly role?: string; /** * The ID of a team to add all users with the corresponding key and value to. Cannot be used in conjunction with `role`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/authn_mapping#team AuthnMapping#team} */ readonly team?: string; /** * Identity provider value. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/authn_mapping#value AuthnMapping#value} */ readonly value: string; } /** * Represents a {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/authn_mapping datadog_authn_mapping} */ export declare class AuthnMapping extends cdktf.TerraformResource { static readonly tfResourceType = "datadog_authn_mapping"; /** * Generates CDKTF code for importing a AuthnMapping 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 AuthnMapping to import * @param importFromId The id of the existing AuthnMapping that should be imported. Refer to the {@link https://registry.terraform.io/providers/datadog/datadog/3.82.0/docs/resources/authn_mapping#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the AuthnMapping 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/authn_mapping datadog_authn_mapping} 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 AuthnMappingConfig */ constructor(scope: Construct, id: string, config: AuthnMappingConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _key?; get key(): string; set key(value: string); get keyInput(): string | undefined; private _role?; get role(): string; set role(value: string); resetRole(): void; get roleInput(): string | undefined; private _team?; get team(): string; set team(value: string); resetTeam(): void; get teamInput(): string | undefined; private _value?; get value(): string; set value(value: string); get valueInput(): string | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }