import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface OrganizationmanagerMfaEnforcementConfig extends cdktf.TerraformMetaArguments { /** * acr id of the MFA enforcement * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement#acr_id OrganizationmanagerMfaEnforcement#acr_id} */ readonly acrId: string; /** * the MFA enforcement application start time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement#apply_at OrganizationmanagerMfaEnforcement#apply_at} */ readonly applyAt?: string; /** * description of the MFA enforcement * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement#description OrganizationmanagerMfaEnforcement#description} */ readonly description?: string; /** * the time window during which the user is allowed to create an MFA profile. * this window is measured relative to the MFA enforcement application start time * and the user's most recent successful authentication that falls under the rule * (or the user's creation time, if there has been no authentication). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement#enroll_window OrganizationmanagerMfaEnforcement#enroll_window} */ readonly enrollWindow: string; /** * id of the MFA enforcement * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement#id OrganizationmanagerMfaEnforcement#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; /** * id of the MFA enforcement * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement#mfa_enforcement_id OrganizationmanagerMfaEnforcement#mfa_enforcement_id} */ readonly mfaEnforcementId?: string; /** * name of the MFA enforcement * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement#name OrganizationmanagerMfaEnforcement#name} */ readonly name: string; /** * organization id of the MFA enforcement * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement#organization_id OrganizationmanagerMfaEnforcement#organization_id} */ readonly organizationId: string; /** * MFA enforcement status * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement#status OrganizationmanagerMfaEnforcement#status} */ readonly status?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement#timeouts OrganizationmanagerMfaEnforcement#timeouts} */ readonly timeouts?: OrganizationmanagerMfaEnforcementTimeouts; /** * the period during which the entered MFA factor is considered valid and the * corresponding acr is regarded as satisfied * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement#ttl OrganizationmanagerMfaEnforcement#ttl} */ readonly ttl: string; } export interface OrganizationmanagerMfaEnforcementTimeouts { /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement#create OrganizationmanagerMfaEnforcement#create} */ readonly create?: string; /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement#delete OrganizationmanagerMfaEnforcement#delete} */ readonly delete?: string; /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement#read OrganizationmanagerMfaEnforcement#read} */ readonly read?: string; /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement#update OrganizationmanagerMfaEnforcement#update} */ readonly update?: string; } export declare function organizationmanagerMfaEnforcementTimeoutsToTerraform(struct?: OrganizationmanagerMfaEnforcementTimeouts | cdktf.IResolvable): any; export declare function organizationmanagerMfaEnforcementTimeoutsToHclTerraform(struct?: OrganizationmanagerMfaEnforcementTimeouts | cdktf.IResolvable): any; export declare class OrganizationmanagerMfaEnforcementTimeoutsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OrganizationmanagerMfaEnforcementTimeouts | cdktf.IResolvable | undefined; set internalValue(value: OrganizationmanagerMfaEnforcementTimeouts | cdktf.IResolvable | undefined); private _create?; get create(): string; set create(value: string); resetCreate(): void; get createInput(): string; private _delete?; get delete(): string; set delete(value: string); resetDelete(): void; get deleteInput(): string; private _read?; get read(): string; set read(value: string); resetRead(): void; get readInput(): string; private _update?; get update(): string; set update(value: string); resetUpdate(): void; get updateInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement yandex_organizationmanager_mfa_enforcement} */ export declare class OrganizationmanagerMfaEnforcement extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_organizationmanager_mfa_enforcement"; /** * Generates CDKTF code for importing a OrganizationmanagerMfaEnforcement 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 OrganizationmanagerMfaEnforcement to import * @param importFromId The id of the existing OrganizationmanagerMfaEnforcement that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the OrganizationmanagerMfaEnforcement 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/yandex-cloud/yandex/0.177.0/docs/resources/organizationmanager_mfa_enforcement yandex_organizationmanager_mfa_enforcement} 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 OrganizationmanagerMfaEnforcementConfig */ constructor(scope: Construct, id: string, config: OrganizationmanagerMfaEnforcementConfig); private _acrId?; get acrId(): string; set acrId(value: string); get acrIdInput(): string; private _applyAt?; get applyAt(): string; set applyAt(value: string); resetApplyAt(): void; get applyAtInput(): string; get createdAt(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _enrollWindow?; get enrollWindow(): string; set enrollWindow(value: string); get enrollWindowInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _mfaEnforcementId?; get mfaEnforcementId(): string; set mfaEnforcementId(value: string); resetMfaEnforcementId(): void; get mfaEnforcementIdInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _organizationId?; get organizationId(): string; set organizationId(value: string); get organizationIdInput(): string; private _status?; get status(): string; set status(value: string); resetStatus(): void; get statusInput(): string; private _timeouts; get timeouts(): OrganizationmanagerMfaEnforcementTimeoutsOutputReference; putTimeouts(value: OrganizationmanagerMfaEnforcementTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; private _ttl?; get ttl(): string; set ttl(value: string); get ttlInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }