@cdktf-providers/rancher-rke
Version:
Prebuilt rancher/rke Provider for Terraform CDK (cdktf)
1,074 lines • 345 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface ClusterConfig extends cdktf.TerraformMetaArguments {
/**
* RKE k8s cluster addon deployment timeout in seconds for status check
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#addon_job_timeout Cluster#addon_job_timeout}
*/
readonly addonJobTimeout?: number;
/**
* RKE k8s cluster user addons YAML manifest to be deployed
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#addons Cluster#addons}
*/
readonly addons?: string;
/**
* RKE k8s cluster user addons YAML manifest urls or paths to be deployed
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#addons_include Cluster#addons_include}
*/
readonly addonsInclude?: string[];
/**
* Specify a certificate dir path
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#cert_dir Cluster#cert_dir}
*/
readonly certDir?: string;
/**
* RKE k8s cluster name used in the kube config
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#cluster_name Cluster#cluster_name}
*/
readonly clusterName?: string;
/**
* RKE k8s cluster config yaml
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#cluster_yaml Cluster#cluster_yaml}
*/
readonly clusterYaml?: string;
/**
* Use custom certificates from a cert dir
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#custom_certs Cluster#custom_certs}
*/
readonly customCerts?: boolean | cdktf.IResolvable;
/**
* RKE k8s cluster delay on creation
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#delay_on_creation Cluster#delay_on_creation}
*/
readonly delayOnCreation?: number;
/**
* RKE k8s cluster dind (experimental)
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#dind Cluster#dind}
*/
readonly dind?: boolean | cdktf.IResolvable;
/**
* RKE k8s cluster dind storage driver (experimental)
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#dind_dns_server Cluster#dind_dns_server}
*/
readonly dindDnsServer?: string;
/**
* RKE k8s cluster dind storage driver (experimental)
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#dind_storage_driver Cluster#dind_storage_driver}
*/
readonly dindStorageDriver?: string;
/**
* Enable/Disable RKE k8s cluster port checking
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#disable_port_check Cluster#disable_port_check}
*/
readonly disablePortCheck?: boolean | cdktf.IResolvable;
/**
* Enable/Disable CRI dockerd for kubelet
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#enable_cri_dockerd Cluster#enable_cri_dockerd}
*/
readonly enableCriDockerd?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#id Cluster#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;
/**
* Enable/Disable RKE k8s cluster strict docker version checking
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#ignore_docker_version Cluster#ignore_docker_version}
*/
readonly ignoreDockerVersion?: boolean | cdktf.IResolvable;
/**
* K8s version to deploy (if kubernetes image is specified, image version takes precedence)
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#kubernetes_version Cluster#kubernetes_version}
*/
readonly kubernetesVersion?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#nodes_conf Cluster#nodes_conf}
*/
readonly nodesConf?: string[];
/**
* RKE k8s directory path
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#prefix_path Cluster#prefix_path}
*/
readonly prefixPath?: string;
/**
* SSH Agent Auth enable
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#ssh_agent_auth Cluster#ssh_agent_auth}
*/
readonly sshAgentAuth?: boolean | cdktf.IResolvable;
/**
* SSH Certificate Path
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#ssh_cert_path Cluster#ssh_cert_path}
*/
readonly sshCertPath?: string;
/**
* SSH Private Key Path
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#ssh_key_path Cluster#ssh_key_path}
*/
readonly sshKeyPath?: string;
/**
* Skip idempotent deployment of control and etcd plane
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#update_only Cluster#update_only}
*/
readonly updateOnly?: boolean | cdktf.IResolvable;
/**
* authentication block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#authentication Cluster#authentication}
*/
readonly authentication?: ClusterAuthentication;
/**
* authorization block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#authorization Cluster#authorization}
*/
readonly authorization?: ClusterAuthorization;
/**
* bastion_host block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#bastion_host Cluster#bastion_host}
*/
readonly bastionHost?: ClusterBastionHost;
/**
* cloud_provider block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#cloud_provider Cluster#cloud_provider}
*/
readonly cloudProvider?: ClusterCloudProvider;
/**
* dns block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#dns Cluster#dns}
*/
readonly dns?: ClusterDns;
/**
* ingress block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#ingress Cluster#ingress}
*/
readonly ingress?: ClusterIngress;
/**
* monitoring block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#monitoring Cluster#monitoring}
*/
readonly monitoring?: ClusterMonitoring;
/**
* network block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#network Cluster#network}
*/
readonly network?: ClusterNetwork;
/**
* nodes block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#nodes Cluster#nodes}
*/
readonly nodes?: ClusterNodes[] | cdktf.IResolvable;
/**
* private_registries block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#private_registries Cluster#private_registries}
*/
readonly privateRegistries?: ClusterPrivateRegistries[] | cdktf.IResolvable;
/**
* restore block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#restore Cluster#restore}
*/
readonly restore?: ClusterRestore;
/**
* rotate_certificates block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#rotate_certificates Cluster#rotate_certificates}
*/
readonly rotateCertificates?: ClusterRotateCertificates;
/**
* services block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#services Cluster#services}
*/
readonly services?: ClusterServices;
/**
* services_etcd block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#services_etcd Cluster#services_etcd}
*/
readonly servicesEtcd?: ClusterServicesEtcdA;
/**
* services_kube_api block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#services_kube_api Cluster#services_kube_api}
*/
readonly servicesKubeApi?: ClusterServicesKubeApiA;
/**
* services_kube_controller block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#services_kube_controller Cluster#services_kube_controller}
*/
readonly servicesKubeController?: ClusterServicesKubeControllerA;
/**
* services_kubelet block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#services_kubelet Cluster#services_kubelet}
*/
readonly servicesKubelet?: ClusterServicesKubeletA;
/**
* services_kubeproxy block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#services_kubeproxy Cluster#services_kubeproxy}
*/
readonly servicesKubeproxy?: ClusterServicesKubeproxyA;
/**
* services_scheduler block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#services_scheduler Cluster#services_scheduler}
*/
readonly servicesScheduler?: ClusterServicesSchedulerA;
/**
* system_images block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#system_images Cluster#system_images}
*/
readonly systemImages?: ClusterSystemImages;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#timeouts Cluster#timeouts}
*/
readonly timeouts?: ClusterTimeouts;
/**
* upgrade_strategy block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#upgrade_strategy Cluster#upgrade_strategy}
*/
readonly upgradeStrategy?: ClusterUpgradeStrategy;
}
export interface ClusterCertificates {
}
export declare function clusterCertificatesToTerraform(struct?: ClusterCertificates): any;
export declare function clusterCertificatesToHclTerraform(struct?: ClusterCertificates): any;
export declare class ClusterCertificatesOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): ClusterCertificates | undefined;
set internalValue(value: ClusterCertificates | undefined);
get certificate(): any;
get commonName(): any;
get config(): any;
get configEnvName(): any;
get configPath(): any;
get envName(): any;
get id(): any;
get key(): any;
get keyEnvName(): any;
get keyPath(): any;
get name(): any;
get ouName(): any;
get path(): any;
}
export declare class ClusterCertificatesList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): ClusterCertificatesOutputReference;
}
export interface ClusterControlPlaneHosts {
}
export declare function clusterControlPlaneHostsToTerraform(struct?: ClusterControlPlaneHosts): any;
export declare function clusterControlPlaneHostsToHclTerraform(struct?: ClusterControlPlaneHosts): any;
export declare class ClusterControlPlaneHostsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): ClusterControlPlaneHosts | undefined;
set internalValue(value: ClusterControlPlaneHosts | undefined);
get address(): any;
get nodeName(): any;
}
export declare class ClusterControlPlaneHostsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): ClusterControlPlaneHostsOutputReference;
}
export interface ClusterEtcdHosts {
}
export declare function clusterEtcdHostsToTerraform(struct?: ClusterEtcdHosts): any;
export declare function clusterEtcdHostsToHclTerraform(struct?: ClusterEtcdHosts): any;
export declare class ClusterEtcdHostsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): ClusterEtcdHosts | undefined;
set internalValue(value: ClusterEtcdHosts | undefined);
get address(): any;
get nodeName(): any;
}
export declare class ClusterEtcdHostsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): ClusterEtcdHostsOutputReference;
}
export interface ClusterInactiveHosts {
}
export declare function clusterInactiveHostsToTerraform(struct?: ClusterInactiveHosts): any;
export declare function clusterInactiveHostsToHclTerraform(struct?: ClusterInactiveHosts): any;
export declare class ClusterInactiveHostsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): ClusterInactiveHosts | undefined;
set internalValue(value: ClusterInactiveHosts | undefined);
get address(): any;
get nodeName(): any;
}
export declare class ClusterInactiveHostsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): ClusterInactiveHostsOutputReference;
}
export interface ClusterRunningSystemImages {
}
export declare function clusterRunningSystemImagesToTerraform(struct?: ClusterRunningSystemImages): any;
export declare function clusterRunningSystemImagesToHclTerraform(struct?: ClusterRunningSystemImages): any;
export declare class ClusterRunningSystemImagesOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): ClusterRunningSystemImages | undefined;
set internalValue(value: ClusterRunningSystemImages | undefined);
get aciCniDeployContainer(): any;
get aciControllerContainer(): any;
get aciHostContainer(): any;
get aciMcastContainer(): any;
get aciOpflexContainer(): any;
get aciOvsContainer(): any;
get alpine(): any;
get calicoCni(): any;
get calicoControllers(): any;
get calicoCtl(): any;
get calicoFlexVol(): any;
get calicoNode(): any;
get canalCni(): any;
get canalFlannel(): any;
get canalFlexVol(): any;
get canalNode(): any;
get certDownloader(): any;
get coredns(): any;
get corednsAutoscaler(): any;
get dnsmasq(): any;
get etcd(): any;
get flannel(): any;
get flannelCni(): any;
get ingress(): any;
get ingressBackend(): any;
get kubeDns(): any;
get kubeDnsAutoscaler(): any;
get kubeDnsSidecar(): any;
get kubernetes(): any;
get kubernetesServicesSidecar(): any;
get metricsServer(): any;
get nginxProxy(): any;
get nodelocal(): any;
get podInfraContainer(): any;
get weaveCni(): any;
get weaveNode(): any;
get windowsPodInfraContainer(): any;
}
export declare class ClusterRunningSystemImagesList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): ClusterRunningSystemImagesOutputReference;
}
export interface ClusterWorkerHosts {
}
export declare function clusterWorkerHostsToTerraform(struct?: ClusterWorkerHosts): any;
export declare function clusterWorkerHostsToHclTerraform(struct?: ClusterWorkerHosts): any;
export declare class ClusterWorkerHostsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): ClusterWorkerHosts | undefined;
set internalValue(value: ClusterWorkerHosts | undefined);
get address(): any;
get nodeName(): any;
}
export declare class ClusterWorkerHostsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): ClusterWorkerHostsOutputReference;
}
export interface ClusterAuthenticationWebhook {
/**
* Controls how long to cache authentication decisions
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#cache_timeout Cluster#cache_timeout}
*/
readonly cacheTimeout?: string;
/**
* Multiline string that represent a custom webhook config file
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#config_file Cluster#config_file}
*/
readonly configFile?: string;
}
export declare function clusterAuthenticationWebhookToTerraform(struct?: ClusterAuthenticationWebhookOutputReference | ClusterAuthenticationWebhook): any;
export declare function clusterAuthenticationWebhookToHclTerraform(struct?: ClusterAuthenticationWebhookOutputReference | ClusterAuthenticationWebhook): any;
export declare class ClusterAuthenticationWebhookOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): ClusterAuthenticationWebhook | undefined;
set internalValue(value: ClusterAuthenticationWebhook | undefined);
private _cacheTimeout?;
get cacheTimeout(): string;
set cacheTimeout(value: string);
resetCacheTimeout(): void;
get cacheTimeoutInput(): string;
private _configFile?;
get configFile(): string;
set configFile(value: string);
resetConfigFile(): void;
get configFileInput(): string;
}
export interface ClusterAuthentication {
/**
* List of additional hostnames and IPs to include in the api server PKI cert
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#sans Cluster#sans}
*/
readonly sans?: string[];
/**
* Authentication strategy that will be used in RKE k8s cluster
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#strategy Cluster#strategy}
*/
readonly strategy?: string;
/**
* webhook block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#webhook Cluster#webhook}
*/
readonly webhook?: ClusterAuthenticationWebhook;
}
export declare function clusterAuthenticationToTerraform(struct?: ClusterAuthenticationOutputReference | ClusterAuthentication): any;
export declare function clusterAuthenticationToHclTerraform(struct?: ClusterAuthenticationOutputReference | ClusterAuthentication): any;
export declare class ClusterAuthenticationOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): ClusterAuthentication | undefined;
set internalValue(value: ClusterAuthentication | undefined);
private _sans?;
get sans(): string[];
set sans(value: string[]);
resetSans(): void;
get sansInput(): string[];
private _strategy?;
get strategy(): string;
set strategy(value: string);
resetStrategy(): void;
get strategyInput(): string;
private _webhook;
get webhook(): ClusterAuthenticationWebhookOutputReference;
putWebhook(value: ClusterAuthenticationWebhook): void;
resetWebhook(): void;
get webhookInput(): ClusterAuthenticationWebhook;
}
export interface ClusterAuthorization {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#mode Cluster#mode}
*/
readonly mode?: string;
/**
* Authorization mode options
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#options Cluster#options}
*/
readonly options?: {
[key: string]: string;
};
}
export declare function clusterAuthorizationToTerraform(struct?: ClusterAuthorizationOutputReference | ClusterAuthorization): any;
export declare function clusterAuthorizationToHclTerraform(struct?: ClusterAuthorizationOutputReference | ClusterAuthorization): any;
export declare class ClusterAuthorizationOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): ClusterAuthorization | undefined;
set internalValue(value: ClusterAuthorization | undefined);
private _mode?;
get mode(): string;
set mode(value: string);
resetMode(): void;
get modeInput(): string;
private _options?;
get options(): {
[key: string]: string;
};
set options(value: {
[key: string]: string;
});
resetOptions(): void;
get optionsInput(): {
[key: string]: string;
};
}
export interface ClusterBastionHost {
/**
* Address of Bastion Host
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#address Cluster#address}
*/
readonly address: string;
/**
* Ignore proxy env vars at Bastion Host?
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#ignore_proxy_env_vars Cluster#ignore_proxy_env_vars}
*/
readonly ignoreProxyEnvVars?: boolean | cdktf.IResolvable;
/**
* SSH Port of Bastion Host
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#port Cluster#port}
*/
readonly port?: string;
/**
* SSH Agent Auth enable
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#ssh_agent_auth Cluster#ssh_agent_auth}
*/
readonly sshAgentAuth?: boolean | cdktf.IResolvable;
/**
* SSH Certificate Key
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#ssh_cert Cluster#ssh_cert}
*/
readonly sshCert?: string;
/**
* SSH Certificate Key Path
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#ssh_cert_path Cluster#ssh_cert_path}
*/
readonly sshCertPath?: string;
/**
* SSH Private Key
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#ssh_key Cluster#ssh_key}
*/
readonly sshKey?: string;
/**
* SSH Private Key Path
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#ssh_key_path Cluster#ssh_key_path}
*/
readonly sshKeyPath?: string;
/**
* SSH User to Bastion Host
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#user Cluster#user}
*/
readonly user: string;
}
export declare function clusterBastionHostToTerraform(struct?: ClusterBastionHostOutputReference | ClusterBastionHost): any;
export declare function clusterBastionHostToHclTerraform(struct?: ClusterBastionHostOutputReference | ClusterBastionHost): any;
export declare class ClusterBastionHostOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): ClusterBastionHost | undefined;
set internalValue(value: ClusterBastionHost | undefined);
private _address?;
get address(): string;
set address(value: string);
get addressInput(): string;
private _ignoreProxyEnvVars?;
get ignoreProxyEnvVars(): boolean | cdktf.IResolvable;
set ignoreProxyEnvVars(value: boolean | cdktf.IResolvable);
resetIgnoreProxyEnvVars(): void;
get ignoreProxyEnvVarsInput(): any;
private _port?;
get port(): string;
set port(value: string);
resetPort(): void;
get portInput(): string;
private _sshAgentAuth?;
get sshAgentAuth(): boolean | cdktf.IResolvable;
set sshAgentAuth(value: boolean | cdktf.IResolvable);
resetSshAgentAuth(): void;
get sshAgentAuthInput(): any;
private _sshCert?;
get sshCert(): string;
set sshCert(value: string);
resetSshCert(): void;
get sshCertInput(): string;
private _sshCertPath?;
get sshCertPath(): string;
set sshCertPath(value: string);
resetSshCertPath(): void;
get sshCertPathInput(): string;
private _sshKey?;
get sshKey(): string;
set sshKey(value: string);
resetSshKey(): void;
get sshKeyInput(): string;
private _sshKeyPath?;
get sshKeyPath(): string;
set sshKeyPath(value: string);
resetSshKeyPath(): void;
get sshKeyPathInput(): string;
private _user?;
get user(): string;
set user(value: string);
get userInput(): string;
}
export interface ClusterCloudProviderAwsCloudConfigGlobal {
/**
* Disables the automatic ingress creation
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#disable_security_group_ingress Cluster#disable_security_group_ingress}
*/
readonly disableSecurityGroupIngress?: boolean | cdktf.IResolvable;
/**
* Setting this to true will disable the check and provide a warning that the check was skipped
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#disable_strict_zone_check Cluster#disable_strict_zone_check}
*/
readonly disableStrictZoneCheck?: boolean | cdktf.IResolvable;
/**
* Use these ELB security groups instead create new
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#elb_security_group Cluster#elb_security_group}
*/
readonly elbSecurityGroup?: string;
/**
* The cluster id we'll use to identify our cluster resources
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#kubernetes_cluster_id Cluster#kubernetes_cluster_id}
*/
readonly kubernetesClusterId?: string;
/**
* Legacy cluster id we'll use to identify our cluster resources
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#kubernetes_cluster_tag Cluster#kubernetes_cluster_tag}
*/
readonly kubernetesClusterTag?: string;
/**
* IAM role to assume when interaction with AWS APIs
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#role_arn Cluster#role_arn}
*/
readonly roleArn?: string;
/**
* Enables using a specific RouteTable
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#route_table_id Cluster#route_table_id}
*/
readonly routeTableId?: string;
/**
* Enables using a specific subnet to use for ELB's
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#subnet_id Cluster#subnet_id}
*/
readonly subnetId?: string;
/**
* The AWS VPC flag enables the possibility to run the master components on a different aws account, on a different cloud provider or on-premises. If the flag is set also the KubernetesClusterTag must be provided
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#vpc Cluster#vpc}
*/
readonly vpc?: string;
/**
* The AWS zone
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#zone Cluster#zone}
*/
readonly zone?: string;
}
export declare function clusterCloudProviderAwsCloudConfigGlobalToTerraform(struct?: ClusterCloudProviderAwsCloudConfigGlobalOutputReference | ClusterCloudProviderAwsCloudConfigGlobal): any;
export declare function clusterCloudProviderAwsCloudConfigGlobalToHclTerraform(struct?: ClusterCloudProviderAwsCloudConfigGlobalOutputReference | ClusterCloudProviderAwsCloudConfigGlobal): any;
export declare class ClusterCloudProviderAwsCloudConfigGlobalOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): ClusterCloudProviderAwsCloudConfigGlobal | undefined;
set internalValue(value: ClusterCloudProviderAwsCloudConfigGlobal | undefined);
private _disableSecurityGroupIngress?;
get disableSecurityGroupIngress(): boolean | cdktf.IResolvable;
set disableSecurityGroupIngress(value: boolean | cdktf.IResolvable);
resetDisableSecurityGroupIngress(): void;
get disableSecurityGroupIngressInput(): any;
private _disableStrictZoneCheck?;
get disableStrictZoneCheck(): boolean | cdktf.IResolvable;
set disableStrictZoneCheck(value: boolean | cdktf.IResolvable);
resetDisableStrictZoneCheck(): void;
get disableStrictZoneCheckInput(): any;
private _elbSecurityGroup?;
get elbSecurityGroup(): string;
set elbSecurityGroup(value: string);
resetElbSecurityGroup(): void;
get elbSecurityGroupInput(): string;
private _kubernetesClusterId?;
get kubernetesClusterId(): string;
set kubernetesClusterId(value: string);
resetKubernetesClusterId(): void;
get kubernetesClusterIdInput(): string;
private _kubernetesClusterTag?;
get kubernetesClusterTag(): string;
set kubernetesClusterTag(value: string);
resetKubernetesClusterTag(): void;
get kubernetesClusterTagInput(): string;
private _roleArn?;
get roleArn(): string;
set roleArn(value: string);
resetRoleArn(): void;
get roleArnInput(): string;
private _routeTableId?;
get routeTableId(): string;
set routeTableId(value: string);
resetRouteTableId(): void;
get routeTableIdInput(): string;
private _subnetId?;
get subnetId(): string;
set subnetId(value: string);
resetSubnetId(): void;
get subnetIdInput(): string;
private _vpc?;
get vpc(): string;
set vpc(value: string);
resetVpc(): void;
get vpcInput(): string;
private _zone?;
get zone(): string;
set zone(value: string);
resetZone(): void;
get zoneInput(): string;
}
export interface ClusterCloudProviderAwsCloudConfigServiceOverride {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#key Cluster#key}
*/
readonly key?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#region Cluster#region}
*/
readonly region?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#service Cluster#service}
*/
readonly service: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#signing_method Cluster#signing_method}
*/
readonly signingMethod?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#signing_name Cluster#signing_name}
*/
readonly signingName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#signing_region Cluster#signing_region}
*/
readonly signingRegion?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#url Cluster#url}
*/
readonly url?: string;
}
export declare function clusterCloudProviderAwsCloudConfigServiceOverrideToTerraform(struct?: ClusterCloudProviderAwsCloudConfigServiceOverride | cdktf.IResolvable): any;
export declare function clusterCloudProviderAwsCloudConfigServiceOverrideToHclTerraform(struct?: ClusterCloudProviderAwsCloudConfigServiceOverride | cdktf.IResolvable): any;
export declare class ClusterCloudProviderAwsCloudConfigServiceOverrideOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): ClusterCloudProviderAwsCloudConfigServiceOverride | cdktf.IResolvable | undefined;
set internalValue(value: ClusterCloudProviderAwsCloudConfigServiceOverride | cdktf.IResolvable | undefined);
private _key?;
get key(): string;
set key(value: string);
resetKey(): void;
get keyInput(): string;
private _region?;
get region(): string;
set region(value: string);
resetRegion(): void;
get regionInput(): string;
private _service?;
get service(): string;
set service(value: string);
get serviceInput(): string;
private _signingMethod?;
get signingMethod(): string;
set signingMethod(value: string);
resetSigningMethod(): void;
get signingMethodInput(): string;
private _signingName?;
get signingName(): string;
set signingName(value: string);
resetSigningName(): void;
get signingNameInput(): string;
private _signingRegion?;
get signingRegion(): string;
set signingRegion(value: string);
resetSigningRegion(): void;
get signingRegionInput(): string;
private _url?;
get url(): string;
set url(value: string);
resetUrl(): void;
get urlInput(): string;
}
export declare class ClusterCloudProviderAwsCloudConfigServiceOverrideList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: ClusterCloudProviderAwsCloudConfigServiceOverride[] | cdktf.IResolvable;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): ClusterCloudProviderAwsCloudConfigServiceOverrideOutputReference;
}
export interface ClusterCloudProviderAwsCloudConfig {
/**
* global block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#global Cluster#global}
*/
readonly global?: ClusterCloudProviderAwsCloudConfigGlobal;
/**
* service_override block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#service_override Cluster#service_override}
*/
readonly serviceOverride?: ClusterCloudProviderAwsCloudConfigServiceOverride[] | cdktf.IResolvable;
}
export declare function clusterCloudProviderAwsCloudConfigToTerraform(struct?: ClusterCloudProviderAwsCloudConfigOutputReference | ClusterCloudProviderAwsCloudConfig): any;
export declare function clusterCloudProviderAwsCloudConfigToHclTerraform(struct?: ClusterCloudProviderAwsCloudConfigOutputReference | ClusterCloudProviderAwsCloudConfig): any;
export declare class ClusterCloudProviderAwsCloudConfigOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): ClusterCloudProviderAwsCloudConfig | undefined;
set internalValue(value: ClusterCloudProviderAwsCloudConfig | undefined);
private _global;
get global(): ClusterCloudProviderAwsCloudConfigGlobalOutputReference;
putGlobal(value: ClusterCloudProviderAwsCloudConfigGlobal): void;
resetGlobal(): void;
get globalInput(): ClusterCloudProviderAwsCloudConfigGlobal;
private _serviceOverride;
get serviceOverride(): ClusterCloudProviderAwsCloudConfigServiceOverrideList;
putServiceOverride(value: ClusterCloudProviderAwsCloudConfigServiceOverride[] | cdktf.IResolvable): void;
resetServiceOverride(): void;
get serviceOverrideInput(): any;
}
export interface ClusterCloudProviderAwsCloudProviderGlobal {
/**
* Disables the automatic ingress creation
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#disable_security_group_ingress Cluster#disable_security_group_ingress}
*/
readonly disableSecurityGroupIngress?: boolean | cdktf.IResolvable;
/**
* Setting this to true will disable the check and provide a warning that the check was skipped
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#disable_strict_zone_check Cluster#disable_strict_zone_check}
*/
readonly disableStrictZoneCheck?: boolean | cdktf.IResolvable;
/**
* Use these ELB security groups instead create new
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#elb_security_group Cluster#elb_security_group}
*/
readonly elbSecurityGroup?: string;
/**
* The cluster id we'll use to identify our cluster resources
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#kubernetes_cluster_id Cluster#kubernetes_cluster_id}
*/
readonly kubernetesClusterId?: string;
/**
* Legacy cluster id we'll use to identify our cluster resources
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#kubernetes_cluster_tag Cluster#kubernetes_cluster_tag}
*/
readonly kubernetesClusterTag?: string;
/**
* IAM role to assume when interaction with AWS APIs
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#role_arn Cluster#role_arn}
*/
readonly roleArn?: string;
/**
* Enables using a specific RouteTable
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#route_table_id Cluster#route_table_id}
*/
readonly routeTableId?: string;
/**
* Enables using a specific subnet to use for ELB's
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#subnet_id Cluster#subnet_id}
*/
readonly subnetId?: string;
/**
* The AWS VPC flag enables the possibility to run the master components on a different aws account, on a different cloud provider or on-premises. If the flag is set also the KubernetesClusterTag must be provided
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#vpc Cluster#vpc}
*/
readonly vpc?: string;
/**
* The AWS zone
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/rke/1.7.5/docs/resources/cluster#zone Cluster#zone}
*/
readonly zone?: string;
}
export declare function clusterCloudProviderAwsCloudProviderGlobalToTerraform(struct?: ClusterCloudProviderAwsCloudProviderGlobalOutputReference | ClusterCloudProviderAwsCloudProviderGlobal): any;
export declare function clusterCloudProviderAwsCloudProviderGlobalToHclTerraform(struct?: ClusterCloudProviderAwsCloudProviderGlobalOutputReference | ClusterCloudProviderAwsCloudProviderGlobal): any;
export declare class ClusterCloudProviderAwsCloudProviderGlobalOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): ClusterCloudProvider