UNPKG

@cdktf/provider-kubernetes

Version:

Prebuilt kubernetes Provider for Terraform CDK (cdktf)

848 lines 359 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import * as cdktf from 'cdktf'; import { DeploymentV1SpecTemplateSpecInitContainerLivenessProbeExec, DeploymentV1SpecTemplateSpecInitContainerLivenessProbeExecOutputReference, DeploymentV1SpecTemplateSpecInitContainerLivenessProbeGrpc, DeploymentV1SpecTemplateSpecInitContainerLivenessProbeGrpcList, DeploymentV1SpecTemplateSpecInitContainerEnv, DeploymentV1SpecTemplateSpecInitContainerEnvList, DeploymentV1SpecTemplateSpecInitContainerEnvFrom, DeploymentV1SpecTemplateSpecInitContainerEnvFromList, DeploymentV1SpecTemplateSpecInitContainerLifecycle, DeploymentV1SpecTemplateSpecInitContainerLifecycleOutputReference, DeploymentV1SpecTemplateSpecAffinity, DeploymentV1SpecTemplateSpecAffinityOutputReference, DeploymentV1SpecTemplateSpecContainer, DeploymentV1SpecTemplateSpecContainerList, DeploymentV1SpecTemplateSpecDnsConfig, DeploymentV1SpecTemplateSpecDnsConfigOutputReference, DeploymentV1SpecTemplateSpecHostAliases, DeploymentV1SpecTemplateSpecHostAliasesList, DeploymentV1SpecTemplateSpecImagePullSecrets, DeploymentV1SpecTemplateSpecImagePullSecretsList, DeploymentV1SpecTemplateMetadata, DeploymentV1SpecTemplateMetadataOutputReference, DeploymentV1SpecSelector, DeploymentV1SpecSelectorOutputReference, DeploymentV1SpecStrategy, DeploymentV1SpecStrategyOutputReference } from './structs0'; export interface DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader { /** * The header field name * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#name DeploymentV1#name} */ readonly name?: string; /** * The header field value * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#value DeploymentV1#value} */ readonly value?: string; } export declare function deploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeaderToTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader | cdktf.IResolvable): any; export declare function deploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeaderToHclTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader | cdktf.IResolvable): any; export declare class DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeaderOutputReference 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(): DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader | cdktf.IResolvable | undefined; set internalValue(value: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader | cdktf.IResolvable | undefined); private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string | undefined; private _value?; get value(): string; set value(value: string); resetValue(): void; get valueInput(): string | undefined; } export declare class DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeaderList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader[] | 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): DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeaderOutputReference; } export interface DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGet { /** * Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#host DeploymentV1#host} */ readonly host?: string; /** * Path to access on the HTTP server. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#path DeploymentV1#path} */ readonly path?: string; /** * Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#port DeploymentV1#port} */ readonly port?: string; /** * Scheme to use for connecting to the host. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#scheme DeploymentV1#scheme} */ readonly scheme?: string; /** * http_header block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#http_header DeploymentV1#http_header} */ readonly httpHeader?: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader[] | cdktf.IResolvable; } export declare function deploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetToTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetOutputReference | DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGet): any; export declare function deploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetToHclTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetOutputReference | DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGet): any; export declare class DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetOutputReference 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(): DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGet | undefined; set internalValue(value: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGet | undefined); private _host?; get host(): string; set host(value: string); resetHost(): void; get hostInput(): string | undefined; private _path?; get path(): string; set path(value: string); resetPath(): void; get pathInput(): string | undefined; private _port?; get port(): string; set port(value: string); resetPort(): void; get portInput(): string | undefined; private _scheme?; get scheme(): string; set scheme(value: string); resetScheme(): void; get schemeInput(): string | undefined; private _httpHeader; get httpHeader(): DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeaderList; putHttpHeader(value: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader[] | cdktf.IResolvable): void; resetHttpHeader(): void; get httpHeaderInput(): cdktf.IResolvable | DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader[] | undefined; } export interface DeploymentV1SpecTemplateSpecInitContainerLivenessProbeTcpSocket { /** * Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#port DeploymentV1#port} */ readonly port: string; } export declare function deploymentV1SpecTemplateSpecInitContainerLivenessProbeTcpSocketToTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeTcpSocket | cdktf.IResolvable): any; export declare function deploymentV1SpecTemplateSpecInitContainerLivenessProbeTcpSocketToHclTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeTcpSocket | cdktf.IResolvable): any; export declare class DeploymentV1SpecTemplateSpecInitContainerLivenessProbeTcpSocketOutputReference 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(): DeploymentV1SpecTemplateSpecInitContainerLivenessProbeTcpSocket | cdktf.IResolvable | undefined; set internalValue(value: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeTcpSocket | cdktf.IResolvable | undefined); private _port?; get port(): string; set port(value: string); get portInput(): string | undefined; } export declare class DeploymentV1SpecTemplateSpecInitContainerLivenessProbeTcpSocketList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeTcpSocket[] | 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): DeploymentV1SpecTemplateSpecInitContainerLivenessProbeTcpSocketOutputReference; } export interface DeploymentV1SpecTemplateSpecInitContainerLivenessProbe { /** * Minimum consecutive failures for the probe to be considered failed after having succeeded. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#failure_threshold DeploymentV1#failure_threshold} */ readonly failureThreshold?: number; /** * Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#initial_delay_seconds DeploymentV1#initial_delay_seconds} */ readonly initialDelaySeconds?: number; /** * How often (in seconds) to perform the probe * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#period_seconds DeploymentV1#period_seconds} */ readonly periodSeconds?: number; /** * Minimum consecutive successes for the probe to be considered successful after having failed. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#success_threshold DeploymentV1#success_threshold} */ readonly successThreshold?: number; /** * Number of seconds after which the probe times out. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#timeout_seconds DeploymentV1#timeout_seconds} */ readonly timeoutSeconds?: number; /** * exec block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#exec DeploymentV1#exec} */ readonly exec?: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeExec; /** * grpc block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#grpc DeploymentV1#grpc} */ readonly grpc?: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeGrpc[] | cdktf.IResolvable; /** * http_get block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#http_get DeploymentV1#http_get} */ readonly httpGet?: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGet; /** * tcp_socket block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#tcp_socket DeploymentV1#tcp_socket} */ readonly tcpSocket?: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeTcpSocket[] | cdktf.IResolvable; } export declare function deploymentV1SpecTemplateSpecInitContainerLivenessProbeToTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeOutputReference | DeploymentV1SpecTemplateSpecInitContainerLivenessProbe): any; export declare function deploymentV1SpecTemplateSpecInitContainerLivenessProbeToHclTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeOutputReference | DeploymentV1SpecTemplateSpecInitContainerLivenessProbe): any; export declare class DeploymentV1SpecTemplateSpecInitContainerLivenessProbeOutputReference 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(): DeploymentV1SpecTemplateSpecInitContainerLivenessProbe | undefined; set internalValue(value: DeploymentV1SpecTemplateSpecInitContainerLivenessProbe | undefined); private _failureThreshold?; get failureThreshold(): number; set failureThreshold(value: number); resetFailureThreshold(): void; get failureThresholdInput(): number | undefined; private _initialDelaySeconds?; get initialDelaySeconds(): number; set initialDelaySeconds(value: number); resetInitialDelaySeconds(): void; get initialDelaySecondsInput(): number | undefined; private _periodSeconds?; get periodSeconds(): number; set periodSeconds(value: number); resetPeriodSeconds(): void; get periodSecondsInput(): number | undefined; private _successThreshold?; get successThreshold(): number; set successThreshold(value: number); resetSuccessThreshold(): void; get successThresholdInput(): number | undefined; private _timeoutSeconds?; get timeoutSeconds(): number; set timeoutSeconds(value: number); resetTimeoutSeconds(): void; get timeoutSecondsInput(): number | undefined; private _exec; get exec(): DeploymentV1SpecTemplateSpecInitContainerLivenessProbeExecOutputReference; putExec(value: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeExec): void; resetExec(): void; get execInput(): DeploymentV1SpecTemplateSpecInitContainerLivenessProbeExec | undefined; private _grpc; get grpc(): DeploymentV1SpecTemplateSpecInitContainerLivenessProbeGrpcList; putGrpc(value: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeGrpc[] | cdktf.IResolvable): void; resetGrpc(): void; get grpcInput(): cdktf.IResolvable | DeploymentV1SpecTemplateSpecInitContainerLivenessProbeGrpc[] | undefined; private _httpGet; get httpGet(): DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGetOutputReference; putHttpGet(value: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGet): void; resetHttpGet(): void; get httpGetInput(): DeploymentV1SpecTemplateSpecInitContainerLivenessProbeHttpGet | undefined; private _tcpSocket; get tcpSocket(): DeploymentV1SpecTemplateSpecInitContainerLivenessProbeTcpSocketList; putTcpSocket(value: DeploymentV1SpecTemplateSpecInitContainerLivenessProbeTcpSocket[] | cdktf.IResolvable): void; resetTcpSocket(): void; get tcpSocketInput(): cdktf.IResolvable | DeploymentV1SpecTemplateSpecInitContainerLivenessProbeTcpSocket[] | undefined; } export interface DeploymentV1SpecTemplateSpecInitContainerPort { /** * Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#container_port DeploymentV1#container_port} */ readonly containerPort: number; /** * What host IP to bind the external port to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#host_ip DeploymentV1#host_ip} */ readonly hostIp?: string; /** * Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#host_port DeploymentV1#host_port} */ readonly hostPort?: number; /** * If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#name DeploymentV1#name} */ readonly name?: string; /** * Protocol for port. Must be UDP or TCP. Defaults to "TCP". * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#protocol DeploymentV1#protocol} */ readonly protocol?: string; } export declare function deploymentV1SpecTemplateSpecInitContainerPortToTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerPort | cdktf.IResolvable): any; export declare function deploymentV1SpecTemplateSpecInitContainerPortToHclTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerPort | cdktf.IResolvable): any; export declare class DeploymentV1SpecTemplateSpecInitContainerPortOutputReference 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(): DeploymentV1SpecTemplateSpecInitContainerPort | cdktf.IResolvable | undefined; set internalValue(value: DeploymentV1SpecTemplateSpecInitContainerPort | cdktf.IResolvable | undefined); private _containerPort?; get containerPort(): number; set containerPort(value: number); get containerPortInput(): number | undefined; private _hostIp?; get hostIp(): string; set hostIp(value: string); resetHostIp(): void; get hostIpInput(): string | undefined; private _hostPort?; get hostPort(): number; set hostPort(value: number); resetHostPort(): void; get hostPortInput(): number | undefined; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string | undefined; private _protocol?; get protocol(): string; set protocol(value: string); resetProtocol(): void; get protocolInput(): string | undefined; } export declare class DeploymentV1SpecTemplateSpecInitContainerPortList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DeploymentV1SpecTemplateSpecInitContainerPort[] | 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): DeploymentV1SpecTemplateSpecInitContainerPortOutputReference; } export interface DeploymentV1SpecTemplateSpecInitContainerReadinessProbeExec { /** * Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#command DeploymentV1#command} */ readonly command?: string[]; } export declare function deploymentV1SpecTemplateSpecInitContainerReadinessProbeExecToTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeExecOutputReference | DeploymentV1SpecTemplateSpecInitContainerReadinessProbeExec): any; export declare function deploymentV1SpecTemplateSpecInitContainerReadinessProbeExecToHclTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeExecOutputReference | DeploymentV1SpecTemplateSpecInitContainerReadinessProbeExec): any; export declare class DeploymentV1SpecTemplateSpecInitContainerReadinessProbeExecOutputReference 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(): DeploymentV1SpecTemplateSpecInitContainerReadinessProbeExec | undefined; set internalValue(value: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeExec | undefined); private _command?; get command(): string[]; set command(value: string[]); resetCommand(): void; get commandInput(): string[] | undefined; } export interface DeploymentV1SpecTemplateSpecInitContainerReadinessProbeGrpc { /** * Number of the port to access on the container. Number must be in the range 1 to 65535. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#port DeploymentV1#port} */ readonly port: number; /** * Name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#service DeploymentV1#service} */ readonly service?: string; } export declare function deploymentV1SpecTemplateSpecInitContainerReadinessProbeGrpcToTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeGrpc | cdktf.IResolvable): any; export declare function deploymentV1SpecTemplateSpecInitContainerReadinessProbeGrpcToHclTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeGrpc | cdktf.IResolvable): any; export declare class DeploymentV1SpecTemplateSpecInitContainerReadinessProbeGrpcOutputReference 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(): DeploymentV1SpecTemplateSpecInitContainerReadinessProbeGrpc | cdktf.IResolvable | undefined; set internalValue(value: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeGrpc | cdktf.IResolvable | undefined); private _port?; get port(): number; set port(value: number); get portInput(): number | undefined; private _service?; get service(): string; set service(value: string); resetService(): void; get serviceInput(): string | undefined; } export declare class DeploymentV1SpecTemplateSpecInitContainerReadinessProbeGrpcList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeGrpc[] | 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): DeploymentV1SpecTemplateSpecInitContainerReadinessProbeGrpcOutputReference; } export interface DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader { /** * The header field name * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#name DeploymentV1#name} */ readonly name?: string; /** * The header field value * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#value DeploymentV1#value} */ readonly value?: string; } export declare function deploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderToTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader | cdktf.IResolvable): any; export declare function deploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderToHclTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader | cdktf.IResolvable): any; export declare class DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderOutputReference 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(): DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader | cdktf.IResolvable | undefined; set internalValue(value: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader | cdktf.IResolvable | undefined); private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string | undefined; private _value?; get value(): string; set value(value: string); resetValue(): void; get valueInput(): string | undefined; } export declare class DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader[] | 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): DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderOutputReference; } export interface DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGet { /** * Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#host DeploymentV1#host} */ readonly host?: string; /** * Path to access on the HTTP server. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#path DeploymentV1#path} */ readonly path?: string; /** * Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#port DeploymentV1#port} */ readonly port?: string; /** * Scheme to use for connecting to the host. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#scheme DeploymentV1#scheme} */ readonly scheme?: string; /** * http_header block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#http_header DeploymentV1#http_header} */ readonly httpHeader?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader[] | cdktf.IResolvable; } export declare function deploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetToTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetOutputReference | DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGet): any; export declare function deploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetToHclTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetOutputReference | DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGet): any; export declare class DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetOutputReference 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(): DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGet | undefined; set internalValue(value: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGet | undefined); private _host?; get host(): string; set host(value: string); resetHost(): void; get hostInput(): string | undefined; private _path?; get path(): string; set path(value: string); resetPath(): void; get pathInput(): string | undefined; private _port?; get port(): string; set port(value: string); resetPort(): void; get portInput(): string | undefined; private _scheme?; get scheme(): string; set scheme(value: string); resetScheme(): void; get schemeInput(): string | undefined; private _httpHeader; get httpHeader(): DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderList; putHttpHeader(value: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader[] | cdktf.IResolvable): void; resetHttpHeader(): void; get httpHeaderInput(): cdktf.IResolvable | DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader[] | undefined; } export interface DeploymentV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket { /** * Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#port DeploymentV1#port} */ readonly port: string; } export declare function deploymentV1SpecTemplateSpecInitContainerReadinessProbeTcpSocketToTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket | cdktf.IResolvable): any; export declare function deploymentV1SpecTemplateSpecInitContainerReadinessProbeTcpSocketToHclTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket | cdktf.IResolvable): any; export declare class DeploymentV1SpecTemplateSpecInitContainerReadinessProbeTcpSocketOutputReference 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(): DeploymentV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket | cdktf.IResolvable | undefined; set internalValue(value: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket | cdktf.IResolvable | undefined); private _port?; get port(): string; set port(value: string); get portInput(): string | undefined; } export declare class DeploymentV1SpecTemplateSpecInitContainerReadinessProbeTcpSocketList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket[] | 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): DeploymentV1SpecTemplateSpecInitContainerReadinessProbeTcpSocketOutputReference; } export interface DeploymentV1SpecTemplateSpecInitContainerReadinessProbe { /** * Minimum consecutive failures for the probe to be considered failed after having succeeded. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#failure_threshold DeploymentV1#failure_threshold} */ readonly failureThreshold?: number; /** * Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#initial_delay_seconds DeploymentV1#initial_delay_seconds} */ readonly initialDelaySeconds?: number; /** * How often (in seconds) to perform the probe * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#period_seconds DeploymentV1#period_seconds} */ readonly periodSeconds?: number; /** * Minimum consecutive successes for the probe to be considered successful after having failed. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#success_threshold DeploymentV1#success_threshold} */ readonly successThreshold?: number; /** * Number of seconds after which the probe times out. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#timeout_seconds DeploymentV1#timeout_seconds} */ readonly timeoutSeconds?: number; /** * exec block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#exec DeploymentV1#exec} */ readonly exec?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeExec; /** * grpc block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#grpc DeploymentV1#grpc} */ readonly grpc?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeGrpc[] | cdktf.IResolvable; /** * http_get block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#http_get DeploymentV1#http_get} */ readonly httpGet?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGet; /** * tcp_socket block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#tcp_socket DeploymentV1#tcp_socket} */ readonly tcpSocket?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket[] | cdktf.IResolvable; } export declare function deploymentV1SpecTemplateSpecInitContainerReadinessProbeToTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeOutputReference | DeploymentV1SpecTemplateSpecInitContainerReadinessProbe): any; export declare function deploymentV1SpecTemplateSpecInitContainerReadinessProbeToHclTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeOutputReference | DeploymentV1SpecTemplateSpecInitContainerReadinessProbe): any; export declare class DeploymentV1SpecTemplateSpecInitContainerReadinessProbeOutputReference 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(): DeploymentV1SpecTemplateSpecInitContainerReadinessProbe | undefined; set internalValue(value: DeploymentV1SpecTemplateSpecInitContainerReadinessProbe | undefined); private _failureThreshold?; get failureThreshold(): number; set failureThreshold(value: number); resetFailureThreshold(): void; get failureThresholdInput(): number | undefined; private _initialDelaySeconds?; get initialDelaySeconds(): number; set initialDelaySeconds(value: number); resetInitialDelaySeconds(): void; get initialDelaySecondsInput(): number | undefined; private _periodSeconds?; get periodSeconds(): number; set periodSeconds(value: number); resetPeriodSeconds(): void; get periodSecondsInput(): number | undefined; private _successThreshold?; get successThreshold(): number; set successThreshold(value: number); resetSuccessThreshold(): void; get successThresholdInput(): number | undefined; private _timeoutSeconds?; get timeoutSeconds(): number; set timeoutSeconds(value: number); resetTimeoutSeconds(): void; get timeoutSecondsInput(): number | undefined; private _exec; get exec(): DeploymentV1SpecTemplateSpecInitContainerReadinessProbeExecOutputReference; putExec(value: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeExec): void; resetExec(): void; get execInput(): DeploymentV1SpecTemplateSpecInitContainerReadinessProbeExec | undefined; private _grpc; get grpc(): DeploymentV1SpecTemplateSpecInitContainerReadinessProbeGrpcList; putGrpc(value: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeGrpc[] | cdktf.IResolvable): void; resetGrpc(): void; get grpcInput(): cdktf.IResolvable | DeploymentV1SpecTemplateSpecInitContainerReadinessProbeGrpc[] | undefined; private _httpGet; get httpGet(): DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGetOutputReference; putHttpGet(value: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGet): void; resetHttpGet(): void; get httpGetInput(): DeploymentV1SpecTemplateSpecInitContainerReadinessProbeHttpGet | undefined; private _tcpSocket; get tcpSocket(): DeploymentV1SpecTemplateSpecInitContainerReadinessProbeTcpSocketList; putTcpSocket(value: DeploymentV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket[] | cdktf.IResolvable): void; resetTcpSocket(): void; get tcpSocketInput(): cdktf.IResolvable | DeploymentV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket[] | undefined; } export interface DeploymentV1SpecTemplateSpecInitContainerResources { /** * Describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#limits DeploymentV1#limits} */ readonly limits?: { [key: string]: string; }; /** * Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#requests DeploymentV1#requests} */ readonly requests?: { [key: string]: string; }; } export declare function deploymentV1SpecTemplateSpecInitContainerResourcesToTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerResourcesOutputReference | DeploymentV1SpecTemplateSpecInitContainerResources): any; export declare function deploymentV1SpecTemplateSpecInitContainerResourcesToHclTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerResourcesOutputReference | DeploymentV1SpecTemplateSpecInitContainerResources): any; export declare class DeploymentV1SpecTemplateSpecInitContainerResourcesOutputReference 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(): DeploymentV1SpecTemplateSpecInitContainerResources | undefined; set internalValue(value: DeploymentV1SpecTemplateSpecInitContainerResources | undefined); private _limits?; get limits(): { [key: string]: string; }; set limits(value: { [key: string]: string; }); resetLimits(): void; get limitsInput(): { [key: string]: string; } | undefined; private _requests?; get requests(): { [key: string]: string; }; set requests(value: { [key: string]: string; }); resetRequests(): void; get requestsInput(): { [key: string]: string; } | undefined; } export interface DeploymentV1SpecTemplateSpecInitContainerSecurityContextCapabilities { /** * Added capabilities * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#add DeploymentV1#add} */ readonly add?: string[]; /** * Removed capabilities * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#drop DeploymentV1#drop} */ readonly drop?: string[]; } export declare function deploymentV1SpecTemplateSpecInitContainerSecurityContextCapabilitiesToTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerSecurityContextCapabilitiesOutputReference | DeploymentV1SpecTemplateSpecInitContainerSecurityContextCapabilities): any; export declare function deploymentV1SpecTemplateSpecInitContainerSecurityContextCapabilitiesToHclTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerSecurityContextCapabilitiesOutputReference | DeploymentV1SpecTemplateSpecInitContainerSecurityContextCapabilities): any; export declare class DeploymentV1SpecTemplateSpecInitContainerSecurityContextCapabilitiesOutputReference 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(): DeploymentV1SpecTemplateSpecInitContainerSecurityContextCapabilities | undefined; set internalValue(value: DeploymentV1SpecTemplateSpecInitContainerSecurityContextCapabilities | undefined); private _add?; get add(): string[]; set add(value: string[]); resetAdd(): void; get addInput(): string[] | undefined; private _drop?; get drop(): string[]; set drop(value: string[]); resetDrop(): void; get dropInput(): string[] | undefined; } export interface DeploymentV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptions { /** * Level is SELinux level label that applies to the container. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#level DeploymentV1#level} */ readonly level?: string; /** * Role is a SELinux role label that applies to the container. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#role DeploymentV1#role} */ readonly role?: string; /** * Type is a SELinux type label that applies to the container. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#type DeploymentV1#type} */ readonly type?: string; /** * User is a SELinux user label that applies to the container. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/deployment_v1#user DeploymentV1#user} */ readonly user?: string; } export declare function deploymentV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsToTerraform(struct?: DeploymentV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsOutputReference | DeploymentV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptions): any; export declare function deploymentV1SpecTemplateSpecInitContainer