/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ApplicationCertificateConfig extends cdktf.TerraformMetaArguments { /** * The resource ID of the application for which this certificate should be created * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azuread/3.7.0/docs/resources/application_certificate#application_id ApplicationCertificate#application_id} */ readonly applicationId: string; /** * Specifies the encoding used for the supplied certificate data * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azuread/3.7.0/docs/resources/application_certificate#encoding ApplicationCertificate#encoding} */ readonly encoding?: string; /** * The end date until which the certificate is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). If omitted, the API will decide a suitable expiry date, which is typically around 2 years from the start date * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azuread/3.7.0/docs/resources/application_certificate#end_date ApplicationCertificate#end_date} */ readonly endDate?: string; /** * A relative duration for which the certificate is valid until, for example `240h` (10 days) or `2400h30m` * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azuread/3.7.0/docs/resources/application_certificate#end_date_relative ApplicationCertificate#end_date_relative} */ readonly endDateRelative?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azuread/3.7.0/docs/resources/application_certificate#id ApplicationCertificate#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; /** * A UUID used to uniquely identify this certificate. If omitted, a random UUID will be automatically generated * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azuread/3.7.0/docs/resources/application_certificate#key_id ApplicationCertificate#key_id} */ readonly keyId?: string; /** * The start date from which the certificate is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). If this isn't specified, the current date and time are use * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azuread/3.7.0/docs/resources/application_certificate#start_date ApplicationCertificate#start_date} */ readonly startDate?: string; /** * The type of key/certificate * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azuread/3.7.0/docs/resources/application_certificate#type ApplicationCertificate#type} */ readonly type?: string; /** * The certificate data, which can be PEM encoded, base64 encoded DER or hexadecimal encoded DER. See also the `encoding` argument * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azuread/3.7.0/docs/resources/application_certificate#value ApplicationCertificate#value} */ readonly value: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azuread/3.7.0/docs/resources/application_certificate#timeouts ApplicationCertificate#timeouts} */ readonly timeouts?: ApplicationCertificateTimeouts; } export interface ApplicationCertificateTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azuread/3.7.0/docs/resources/application_certificate#create ApplicationCertificate#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azuread/3.7.0/docs/resources/application_certificate#delete ApplicationCertificate#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azuread/3.7.0/docs/resources/application_certificate#read ApplicationCertificate#read} */ readonly read?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azuread/3.7.0/docs/resources/application_certificate#update ApplicationCertificate#update} */ readonly update?: string; } export declare function applicationCertificateTimeoutsToTerraform(struct?: ApplicationCertificateTimeouts | cdktf.IResolvable): any; export declare function applicationCertificateTimeoutsToHclTerraform(struct?: ApplicationCertificateTimeouts | cdktf.IResolvable): any; export declare class ApplicationCertificateTimeoutsOutputReference 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(): ApplicationCertificateTimeouts | cdktf.IResolvable | undefined; set internalValue(value: ApplicationCertificateTimeouts | cdktf.IResolvable | undefined); private _create?; get create(): string; set create(value: string); resetCreate(): void; get createInput(): string | undefined; private _delete?; get delete(): string; set delete(value: string); resetDelete(): void; get deleteInput(): string | undefined; private _read?; get read(): string; set read(value: string); resetRead(): void; get readInput(): string | undefined; private _update?; get update(): string; set update(value: string); resetUpdate(): void; get updateInput(): string | undefined; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/azuread/3.7.0/docs/resources/application_certificate azuread_application_certificate} */ export declare class ApplicationCertificate extends cdktf.TerraformResource { static readonly tfResourceType = "azuread_application_certificate"; /** * Generates CDKTF code for importing a ApplicationCertificate 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 ApplicationCertificate to import * @param importFromId The id of the existing ApplicationCertificate that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/azuread/3.7.0/docs/resources/application_certificate#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ApplicationCertificate 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/hashicorp/azuread/3.7.0/docs/resources/application_certificate azuread_application_certificate} 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 ApplicationCertificateConfig */ constructor(scope: Construct, id: string, config: ApplicationCertificateConfig); private _applicationId?; get applicationId(): string; set applicationId(value: string); get applicationIdInput(): string | undefined; private _encoding?; get encoding(): string; set encoding(value: string); resetEncoding(): void; get encodingInput(): string | undefined; private _endDate?; get endDate(): string; set endDate(value: string); resetEndDate(): void; get endDateInput(): string | undefined; private _endDateRelative?; get endDateRelative(): string; set endDateRelative(value: string); resetEndDateRelative(): void; get endDateRelativeInput(): string | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _keyId?; get keyId(): string; set keyId(value: string); resetKeyId(): void; get keyIdInput(): string | undefined; private _startDate?; get startDate(): string; set startDate(value: string); resetStartDate(): void; get startDateInput(): string | undefined; private _type?; get type(): string; set type(value: string); resetType(): void; get typeInput(): string | undefined; private _value?; get value(): string; set value(value: string); get valueInput(): string | undefined; private _timeouts; get timeouts(): ApplicationCertificateTimeoutsOutputReference; putTimeouts(value: ApplicationCertificateTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | ApplicationCertificateTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }