import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface KubernetesAuthAttachmentConfig extends cdktf.TerraformMetaArguments { /** * Creating ClientId of the identity provider. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/kubernetes_auth_attachment#auto_create_client_id KubernetesAuthAttachment#auto_create_client_id} */ readonly autoCreateClientId?: string[]; /** * If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/kubernetes_auth_attachment#auto_create_discovery_anonymous_auth KubernetesAuthAttachment#auto_create_discovery_anonymous_auth} */ readonly autoCreateDiscoveryAnonymousAuth?: boolean | cdktf.IResolvable; /** * Creating an identity provider. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/kubernetes_auth_attachment#auto_create_oidc_config KubernetesAuthAttachment#auto_create_oidc_config} */ readonly autoCreateOidcConfig?: boolean | cdktf.IResolvable; /** * Creating the PodIdentityWebhook component. if `auto_create_oidc_config` is true, this field must set true. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/kubernetes_auth_attachment#auto_install_pod_identity_webhook_addon KubernetesAuthAttachment#auto_install_pod_identity_webhook_addon} */ readonly autoInstallPodIdentityWebhookAddon?: boolean | cdktf.IResolvable; /** * ID of clusters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/kubernetes_auth_attachment#cluster_id KubernetesAuthAttachment#cluster_id} */ readonly clusterId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/kubernetes_auth_attachment#id KubernetesAuthAttachment#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; /** * Specify service-account-issuer. If use_tke_default is set to `true`, please do not set this field. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/kubernetes_auth_attachment#issuer KubernetesAuthAttachment#issuer} */ readonly issuer?: string; /** * Specify service-account-jwks-uri. If use_tke_default is set to `true`, please do not set this field. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/kubernetes_auth_attachment#jwks_uri KubernetesAuthAttachment#jwks_uri} */ readonly jwksUri?: string; /** * If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/kubernetes_auth_attachment#use_tke_default KubernetesAuthAttachment#use_tke_default} */ readonly useTkeDefault?: boolean | cdktf.IResolvable; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/kubernetes_auth_attachment tencentcloud_kubernetes_auth_attachment} */ export declare class KubernetesAuthAttachment extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_kubernetes_auth_attachment"; /** * Generates CDKTF code for importing a KubernetesAuthAttachment 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 KubernetesAuthAttachment to import * @param importFromId The id of the existing KubernetesAuthAttachment that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/kubernetes_auth_attachment#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the KubernetesAuthAttachment 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/tencentcloudstack/tencentcloud/1.82.49/docs/resources/kubernetes_auth_attachment tencentcloud_kubernetes_auth_attachment} 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 KubernetesAuthAttachmentConfig */ constructor(scope: Construct, id: string, config: KubernetesAuthAttachmentConfig); private _autoCreateClientId?; get autoCreateClientId(): string[]; set autoCreateClientId(value: string[]); resetAutoCreateClientId(): void; get autoCreateClientIdInput(): string[]; private _autoCreateDiscoveryAnonymousAuth?; get autoCreateDiscoveryAnonymousAuth(): boolean | cdktf.IResolvable; set autoCreateDiscoveryAnonymousAuth(value: boolean | cdktf.IResolvable); resetAutoCreateDiscoveryAnonymousAuth(): void; get autoCreateDiscoveryAnonymousAuthInput(): any; private _autoCreateOidcConfig?; get autoCreateOidcConfig(): boolean | cdktf.IResolvable; set autoCreateOidcConfig(value: boolean | cdktf.IResolvable); resetAutoCreateOidcConfig(): void; get autoCreateOidcConfigInput(): any; private _autoInstallPodIdentityWebhookAddon?; get autoInstallPodIdentityWebhookAddon(): boolean | cdktf.IResolvable; set autoInstallPodIdentityWebhookAddon(value: boolean | cdktf.IResolvable); resetAutoInstallPodIdentityWebhookAddon(): void; get autoInstallPodIdentityWebhookAddonInput(): any; private _clusterId?; get clusterId(): string; set clusterId(value: string); get clusterIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _issuer?; get issuer(): string; set issuer(value: string); resetIssuer(): void; get issuerInput(): string; private _jwksUri?; get jwksUri(): string; set jwksUri(value: string); resetJwksUri(): void; get jwksUriInput(): string; get tkeDefaultIssuer(): any; get tkeDefaultJwksUri(): any; private _useTkeDefault?; get useTkeDefault(): boolean | cdktf.IResolvable; set useTkeDefault(value: boolean | cdktf.IResolvable); resetUseTkeDefault(): void; get useTkeDefaultInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }