UNPKG

@cdktf/provider-kubernetes

Version:

Prebuilt kubernetes Provider for Terraform CDK (cdktf)

849 lines 384 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import * as cdktf from 'cdktf'; import { StatefulSetSpecTemplateSpecInitContainerLivenessProbeExec, StatefulSetSpecTemplateSpecInitContainerLivenessProbeExecOutputReference, StatefulSetSpecTemplateSpecInitContainerLivenessProbeGrpc, StatefulSetSpecTemplateSpecInitContainerLivenessProbeGrpcList, StatefulSetSpecTemplateSpecInitContainerEnv, StatefulSetSpecTemplateSpecInitContainerEnvList, StatefulSetSpecTemplateSpecInitContainerEnvFrom, StatefulSetSpecTemplateSpecInitContainerEnvFromList, StatefulSetSpecTemplateSpecInitContainerLifecycle, StatefulSetSpecTemplateSpecInitContainerLifecycleOutputReference, StatefulSetSpecTemplateSpecAffinity, StatefulSetSpecTemplateSpecAffinityOutputReference, StatefulSetSpecTemplateSpecContainer, StatefulSetSpecTemplateSpecContainerList, StatefulSetSpecTemplateSpecDnsConfig, StatefulSetSpecTemplateSpecDnsConfigOutputReference, StatefulSetSpecTemplateSpecHostAliases, StatefulSetSpecTemplateSpecHostAliasesList, StatefulSetSpecTemplateSpecImagePullSecrets, StatefulSetSpecTemplateSpecImagePullSecretsList, StatefulSetSpecTemplateMetadata, StatefulSetSpecTemplateMetadataOutputReference, StatefulSetSpecPersistentVolumeClaimRetentionPolicy, StatefulSetSpecPersistentVolumeClaimRetentionPolicyList, StatefulSetSpecSelector, StatefulSetSpecSelectorOutputReference } from './structs0'; export interface StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader { /** * The header field name * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/stateful_set#name StatefulSet#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/stateful_set#value StatefulSet#value} */ readonly value?: string; } export declare function statefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeaderToTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader | cdktf.IResolvable): any; export declare function statefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeaderToHclTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader | cdktf.IResolvable): any; export declare class StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeaderOutputReference 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(): StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader | cdktf.IResolvable | undefined; set internalValue(value: StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader | 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 StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeaderList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader[] | 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): StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeaderOutputReference; } export interface StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGet { /** * 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/stateful_set#host StatefulSet#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/stateful_set#path StatefulSet#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/stateful_set#port StatefulSet#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/stateful_set#scheme StatefulSet#scheme} */ readonly scheme?: string; /** * http_header block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/stateful_set#http_header StatefulSet#http_header} */ readonly httpHeader?: StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader[] | cdktf.IResolvable; } export declare function statefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetToTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetOutputReference | StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGet): any; export declare function statefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetToHclTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetOutputReference | StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGet): any; export declare class StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetOutputReference 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(): StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGet | undefined; set internalValue(value: StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGet | 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(): StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeaderList; putHttpHeader(value: StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader[] | cdktf.IResolvable): void; resetHttpHeader(): void; get httpHeaderInput(): cdktf.IResolvable | StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetHttpHeader[] | undefined; } export interface StatefulSetSpecTemplateSpecInitContainerLivenessProbeTcpSocket { /** * 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/stateful_set#port StatefulSet#port} */ readonly port: string; } export declare function statefulSetSpecTemplateSpecInitContainerLivenessProbeTcpSocketToTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerLivenessProbeTcpSocket | cdktf.IResolvable): any; export declare function statefulSetSpecTemplateSpecInitContainerLivenessProbeTcpSocketToHclTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerLivenessProbeTcpSocket | cdktf.IResolvable): any; export declare class StatefulSetSpecTemplateSpecInitContainerLivenessProbeTcpSocketOutputReference 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(): StatefulSetSpecTemplateSpecInitContainerLivenessProbeTcpSocket | cdktf.IResolvable | undefined; set internalValue(value: StatefulSetSpecTemplateSpecInitContainerLivenessProbeTcpSocket | cdktf.IResolvable | undefined); private _port?; get port(): string; set port(value: string); get portInput(): string | undefined; } export declare class StatefulSetSpecTemplateSpecInitContainerLivenessProbeTcpSocketList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: StatefulSetSpecTemplateSpecInitContainerLivenessProbeTcpSocket[] | 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): StatefulSetSpecTemplateSpecInitContainerLivenessProbeTcpSocketOutputReference; } export interface StatefulSetSpecTemplateSpecInitContainerLivenessProbe { /** * 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/stateful_set#failure_threshold StatefulSet#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/stateful_set#initial_delay_seconds StatefulSet#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/stateful_set#period_seconds StatefulSet#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/stateful_set#success_threshold StatefulSet#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/stateful_set#timeout_seconds StatefulSet#timeout_seconds} */ readonly timeoutSeconds?: number; /** * exec block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/stateful_set#exec StatefulSet#exec} */ readonly exec?: StatefulSetSpecTemplateSpecInitContainerLivenessProbeExec; /** * grpc block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/stateful_set#grpc StatefulSet#grpc} */ readonly grpc?: StatefulSetSpecTemplateSpecInitContainerLivenessProbeGrpc[] | cdktf.IResolvable; /** * http_get block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/stateful_set#http_get StatefulSet#http_get} */ readonly httpGet?: StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGet; /** * tcp_socket block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/stateful_set#tcp_socket StatefulSet#tcp_socket} */ readonly tcpSocket?: StatefulSetSpecTemplateSpecInitContainerLivenessProbeTcpSocket[] | cdktf.IResolvable; } export declare function statefulSetSpecTemplateSpecInitContainerLivenessProbeToTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerLivenessProbeOutputReference | StatefulSetSpecTemplateSpecInitContainerLivenessProbe): any; export declare function statefulSetSpecTemplateSpecInitContainerLivenessProbeToHclTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerLivenessProbeOutputReference | StatefulSetSpecTemplateSpecInitContainerLivenessProbe): any; export declare class StatefulSetSpecTemplateSpecInitContainerLivenessProbeOutputReference 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(): StatefulSetSpecTemplateSpecInitContainerLivenessProbe | undefined; set internalValue(value: StatefulSetSpecTemplateSpecInitContainerLivenessProbe | 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(): StatefulSetSpecTemplateSpecInitContainerLivenessProbeExecOutputReference; putExec(value: StatefulSetSpecTemplateSpecInitContainerLivenessProbeExec): void; resetExec(): void; get execInput(): StatefulSetSpecTemplateSpecInitContainerLivenessProbeExec | undefined; private _grpc; get grpc(): StatefulSetSpecTemplateSpecInitContainerLivenessProbeGrpcList; putGrpc(value: StatefulSetSpecTemplateSpecInitContainerLivenessProbeGrpc[] | cdktf.IResolvable): void; resetGrpc(): void; get grpcInput(): cdktf.IResolvable | StatefulSetSpecTemplateSpecInitContainerLivenessProbeGrpc[] | undefined; private _httpGet; get httpGet(): StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGetOutputReference; putHttpGet(value: StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGet): void; resetHttpGet(): void; get httpGetInput(): StatefulSetSpecTemplateSpecInitContainerLivenessProbeHttpGet | undefined; private _tcpSocket; get tcpSocket(): StatefulSetSpecTemplateSpecInitContainerLivenessProbeTcpSocketList; putTcpSocket(value: StatefulSetSpecTemplateSpecInitContainerLivenessProbeTcpSocket[] | cdktf.IResolvable): void; resetTcpSocket(): void; get tcpSocketInput(): cdktf.IResolvable | StatefulSetSpecTemplateSpecInitContainerLivenessProbeTcpSocket[] | undefined; } export interface StatefulSetSpecTemplateSpecInitContainerPort { /** * 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/stateful_set#container_port StatefulSet#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/stateful_set#host_ip StatefulSet#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/stateful_set#host_port StatefulSet#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/stateful_set#name StatefulSet#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/stateful_set#protocol StatefulSet#protocol} */ readonly protocol?: string; } export declare function statefulSetSpecTemplateSpecInitContainerPortToTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerPort | cdktf.IResolvable): any; export declare function statefulSetSpecTemplateSpecInitContainerPortToHclTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerPort | cdktf.IResolvable): any; export declare class StatefulSetSpecTemplateSpecInitContainerPortOutputReference 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(): StatefulSetSpecTemplateSpecInitContainerPort | cdktf.IResolvable | undefined; set internalValue(value: StatefulSetSpecTemplateSpecInitContainerPort | 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 StatefulSetSpecTemplateSpecInitContainerPortList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: StatefulSetSpecTemplateSpecInitContainerPort[] | 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): StatefulSetSpecTemplateSpecInitContainerPortOutputReference; } export interface StatefulSetSpecTemplateSpecInitContainerReadinessProbeExec { /** * 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/stateful_set#command StatefulSet#command} */ readonly command?: string[]; } export declare function statefulSetSpecTemplateSpecInitContainerReadinessProbeExecToTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeExecOutputReference | StatefulSetSpecTemplateSpecInitContainerReadinessProbeExec): any; export declare function statefulSetSpecTemplateSpecInitContainerReadinessProbeExecToHclTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeExecOutputReference | StatefulSetSpecTemplateSpecInitContainerReadinessProbeExec): any; export declare class StatefulSetSpecTemplateSpecInitContainerReadinessProbeExecOutputReference 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(): StatefulSetSpecTemplateSpecInitContainerReadinessProbeExec | undefined; set internalValue(value: StatefulSetSpecTemplateSpecInitContainerReadinessProbeExec | undefined); private _command?; get command(): string[]; set command(value: string[]); resetCommand(): void; get commandInput(): string[] | undefined; } export interface StatefulSetSpecTemplateSpecInitContainerReadinessProbeGrpc { /** * 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/stateful_set#port StatefulSet#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/stateful_set#service StatefulSet#service} */ readonly service?: string; } export declare function statefulSetSpecTemplateSpecInitContainerReadinessProbeGrpcToTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeGrpc | cdktf.IResolvable): any; export declare function statefulSetSpecTemplateSpecInitContainerReadinessProbeGrpcToHclTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeGrpc | cdktf.IResolvable): any; export declare class StatefulSetSpecTemplateSpecInitContainerReadinessProbeGrpcOutputReference 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(): StatefulSetSpecTemplateSpecInitContainerReadinessProbeGrpc | cdktf.IResolvable | undefined; set internalValue(value: StatefulSetSpecTemplateSpecInitContainerReadinessProbeGrpc | 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 StatefulSetSpecTemplateSpecInitContainerReadinessProbeGrpcList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeGrpc[] | 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): StatefulSetSpecTemplateSpecInitContainerReadinessProbeGrpcOutputReference; } export interface StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader { /** * The header field name * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/stateful_set#name StatefulSet#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/stateful_set#value StatefulSet#value} */ readonly value?: string; } export declare function statefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderToTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader | cdktf.IResolvable): any; export declare function statefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderToHclTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader | cdktf.IResolvable): any; export declare class StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderOutputReference 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(): StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader | cdktf.IResolvable | undefined; set internalValue(value: StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader | 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 StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader[] | 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): StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderOutputReference; } export interface StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGet { /** * 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/stateful_set#host StatefulSet#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/stateful_set#path StatefulSet#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/stateful_set#port StatefulSet#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/stateful_set#scheme StatefulSet#scheme} */ readonly scheme?: string; /** * http_header block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/stateful_set#http_header StatefulSet#http_header} */ readonly httpHeader?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader[] | cdktf.IResolvable; } export declare function statefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetToTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetOutputReference | StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGet): any; export declare function statefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetToHclTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetOutputReference | StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGet): any; export declare class StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetOutputReference 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(): StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGet | undefined; set internalValue(value: StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGet | 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(): StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderList; putHttpHeader(value: StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader[] | cdktf.IResolvable): void; resetHttpHeader(): void; get httpHeaderInput(): cdktf.IResolvable | StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader[] | undefined; } export interface StatefulSetSpecTemplateSpecInitContainerReadinessProbeTcpSocket { /** * 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/stateful_set#port StatefulSet#port} */ readonly port: string; } export declare function statefulSetSpecTemplateSpecInitContainerReadinessProbeTcpSocketToTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeTcpSocket | cdktf.IResolvable): any; export declare function statefulSetSpecTemplateSpecInitContainerReadinessProbeTcpSocketToHclTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeTcpSocket | cdktf.IResolvable): any; export declare class StatefulSetSpecTemplateSpecInitContainerReadinessProbeTcpSocketOutputReference 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(): StatefulSetSpecTemplateSpecInitContainerReadinessProbeTcpSocket | cdktf.IResolvable | undefined; set internalValue(value: StatefulSetSpecTemplateSpecInitContainerReadinessProbeTcpSocket | cdktf.IResolvable | undefined); private _port?; get port(): string; set port(value: string); get portInput(): string | undefined; } export declare class StatefulSetSpecTemplateSpecInitContainerReadinessProbeTcpSocketList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeTcpSocket[] | 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): StatefulSetSpecTemplateSpecInitContainerReadinessProbeTcpSocketOutputReference; } export interface StatefulSetSpecTemplateSpecInitContainerReadinessProbe { /** * 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/stateful_set#failure_threshold StatefulSet#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/stateful_set#initial_delay_seconds StatefulSet#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/stateful_set#period_seconds StatefulSet#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/stateful_set#success_threshold StatefulSet#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/stateful_set#timeout_seconds StatefulSet#timeout_seconds} */ readonly timeoutSeconds?: number; /** * exec block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/stateful_set#exec StatefulSet#exec} */ readonly exec?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeExec; /** * grpc block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/stateful_set#grpc StatefulSet#grpc} */ readonly grpc?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeGrpc[] | cdktf.IResolvable; /** * http_get block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/stateful_set#http_get StatefulSet#http_get} */ readonly httpGet?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGet; /** * tcp_socket block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/stateful_set#tcp_socket StatefulSet#tcp_socket} */ readonly tcpSocket?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeTcpSocket[] | cdktf.IResolvable; } export declare function statefulSetSpecTemplateSpecInitContainerReadinessProbeToTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeOutputReference | StatefulSetSpecTemplateSpecInitContainerReadinessProbe): any; export declare function statefulSetSpecTemplateSpecInitContainerReadinessProbeToHclTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerReadinessProbeOutputReference | StatefulSetSpecTemplateSpecInitContainerReadinessProbe): any; export declare class StatefulSetSpecTemplateSpecInitContainerReadinessProbeOutputReference 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(): StatefulSetSpecTemplateSpecInitContainerReadinessProbe | undefined; set internalValue(value: StatefulSetSpecTemplateSpecInitContainerReadinessProbe | 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(): StatefulSetSpecTemplateSpecInitContainerReadinessProbeExecOutputReference; putExec(value: StatefulSetSpecTemplateSpecInitContainerReadinessProbeExec): void; resetExec(): void; get execInput(): StatefulSetSpecTemplateSpecInitContainerReadinessProbeExec | undefined; private _grpc; get grpc(): StatefulSetSpecTemplateSpecInitContainerReadinessProbeGrpcList; putGrpc(value: StatefulSetSpecTemplateSpecInitContainerReadinessProbeGrpc[] | cdktf.IResolvable): void; resetGrpc(): void; get grpcInput(): cdktf.IResolvable | StatefulSetSpecTemplateSpecInitContainerReadinessProbeGrpc[] | undefined; private _httpGet; get httpGet(): StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGetOutputReference; putHttpGet(value: StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGet): void; resetHttpGet(): void; get httpGetInput(): StatefulSetSpecTemplateSpecInitContainerReadinessProbeHttpGet | undefined; private _tcpSocket; get tcpSocket(): StatefulSetSpecTemplateSpecInitContainerReadinessProbeTcpSocketList; putTcpSocket(value: StatefulSetSpecTemplateSpecInitContainerReadinessProbeTcpSocket[] | cdktf.IResolvable): void; resetTcpSocket(): void; get tcpSocketInput(): cdktf.IResolvable | StatefulSetSpecTemplateSpecInitContainerReadinessProbeTcpSocket[] | undefined; } export interface StatefulSetSpecTemplateSpecInitContainerResources { /** * 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/stateful_set#limits StatefulSet#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/stateful_set#requests StatefulSet#requests} */ readonly requests?: { [key: string]: string; }; } export declare function statefulSetSpecTemplateSpecInitContainerResourcesToTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerResourcesOutputReference | StatefulSetSpecTemplateSpecInitContainerResources): any; export declare function statefulSetSpecTemplateSpecInitContainerResourcesToHclTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerResourcesOutputReference | StatefulSetSpecTemplateSpecInitContainerResources): any; export declare class StatefulSetSpecTemplateSpecInitContainerResourcesOutputReference 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(): StatefulSetSpecTemplateSpecInitContainerResources | undefined; set internalValue(value: StatefulSetSpecTemplateSpecInitContainerResources | 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 StatefulSetSpecTemplateSpecInitContainerSecurityContextCapabilities { /** * Added capabilities * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/stateful_set#add StatefulSet#add} */ readonly add?: string[]; /** * Removed capabilities * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/stateful_set#drop StatefulSet#drop} */ readonly drop?: string[]; } export declare function statefulSetSpecTemplateSpecInitContainerSecurityContextCapabilitiesToTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerSecurityContextCapabilitiesOutputReference | StatefulSetSpecTemplateSpecInitContainerSecurityContextCapabilities): any; export declare function statefulSetSpecTemplateSpecInitContainerSecurityContextCapabilitiesToHclTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerSecurityContextCapabilitiesOutputReference | StatefulSetSpecTemplateSpecInitContainerSecurityContextCapabilities): any; export declare class StatefulSetSpecTemplateSpecInitContainerSecurityContextCapabilitiesOutputReference 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(): StatefulSetSpecTemplateSpecInitContainerSecurityContextCapabilities | undefined; set internalValue(value: StatefulSetSpecTemplateSpecInitContainerSecurityContextCapabilities | 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 StatefulSetSpecTemplateSpecInitContainerSecurityContextSeLinuxOptions { /** * 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/stateful_set#level StatefulSet#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/stateful_set#role StatefulSet#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/stateful_set#type StatefulSet#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/stateful_set#user StatefulSet#user} */ readonly user?: string; } export declare function statefulSetSpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsToTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsOutputReference | StatefulSetSpecTemplateSpecInitContainerSecurityContextSeLinuxOptions): any; export declare function statefulSetSpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsToHclTerraform(struct?: StatefulSetSpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsOutputReference | StatefulSetSpecTemplateSpecInitContainerSecurityContextSeLinuxOptions): any; export declare class StatefulSetSpecTemplateS