@cdktf/provider-kubernetes
Version:
Prebuilt kubernetes Provider for Terraform CDK (cdktf)
781 lines • 358 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import * as cdktf from 'cdktf';
import { ReplicationControllerSpecTemplateSpecInitContainerEnv, ReplicationControllerSpecTemplateSpecInitContainerEnvList, ReplicationControllerSpecTemplateSpecInitContainerEnvFrom, ReplicationControllerSpecTemplateSpecInitContainerEnvFromList, ReplicationControllerSpecTemplateSpecInitContainerLifecycle, ReplicationControllerSpecTemplateSpecInitContainerLifecycleOutputReference, ReplicationControllerSpecTemplateSpecInitContainerLivenessProbe, ReplicationControllerSpecTemplateSpecInitContainerLivenessProbeOutputReference, ReplicationControllerSpecTemplateSpecAffinity, ReplicationControllerSpecTemplateSpecAffinityOutputReference, ReplicationControllerSpecTemplateSpecContainer, ReplicationControllerSpecTemplateSpecContainerList, ReplicationControllerSpecTemplateSpecDnsConfig, ReplicationControllerSpecTemplateSpecDnsConfigOutputReference, ReplicationControllerSpecTemplateSpecHostAliases, ReplicationControllerSpecTemplateSpecHostAliasesList, ReplicationControllerSpecTemplateSpecImagePullSecrets, ReplicationControllerSpecTemplateSpecImagePullSecretsList, ReplicationControllerSpecTemplateMetadata, ReplicationControllerSpecTemplateMetadataOutputReference } from './structs0';
export interface ReplicationControllerSpecTemplateSpecInitContainerPort {
/**
* 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#container_port ReplicationController#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#host_ip ReplicationController#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#host_port ReplicationController#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#name ReplicationController#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#protocol ReplicationController#protocol}
*/
readonly protocol?: string;
}
export declare function replicationControllerSpecTemplateSpecInitContainerPortToTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerPort | cdktf.IResolvable): any;
export declare function replicationControllerSpecTemplateSpecInitContainerPortToHclTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerPort | cdktf.IResolvable): any;
export declare class ReplicationControllerSpecTemplateSpecInitContainerPortOutputReference 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(): ReplicationControllerSpecTemplateSpecInitContainerPort | cdktf.IResolvable | undefined;
set internalValue(value: ReplicationControllerSpecTemplateSpecInitContainerPort | 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 ReplicationControllerSpecTemplateSpecInitContainerPortList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: ReplicationControllerSpecTemplateSpecInitContainerPort[] | 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): ReplicationControllerSpecTemplateSpecInitContainerPortOutputReference;
}
export interface ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeExec {
/**
* 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#command ReplicationController#command}
*/
readonly command?: string[];
}
export declare function replicationControllerSpecTemplateSpecInitContainerReadinessProbeExecToTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeExecOutputReference | ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeExec): any;
export declare function replicationControllerSpecTemplateSpecInitContainerReadinessProbeExecToHclTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeExecOutputReference | ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeExec): any;
export declare class ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeExecOutputReference 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(): ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeExec | undefined;
set internalValue(value: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeExec | undefined);
private _command?;
get command(): string[];
set command(value: string[]);
resetCommand(): void;
get commandInput(): string[] | undefined;
}
export interface ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeGrpc {
/**
* 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#port ReplicationController#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#service ReplicationController#service}
*/
readonly service?: string;
}
export declare function replicationControllerSpecTemplateSpecInitContainerReadinessProbeGrpcToTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeGrpc | cdktf.IResolvable): any;
export declare function replicationControllerSpecTemplateSpecInitContainerReadinessProbeGrpcToHclTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeGrpc | cdktf.IResolvable): any;
export declare class ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeGrpcOutputReference 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(): ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeGrpc | cdktf.IResolvable | undefined;
set internalValue(value: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeGrpc | 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 ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeGrpcList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeGrpc[] | 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): ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeGrpcOutputReference;
}
export interface ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader {
/**
* The header field name
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller#name ReplicationController#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#value ReplicationController#value}
*/
readonly value?: string;
}
export declare function replicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderToTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader | cdktf.IResolvable): any;
export declare function replicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderToHclTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader | cdktf.IResolvable): any;
export declare class ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderOutputReference 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(): ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader | cdktf.IResolvable | undefined;
set internalValue(value: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader | 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 ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader[] | 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): ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderOutputReference;
}
export interface ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGet {
/**
* 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#host ReplicationController#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#path ReplicationController#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#port ReplicationController#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#scheme ReplicationController#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#http_header ReplicationController#http_header}
*/
readonly httpHeader?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader[] | cdktf.IResolvable;
}
export declare function replicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetToTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetOutputReference | ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGet): any;
export declare function replicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetToHclTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetOutputReference | ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGet): any;
export declare class ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetOutputReference 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(): ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGet | undefined;
set internalValue(value: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGet | 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(): ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeaderList;
putHttpHeader(value: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader[] | cdktf.IResolvable): void;
resetHttpHeader(): void;
get httpHeaderInput(): cdktf.IResolvable | ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetHttpHeader[] | undefined;
}
export interface ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeTcpSocket {
/**
* 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#port ReplicationController#port}
*/
readonly port: string;
}
export declare function replicationControllerSpecTemplateSpecInitContainerReadinessProbeTcpSocketToTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeTcpSocket | cdktf.IResolvable): any;
export declare function replicationControllerSpecTemplateSpecInitContainerReadinessProbeTcpSocketToHclTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeTcpSocket | cdktf.IResolvable): any;
export declare class ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeTcpSocketOutputReference 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(): ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeTcpSocket | cdktf.IResolvable | undefined;
set internalValue(value: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeTcpSocket | cdktf.IResolvable | undefined);
private _port?;
get port(): string;
set port(value: string);
get portInput(): string | undefined;
}
export declare class ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeTcpSocketList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeTcpSocket[] | 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): ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeTcpSocketOutputReference;
}
export interface ReplicationControllerSpecTemplateSpecInitContainerReadinessProbe {
/**
* 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#failure_threshold ReplicationController#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#initial_delay_seconds ReplicationController#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#period_seconds ReplicationController#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#success_threshold ReplicationController#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#timeout_seconds ReplicationController#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#exec ReplicationController#exec}
*/
readonly exec?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeExec;
/**
* grpc block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller#grpc ReplicationController#grpc}
*/
readonly grpc?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeGrpc[] | cdktf.IResolvable;
/**
* http_get block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller#http_get ReplicationController#http_get}
*/
readonly httpGet?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGet;
/**
* tcp_socket block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller#tcp_socket ReplicationController#tcp_socket}
*/
readonly tcpSocket?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeTcpSocket[] | cdktf.IResolvable;
}
export declare function replicationControllerSpecTemplateSpecInitContainerReadinessProbeToTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeOutputReference | ReplicationControllerSpecTemplateSpecInitContainerReadinessProbe): any;
export declare function replicationControllerSpecTemplateSpecInitContainerReadinessProbeToHclTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeOutputReference | ReplicationControllerSpecTemplateSpecInitContainerReadinessProbe): any;
export declare class ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeOutputReference 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(): ReplicationControllerSpecTemplateSpecInitContainerReadinessProbe | undefined;
set internalValue(value: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbe | 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(): ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeExecOutputReference;
putExec(value: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeExec): void;
resetExec(): void;
get execInput(): ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeExec | undefined;
private _grpc;
get grpc(): ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeGrpcList;
putGrpc(value: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeGrpc[] | cdktf.IResolvable): void;
resetGrpc(): void;
get grpcInput(): cdktf.IResolvable | ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeGrpc[] | undefined;
private _httpGet;
get httpGet(): ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGetOutputReference;
putHttpGet(value: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGet): void;
resetHttpGet(): void;
get httpGetInput(): ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeHttpGet | undefined;
private _tcpSocket;
get tcpSocket(): ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeTcpSocketList;
putTcpSocket(value: ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeTcpSocket[] | cdktf.IResolvable): void;
resetTcpSocket(): void;
get tcpSocketInput(): cdktf.IResolvable | ReplicationControllerSpecTemplateSpecInitContainerReadinessProbeTcpSocket[] | undefined;
}
export interface ReplicationControllerSpecTemplateSpecInitContainerResources {
/**
* 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#limits ReplicationController#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#requests ReplicationController#requests}
*/
readonly requests?: {
[key: string]: string;
};
}
export declare function replicationControllerSpecTemplateSpecInitContainerResourcesToTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerResourcesOutputReference | ReplicationControllerSpecTemplateSpecInitContainerResources): any;
export declare function replicationControllerSpecTemplateSpecInitContainerResourcesToHclTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerResourcesOutputReference | ReplicationControllerSpecTemplateSpecInitContainerResources): any;
export declare class ReplicationControllerSpecTemplateSpecInitContainerResourcesOutputReference 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(): ReplicationControllerSpecTemplateSpecInitContainerResources | undefined;
set internalValue(value: ReplicationControllerSpecTemplateSpecInitContainerResources | 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 ReplicationControllerSpecTemplateSpecInitContainerSecurityContextCapabilities {
/**
* Added capabilities
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller#add ReplicationController#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#drop ReplicationController#drop}
*/
readonly drop?: string[];
}
export declare function replicationControllerSpecTemplateSpecInitContainerSecurityContextCapabilitiesToTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextCapabilitiesOutputReference | ReplicationControllerSpecTemplateSpecInitContainerSecurityContextCapabilities): any;
export declare function replicationControllerSpecTemplateSpecInitContainerSecurityContextCapabilitiesToHclTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextCapabilitiesOutputReference | ReplicationControllerSpecTemplateSpecInitContainerSecurityContextCapabilities): any;
export declare class ReplicationControllerSpecTemplateSpecInitContainerSecurityContextCapabilitiesOutputReference 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(): ReplicationControllerSpecTemplateSpecInitContainerSecurityContextCapabilities | undefined;
set internalValue(value: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextCapabilities | 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 ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeLinuxOptions {
/**
* 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#level ReplicationController#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#role ReplicationController#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#type ReplicationController#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#user ReplicationController#user}
*/
readonly user?: string;
}
export declare function replicationControllerSpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsToTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsOutputReference | ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeLinuxOptions): any;
export declare function replicationControllerSpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsToHclTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsOutputReference | ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeLinuxOptions): any;
export declare class ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsOutputReference 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(): ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeLinuxOptions | undefined;
set internalValue(value: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeLinuxOptions | 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 ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeccompProfile {
/**
* 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#localhost_profile ReplicationController#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#type ReplicationController#type}
*/
readonly type?: string;
}
export declare function replicationControllerSpecTemplateSpecInitContainerSecurityContextSeccompProfileToTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeccompProfileOutputReference | ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeccompProfile): any;
export declare function replicationControllerSpecTemplateSpecInitContainerSecurityContextSeccompProfileToHclTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeccompProfileOutputReference | ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeccompProfile): any;
export declare class ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeccompProfileOutputReference 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(): ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeccompProfile | undefined;
set internalValue(value: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeccompProfile | 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 ReplicationControllerSpecTemplateSpecInitContainerSecurityContext {
/**
* 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#allow_privilege_escalation ReplicationController#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#privileged ReplicationController#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#read_only_root_filesystem ReplicationController#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#run_as_group ReplicationController#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#run_as_non_root ReplicationController#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#run_as_user ReplicationController#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#capabilities ReplicationController#capabilities}
*/
readonly capabilities?: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextCapabilities;
/**
* se_linux_options block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller#se_linux_options ReplicationController#se_linux_options}
*/
readonly seLinuxOptions?: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeLinuxOptions;
/**
* seccomp_profile block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/replication_controller#seccomp_profile ReplicationController#seccomp_profile}
*/
readonly seccompProfile?: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeccompProfile;
}
export declare function replicationControllerSpecTemplateSpecInitContainerSecurityContextToTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextOutputReference | ReplicationControllerSpecTemplateSpecInitContainerSecurityContext): any;
export declare function replicationControllerSpecTemplateSpecInitContainerSecurityContextToHclTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextOutputReference | ReplicationControllerSpecTemplateSpecInitContainerSecurityContext): any;
export declare class ReplicationControllerSpecTemplateSpecInitContainerSecurityContextOutputReference 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(): ReplicationControllerSpecTemplateSpecInitContainerSecurityContext | undefined;
set internalValue(value: ReplicationControllerSpecTemplateSpecInitContainerSecurityContext | 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(): ReplicationControllerSpecTemplateSpecInitContainerSecurityContextCapabilitiesOutputReference;
putCapabilities(value: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextCapabilities): void;
resetCapabilities(): void;
get capabilitiesInput(): ReplicationControllerSpecTemplateSpecInitContainerSecurityContextCapabilities | undefined;
private _seLinuxOptions;
get seLinuxOptions(): ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeLinuxOptionsOutputReference;
putSeLinuxOptions(value: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeLinuxOptions): void;
resetSeLinuxOptions(): void;
get seLinuxOptionsInput(): ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeLinuxOptions | undefined;
private _seccompProfile;
get seccompProfile(): ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeccompProfileOutputReference;
putSeccompProfile(value: ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeccompProfile): void;
resetSeccompProfile(): void;
get seccompProfileInput(): ReplicationControllerSpecTemplateSpecInitContainerSecurityContextSeccompProfile | undefined;
}
export interface ReplicationControllerSpecTemplateSpecInitContainerStartupProbeExec {
/**
* 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#command ReplicationController#command}
*/
readonly command?: string[];
}
export declare function replicationControllerSpecTemplateSpecInitContainerStartupProbeExecToTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerStartupProbeExecOutputReference | ReplicationControllerSpecTemplateSpecInitContainerStartupProbeExec): any;
export declare function replicationControllerSpecTemplateSpecInitContainerStartupProbeExecToHclTerraform(struct?: ReplicationControllerSpecTemplateSpecInitContainerStartupProbeExecOutputReference | ReplicationControllerSpecTemplateSpecInitContainerStartupProbeExec): any;
export declare class ReplicationControllerSpecTemplateSpecInitContainerStartupProbeExecOutputReference 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(): ReplicationControllerSpecTemplateSpecInitContainerStartupProbeExec | undefined;
set internalValue(value: ReplicationControllerSpecTemplateSpecInitContainerStartupProbeExec | undefined);
private _command?;
get command(): string[];
set command(value: string[]);
resetCommand(): void;
get commandInput(): string[] | undefined;
}
export interface ReplicationControllerSpecTemplateSpecInitContainerStartupProbeGrpc {
/**
* 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#port ReplicationController#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