UNPKG

@cdktf/provider-kubernetes

Version:

Prebuilt kubernetes Provider for Terraform CDK (cdktf)

771 lines 363 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import * as cdktf from 'cdktf'; import { ReplicationControllerV1SpecTemplateSpecInitContainerEnv, ReplicationControllerV1SpecTemplateSpecInitContainerEnvList, ReplicationControllerV1SpecTemplateSpecInitContainerEnvFrom, ReplicationControllerV1SpecTemplateSpecInitContainerEnvFromList, ReplicationControllerV1SpecTemplateSpecInitContainerLifecycle, ReplicationControllerV1SpecTemplateSpecInitContainerLifecycleOutputReference, ReplicationControllerV1SpecTemplateSpecInitContainerLivenessProbe, ReplicationControllerV1SpecTemplateSpecInitContainerLivenessProbeOutputReference, ReplicationControllerV1SpecTemplateSpecAffinity, ReplicationControllerV1SpecTemplateSpecAffinityOutputReference, ReplicationControllerV1SpecTemplateSpecContainer, ReplicationControllerV1SpecTemplateSpecContainerList, ReplicationControllerV1SpecTemplateSpecDnsConfig, ReplicationControllerV1SpecTemplateSpecDnsConfigOutputReference, ReplicationControllerV1SpecTemplateSpecHostAliases, ReplicationControllerV1SpecTemplateSpecHostAliasesList, ReplicationControllerV1SpecTemplateSpecImagePullSecrets, ReplicationControllerV1SpecTemplateSpecImagePullSecretsList, ReplicationControllerV1SpecTemplateMetadata, ReplicationControllerV1SpecTemplateMetadataOutputReference } from './structs0'; export interface ReplicationControllerV1SpecTemplateSpecInitContainerPort { /** * 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/replication_controller_v1#container_port ReplicationControllerV1#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/replication_controller_v1#host_ip ReplicationControllerV1#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/replication_controller_v1#host_port ReplicationControllerV1#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/replication_controller_v1#name ReplicationControllerV1#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/replication_controller_v1#protocol ReplicationControllerV1#protocol} */ readonly protocol?: string; } export declare function replicationControllerV1SpecTemplateSpecInitContainerPortToTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerPort | cdktf.IResolvable): any; export declare function replicationControllerV1SpecTemplateSpecInitContainerPortToHclTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerPort | cdktf.IResolvable): any; export declare class ReplicationControllerV1SpecTemplateSpecInitContainerPortOutputReference 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(): ReplicationControllerV1SpecTemplateSpecInitContainerPort | cdktf.IResolvable | undefined; set internalValue(value: ReplicationControllerV1SpecTemplateSpecInitContainerPort | 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 ReplicationControllerV1SpecTemplateSpecInitContainerPortList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ReplicationControllerV1SpecTemplateSpecInitContainerPort[] | 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): ReplicationControllerV1SpecTemplateSpecInitContainerPortOutputReference; } export interface ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeExec { /** * 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/replication_controller_v1#command ReplicationControllerV1#command} */ readonly command?: string[]; } export declare function replicationControllerV1SpecTemplateSpecInitContainerReadinessProbeExecToTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeExecOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeExec): any; export declare function replicationControllerV1SpecTemplateSpecInitContainerReadinessProbeExecToHclTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeExecOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeExec): any; export declare class ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeExecOutputReference 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(): ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeExec | undefined; set internalValue(value: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeExec | undefined); private _command?; get command(): string[]; set command(value: string[]); resetCommand(): void; get commandInput(): string[] | undefined; } export interface ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeGrpc { /** * 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/replication_controller_v1#port ReplicationControllerV1#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/replication_controller_v1#service ReplicationControllerV1#service} */ readonly service?: string; } export declare function replicationControllerV1SpecTemplateSpecInitContainerReadinessProbeGrpcToTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeGrpc | cdktf.IResolvable): any; export declare function replicationControllerV1SpecTemplateSpecInitContainerReadinessProbeGrpcToHclTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeGrpc | cdktf.IResolvable): any; export declare class ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeGrpcOutputReference 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(): ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeGrpc | cdktf.IResolvable | undefined; set internalValue(value: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeGrpc | 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 ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeGrpcList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeGrpc[] | 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): ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeGrpcOutputReference; } export interface ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader { /** * The header field name * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#name ReplicationControllerV1#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/replication_controller_v1#value ReplicationControllerV1#value} */ readonly value?: string; } export declare function replicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderToTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader | cdktf.IResolvable): any; export declare function replicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderToHclTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader | cdktf.IResolvable): any; export declare class ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderOutputReference 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(): ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader | cdktf.IResolvable | undefined; set internalValue(value: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader | 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 ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader[] | 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): ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderOutputReference; } export interface ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGet { /** * 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/replication_controller_v1#host ReplicationControllerV1#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/replication_controller_v1#path ReplicationControllerV1#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/replication_controller_v1#port ReplicationControllerV1#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/replication_controller_v1#scheme ReplicationControllerV1#scheme} */ readonly scheme?: string; /** * http_header block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#http_header ReplicationControllerV1#http_header} */ readonly httpHeader?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader[] | cdktf.IResolvable; } export declare function replicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetToTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGet): any; export declare function replicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetToHclTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGet): any; export declare class ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetOutputReference 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(): ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGet | undefined; set internalValue(value: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGet | 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(): ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderList; putHttpHeader(value: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader[] | cdktf.IResolvable): void; resetHttpHeader(): void; get httpHeaderInput(): cdktf.IResolvable | ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader[] | undefined; } export interface ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket { /** * 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/replication_controller_v1#port ReplicationControllerV1#port} */ readonly port: string; } export declare function replicationControllerV1SpecTemplateSpecInitContainerReadinessProbeTcpSocketToTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket | cdktf.IResolvable): any; export declare function replicationControllerV1SpecTemplateSpecInitContainerReadinessProbeTcpSocketToHclTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket | cdktf.IResolvable): any; export declare class ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeTcpSocketOutputReference 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(): ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket | cdktf.IResolvable | undefined; set internalValue(value: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket | cdktf.IResolvable | undefined); private _port?; get port(): string; set port(value: string); get portInput(): string | undefined; } export declare class ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeTcpSocketList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket[] | 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): ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeTcpSocketOutputReference; } export interface ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbe { /** * 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/replication_controller_v1#failure_threshold ReplicationControllerV1#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/replication_controller_v1#initial_delay_seconds ReplicationControllerV1#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/replication_controller_v1#period_seconds ReplicationControllerV1#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/replication_controller_v1#success_threshold ReplicationControllerV1#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/replication_controller_v1#timeout_seconds ReplicationControllerV1#timeout_seconds} */ readonly timeoutSeconds?: number; /** * exec block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#exec ReplicationControllerV1#exec} */ readonly exec?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeExec; /** * grpc block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#grpc ReplicationControllerV1#grpc} */ readonly grpc?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeGrpc[] | cdktf.IResolvable; /** * http_get block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#http_get ReplicationControllerV1#http_get} */ readonly httpGet?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGet; /** * tcp_socket block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#tcp_socket ReplicationControllerV1#tcp_socket} */ readonly tcpSocket?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket[] | cdktf.IResolvable; } export declare function replicationControllerV1SpecTemplateSpecInitContainerReadinessProbeToTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbe): any; export declare function replicationControllerV1SpecTemplateSpecInitContainerReadinessProbeToHclTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbe): any; export declare class ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeOutputReference 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(): ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbe | undefined; set internalValue(value: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbe | 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(): ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeExecOutputReference; putExec(value: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeExec): void; resetExec(): void; get execInput(): ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeExec | undefined; private _grpc; get grpc(): ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeGrpcList; putGrpc(value: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeGrpc[] | cdktf.IResolvable): void; resetGrpc(): void; get grpcInput(): cdktf.IResolvable | ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeGrpc[] | undefined; private _httpGet; get httpGet(): ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGetOutputReference; putHttpGet(value: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGet): void; resetHttpGet(): void; get httpGetInput(): ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeHttpGet | undefined; private _tcpSocket; get tcpSocket(): ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeTcpSocketList; putTcpSocket(value: ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket[] | cdktf.IResolvable): void; resetTcpSocket(): void; get tcpSocketInput(): cdktf.IResolvable | ReplicationControllerV1SpecTemplateSpecInitContainerReadinessProbeTcpSocket[] | undefined; } export interface ReplicationControllerV1SpecTemplateSpecInitContainerResources { /** * 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/replication_controller_v1#limits ReplicationControllerV1#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/replication_controller_v1#requests ReplicationControllerV1#requests} */ readonly requests?: { [key: string]: string; }; } export declare function replicationControllerV1SpecTemplateSpecInitContainerResourcesToTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerResourcesOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerResources): any; export declare function replicationControllerV1SpecTemplateSpecInitContainerResourcesToHclTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerResourcesOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerResources): any; export declare class ReplicationControllerV1SpecTemplateSpecInitContainerResourcesOutputReference 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(): ReplicationControllerV1SpecTemplateSpecInitContainerResources | undefined; set internalValue(value: ReplicationControllerV1SpecTemplateSpecInitContainerResources | 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 ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextCapabilities { /** * Added capabilities * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#add ReplicationControllerV1#add} */ readonly add?: string[]; /** * Removed capabilities * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#drop ReplicationControllerV1#drop} */ readonly drop?: string[]; } export declare function replicationControllerV1SpecTemplateSpecInitContainerSecurityContextCapabilitiesToTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextCapabilitiesOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextCapabilities): any; export declare function replicationControllerV1SpecTemplateSpecInitContainerSecurityContextCapabilitiesToHclTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextCapabilitiesOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextCapabilities): any; export declare class ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextCapabilitiesOutputReference 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(): ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextCapabilities | undefined; set internalValue(value: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextCapabilities | 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 ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptions { /** * 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/replication_controller_v1#level ReplicationControllerV1#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/replication_controller_v1#role ReplicationControllerV1#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/replication_controller_v1#type ReplicationControllerV1#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/replication_controller_v1#user ReplicationControllerV1#user} */ readonly user?: string; } export declare function replicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsToTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptions): any; export declare function replicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsToHclTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptions): any; export declare class ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsOutputReference 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(): ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptions | undefined; set internalValue(value: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptions | undefined); private _level?; get level(): string; set level(value: string); resetLevel(): void; get levelInput(): string | undefined; private _role?; get role(): string; set role(value: string); resetRole(): void; get roleInput(): string | undefined; private _type?; get type(): string; set type(value: string); resetType(): void; get typeInput(): string | undefined; private _user?; get user(): string; set user(value: string); resetUser(): void; get userInput(): string | undefined; } export interface ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeccompProfile { /** * Localhost Profile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#localhost_profile ReplicationControllerV1#localhost_profile} */ readonly localhostProfile?: string; /** * Type indicates which kind of seccomp profile will be applied. Valid options are: Localhost, RuntimeDefault, Unconfined. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#type ReplicationControllerV1#type} */ readonly type?: string; } export declare function replicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeccompProfileToTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeccompProfileOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeccompProfile): any; export declare function replicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeccompProfileToHclTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeccompProfileOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeccompProfile): any; export declare class ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeccompProfileOutputReference 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(): ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeccompProfile | undefined; set internalValue(value: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeccompProfile | undefined); private _localhostProfile?; get localhostProfile(): string; set localhostProfile(value: string); resetLocalhostProfile(): void; get localhostProfileInput(): string | undefined; private _type?; get type(): string; set type(value: string); resetType(): void; get typeInput(): string | undefined; } export interface ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContext { /** * AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#allow_privilege_escalation ReplicationControllerV1#allow_privilege_escalation} */ readonly allowPrivilegeEscalation?: boolean | cdktf.IResolvable; /** * Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#privileged ReplicationControllerV1#privileged} */ readonly privileged?: boolean | cdktf.IResolvable; /** * Whether this container has a read-only root filesystem. Default is false. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#read_only_root_filesystem ReplicationControllerV1#read_only_root_filesystem} */ readonly readOnlyRootFilesystem?: boolean | cdktf.IResolvable; /** * The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#run_as_group ReplicationControllerV1#run_as_group} */ readonly runAsGroup?: string; /** * Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#run_as_non_root ReplicationControllerV1#run_as_non_root} */ readonly runAsNonRoot?: boolean | cdktf.IResolvable; /** * The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#run_as_user ReplicationControllerV1#run_as_user} */ readonly runAsUser?: string; /** * capabilities block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#capabilities ReplicationControllerV1#capabilities} */ readonly capabilities?: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextCapabilities; /** * se_linux_options block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#se_linux_options ReplicationControllerV1#se_linux_options} */ readonly seLinuxOptions?: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptions; /** * seccomp_profile block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller_v1#seccomp_profile ReplicationControllerV1#seccomp_profile} */ readonly seccompProfile?: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeccompProfile; } export declare function replicationControllerV1SpecTemplateSpecInitContainerSecurityContextToTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContext): any; export declare function replicationControllerV1SpecTemplateSpecInitContainerSecurityContextToHclTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContext): any; export declare class ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextOutputReference 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(): ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContext | undefined; set internalValue(value: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContext | undefined); private _allowPrivilegeEscalation?; get allowPrivilegeEscalation(): boolean | cdktf.IResolvable; set allowPrivilegeEscalation(value: boolean | cdktf.IResolvable); resetAllowPrivilegeEscalation(): void; get allowPrivilegeEscalationInput(): boolean | cdktf.IResolvable | undefined; private _privileged?; get privileged(): boolean | cdktf.IResolvable; set privileged(value: boolean | cdktf.IResolvable); resetPrivileged(): void; get privilegedInput(): boolean | cdktf.IResolvable | undefined; private _readOnlyRootFilesystem?; get readOnlyRootFilesystem(): boolean | cdktf.IResolvable; set readOnlyRootFilesystem(value: boolean | cdktf.IResolvable); resetReadOnlyRootFilesystem(): void; get readOnlyRootFilesystemInput(): boolean | cdktf.IResolvable | undefined; private _runAsGroup?; get runAsGroup(): string; set runAsGroup(value: string); resetRunAsGroup(): void; get runAsGroupInput(): string | undefined; private _runAsNonRoot?; get runAsNonRoot(): boolean | cdktf.IResolvable; set runAsNonRoot(value: boolean | cdktf.IResolvable); resetRunAsNonRoot(): void; get runAsNonRootInput(): boolean | cdktf.IResolvable | undefined; private _runAsUser?; get runAsUser(): string; set runAsUser(value: string); resetRunAsUser(): void; get runAsUserInput(): string | undefined; private _capabilities; get capabilities(): ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextCapabilitiesOutputReference; putCapabilities(value: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextCapabilities): void; resetCapabilities(): void; get capabilitiesInput(): ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextCapabilities | undefined; private _seLinuxOptions; get seLinuxOptions(): ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsOutputReference; putSeLinuxOptions(value: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptions): void; resetSeLinuxOptions(): void; get seLinuxOptionsInput(): ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeLinuxOptions | undefined; private _seccompProfile; get seccompProfile(): ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeccompProfileOutputReference; putSeccompProfile(value: ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeccompProfile): void; resetSeccompProfile(): void; get seccompProfileInput(): ReplicationControllerV1SpecTemplateSpecInitContainerSecurityContextSeccompProfile | undefined; } export interface ReplicationControllerV1SpecTemplateSpecInitContainerStartupProbeExec { /** * 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/replication_controller_v1#command ReplicationControllerV1#command} */ readonly command?: string[]; } export declare function replicationControllerV1SpecTemplateSpecInitContainerStartupProbeExecToTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerStartupProbeExecOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerStartupProbeExec): any; export declare function replicationControllerV1SpecTemplateSpecInitContainerStartupProbeExecToHclTerraform(struct?: ReplicationControllerV1SpecTemplateSpecInitContainerStartupProbeExecOutputReference | ReplicationControllerV1SpecTemplateSpecInitContainerStartupProbeExec): any; export declare class ReplicationControllerV1SpecTemplateSpecInitContainerStartupProbeExecOutputReference 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(): ReplicationControllerV1SpecTemplateSpecInitContainerStartupProbeExec | undefined; set internalValue(value: ReplicationControllerV1SpecTemplateSpecInitContainerStartupProbeExec | undefined); private _command?; get command(): string[]; set command(value: string[]); resetCommand(): void; get commandInput(): string[] | undef