import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface IamAccessKeyConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/iam_access_key#id IamAccessKey#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; /** * ❗ The IAM access key name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/iam_access_key#name IamAccessKey#name} */ readonly name: string; /** * ❗ A list of API operations to restrict the key to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/iam_access_key#operations IamAccessKey#operations} */ readonly operations?: string[]; /** * ❗ A list of API [resources](https://community.exoscale.com/documentation/iam/quick-start/#restricting-api-access-keys-to-resources) to restrict the key to (`/:`). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/iam_access_key#resources IamAccessKey#resources} */ readonly resources?: string[]; /** * ❗ A list of tags to restrict the key to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/iam_access_key#tags IamAccessKey#tags} */ readonly tags?: string[]; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/iam_access_key#timeouts IamAccessKey#timeouts} */ readonly timeouts?: IamAccessKeyTimeouts; } export interface IamAccessKeyTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/iam_access_key#create IamAccessKey#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/iam_access_key#delete IamAccessKey#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/iam_access_key#read IamAccessKey#read} */ readonly read?: string; } export declare function iamAccessKeyTimeoutsToTerraform(struct?: IamAccessKeyTimeouts | cdktf.IResolvable): any; export declare function iamAccessKeyTimeoutsToHclTerraform(struct?: IamAccessKeyTimeouts | cdktf.IResolvable): any; export declare class IamAccessKeyTimeoutsOutputReference 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(): IamAccessKeyTimeouts | cdktf.IResolvable | undefined; set internalValue(value: IamAccessKeyTimeouts | 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; } /** * Represents a {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/iam_access_key exoscale_iam_access_key} */ export declare class IamAccessKey extends cdktf.TerraformResource { static readonly tfResourceType = "exoscale_iam_access_key"; /** * Generates CDKTF code for importing a IamAccessKey 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 IamAccessKey to import * @param importFromId The id of the existing IamAccessKey that should be imported. Refer to the {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/iam_access_key#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the IamAccessKey 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/exoscale/exoscale/0.67.1/docs/resources/iam_access_key exoscale_iam_access_key} 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 IamAccessKeyConfig */ constructor(scope: Construct, id: string, config: IamAccessKeyConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; get key(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _operations?; get operations(): string[]; set operations(value: string[]); resetOperations(): void; get operationsInput(): string[]; private _resources?; get resources(): string[]; set resources(value: string[]); resetResources(): void; get resourcesInput(): string[]; get secret(): any; private _tags?; get tags(): string[]; set tags(value: string[]); resetTags(): void; get tagsInput(): string[]; get tagsOperations(): any; private _timeouts; get timeouts(): IamAccessKeyTimeoutsOutputReference; putTimeouts(value: IamAccessKeyTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }