Represents a {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs kubernetes}.
import com.hashicorp.cdktf.providers.kubernetes.provider.KubernetesProvider;
KubernetesProvider.Builder.create(Construct scope, java.lang.String id)
// .alias(java.lang.String)
// .clientCertificate(java.lang.String)
// .clientKey(java.lang.String)
// .clusterCaCertificate(java.lang.String)
// .configContext(java.lang.String)
// .configContextAuthInfo(java.lang.String)
// .configContextCluster(java.lang.String)
// .configPath(java.lang.String)
// .configPaths(java.util.List<java.lang.String>)
// .exec(IResolvable)
// .exec(java.util.List<KubernetesProviderExec>)
// .experiments(IResolvable)
// .experiments(java.util.List<KubernetesProviderExperiments>)
// .host(java.lang.String)
// .ignoreAnnotations(java.util.List<java.lang.String>)
// .ignoreLabels(java.util.List<java.lang.String>)
// .insecure(java.lang.Boolean)
// .insecure(IResolvable)
// .password(java.lang.String)
// .proxyUrl(java.lang.String)
// .tlsServerName(java.lang.String)
// .token(java.lang.String)
// .username(java.lang.String)
.build();
Name | Type | Description |
---|---|---|
scope |
software.constructs.Construct |
The scope in which to define this construct. |
id |
java.lang.String |
The scoped construct ID. |
alias |
java.lang.String |
Alias name. |
clientCertificate |
java.lang.String |
PEM-encoded client certificate for TLS authentication. |
clientKey |
java.lang.String |
PEM-encoded client certificate key for TLS authentication. |
clusterCaCertificate |
java.lang.String |
PEM-encoded root certificates bundle for TLS authentication. |
configContext |
java.lang.String |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#config_context KubernetesProvider#config_context}. |
configContextAuthInfo |
java.lang.String |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#config_context_auth_info KubernetesProvider#config_context_auth_info}. |
configContextCluster |
java.lang.String |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#config_context_cluster KubernetesProvider#config_context_cluster}. |
configPath |
java.lang.String |
Path to the kube config file. Can be set with KUBE_CONFIG_PATH. |
configPaths |
java.util.List<java.lang.String> |
A list of paths to kube config files. Can be set with KUBE_CONFIG_PATHS environment variable. |
exec |
com.hashicorp.cdktf.IResolvable OR java.util.List<KubernetesProviderExec> |
exec block. |
experiments |
com.hashicorp.cdktf.IResolvable OR java.util.List<KubernetesProviderExperiments> |
experiments block. |
host |
java.lang.String |
The hostname (in form of URI) of Kubernetes master. |
ignoreAnnotations |
java.util.List<java.lang.String> |
List of Kubernetes metadata annotations to ignore across all resources handled by this provider for situations where external systems are managing certain resource annotations. |
ignoreLabels |
java.util.List<java.lang.String> |
List of Kubernetes metadata labels to ignore across all resources handled by this provider for situations where external systems are managing certain resource labels. |
insecure |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Whether server should be accessed without verifying the TLS certificate. |
password |
java.lang.String |
The password to use for HTTP basic authentication when accessing the Kubernetes master endpoint. |
proxyUrl |
java.lang.String |
URL to the proxy to be used for all API requests. |
tlsServerName |
java.lang.String |
Server name passed to the server for SNI and is used in the client to check server certificates against. |
token |
java.lang.String |
Token to authenticate an service account. |
username |
java.lang.String |
The username to use for HTTP basic authentication when accessing the Kubernetes master endpoint. |
- Type: software.constructs.Construct
The scope in which to define this construct.
- Type: java.lang.String
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: java.lang.String
Alias name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#alias KubernetesProvider#alias}
- Type: java.lang.String
PEM-encoded client certificate for TLS authentication.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#client_certificate KubernetesProvider#client_certificate}
- Type: java.lang.String
PEM-encoded client certificate key for TLS authentication.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#client_key KubernetesProvider#client_key}
- Type: java.lang.String
PEM-encoded root certificates bundle for TLS authentication.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#cluster_ca_certificate KubernetesProvider#cluster_ca_certificate}
- Type: java.lang.String
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#config_context KubernetesProvider#config_context}.
- Type: java.lang.String
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#config_context_auth_info KubernetesProvider#config_context_auth_info}.
- Type: java.lang.String
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#config_context_cluster KubernetesProvider#config_context_cluster}.
- Type: java.lang.String
Path to the kube config file. Can be set with KUBE_CONFIG_PATH.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#config_path KubernetesProvider#config_path}
- Type: java.util.List<java.lang.String>
A list of paths to kube config files. Can be set with KUBE_CONFIG_PATHS environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#config_paths KubernetesProvider#config_paths}
- Type: com.hashicorp.cdktf.IResolvable OR java.util.List<KubernetesProviderExec>
exec block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#exec KubernetesProvider#exec}
- Type: com.hashicorp.cdktf.IResolvable OR java.util.List<KubernetesProviderExperiments>
experiments block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#experiments KubernetesProvider#experiments}
- Type: java.lang.String
The hostname (in form of URI) of Kubernetes master.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#host KubernetesProvider#host}
- Type: java.util.List<java.lang.String>
List of Kubernetes metadata annotations to ignore across all resources handled by this provider for situations where external systems are managing certain resource annotations.
Each item is a regular expression.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#ignore_annotations KubernetesProvider#ignore_annotations}
- Type: java.util.List<java.lang.String>
List of Kubernetes metadata labels to ignore across all resources handled by this provider for situations where external systems are managing certain resource labels.
Each item is a regular expression.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#ignore_labels KubernetesProvider#ignore_labels}
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
Whether server should be accessed without verifying the TLS certificate.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#insecure KubernetesProvider#insecure}
- Type: java.lang.String
The password to use for HTTP basic authentication when accessing the Kubernetes master endpoint.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#password KubernetesProvider#password}
- Type: java.lang.String
URL to the proxy to be used for all API requests.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#proxy_url KubernetesProvider#proxy_url}
- Type: java.lang.String
Server name passed to the server for SNI and is used in the client to check server certificates against.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#tls_server_name KubernetesProvider#tls_server_name}
- Type: java.lang.String
Token to authenticate an service account.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#token KubernetesProvider#token}
- Type: java.lang.String
The username to use for HTTP basic authentication when accessing the Kubernetes master endpoint.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#username KubernetesProvider#username}
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
addOverride |
No description. |
overrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
resetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
toHclTerraform |
No description. |
toMetadata |
No description. |
toTerraform |
Adds this resource to the terraform JSON output. |
resetAlias |
No description. |
resetClientCertificate |
No description. |
resetClientKey |
No description. |
resetClusterCaCertificate |
No description. |
resetConfigContext |
No description. |
resetConfigContextAuthInfo |
No description. |
resetConfigContextCluster |
No description. |
resetConfigPath |
No description. |
resetConfigPaths |
No description. |
resetExec |
No description. |
resetExperiments |
No description. |
resetHost |
No description. |
resetIgnoreAnnotations |
No description. |
resetIgnoreLabels |
No description. |
resetInsecure |
No description. |
resetPassword |
No description. |
resetProxyUrl |
No description. |
resetTlsServerName |
No description. |
resetToken |
No description. |
resetUsername |
No description. |
public java.lang.String toString()
Returns a string representation of this construct.
public void addOverride(java.lang.String path, java.lang.Object value)
- Type: java.lang.String
- Type: java.lang.Object
public void overrideLogicalId(java.lang.String newLogicalId)
Overrides the auto-generated logical ID with a specific ID.
- Type: java.lang.String
The new logical ID to use for this stack element.
public void resetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
public java.lang.Object toHclTerraform()
public java.lang.Object toMetadata()
public java.lang.Object toTerraform()
Adds this resource to the terraform JSON output.
public void resetAlias()
public void resetClientCertificate()
public void resetClientKey()
public void resetClusterCaCertificate()
public void resetConfigContext()
public void resetConfigContextAuthInfo()
public void resetConfigContextCluster()
public void resetConfigPath()
public void resetConfigPaths()
public void resetExec()
public void resetExperiments()
public void resetHost()
public void resetIgnoreAnnotations()
public void resetIgnoreLabels()
public void resetInsecure()
public void resetPassword()
public void resetProxyUrl()
public void resetTlsServerName()
public void resetToken()
public void resetUsername()
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
isTerraformElement |
No description. |
isTerraformProvider |
No description. |
generateConfigForImport |
Generates CDKTF code for importing a KubernetesProvider resource upon running "cdktf plan ". |
import com.hashicorp.cdktf.providers.kubernetes.provider.KubernetesProvider;
KubernetesProvider.isConstruct(java.lang.Object x)
Checks if x
is a construct.
Use this method instead of instanceof
to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs
library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct
in each copy of the constructs
library
is seen as a different class, and an instance of one class will not test as
instanceof
the other class. npm install
will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof
will behave
unpredictably. It is safest to avoid using instanceof
, and using
this type-testing method instead.
- Type: java.lang.Object
Any object.
import com.hashicorp.cdktf.providers.kubernetes.provider.KubernetesProvider;
KubernetesProvider.isTerraformElement(java.lang.Object x)
- Type: java.lang.Object
import com.hashicorp.cdktf.providers.kubernetes.provider.KubernetesProvider;
KubernetesProvider.isTerraformProvider(java.lang.Object x)
- Type: java.lang.Object
import com.hashicorp.cdktf.providers.kubernetes.provider.KubernetesProvider;
KubernetesProvider.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),KubernetesProvider.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider)
Generates CDKTF code for importing a KubernetesProvider resource upon running "cdktf plan ".
- Type: software.constructs.Construct
The scope in which to define this construct.
- Type: java.lang.String
The construct id used in the generated config for the KubernetesProvider to import.
- Type: java.lang.String
The id of the existing KubernetesProvider that should be imported.
Refer to the {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#import import section} in the documentation of this resource for the id to use
- Type: com.hashicorp.cdktf.TerraformProvider
? Optional instance of the provider where the KubernetesProvider to import is found.
Name | Type | Description |
---|---|---|
node |
software.constructs.Node |
The tree node. |
cdktfStack |
com.hashicorp.cdktf.TerraformStack |
No description. |
fqn |
java.lang.String |
No description. |
friendlyUniqueId |
java.lang.String |
No description. |
metaAttributes |
java.util.Map<java.lang.String, java.lang.Object> |
No description. |
terraformResourceType |
java.lang.String |
No description. |
terraformGeneratorMetadata |
com.hashicorp.cdktf.TerraformProviderGeneratorMetadata |
No description. |
terraformProviderSource |
java.lang.String |
No description. |
alias |
java.lang.String |
No description. |
aliasInput |
java.lang.String |
No description. |
clientCertificateInput |
java.lang.String |
No description. |
clientKeyInput |
java.lang.String |
No description. |
clusterCaCertificateInput |
java.lang.String |
No description. |
configContextAuthInfoInput |
java.lang.String |
No description. |
configContextClusterInput |
java.lang.String |
No description. |
configContextInput |
java.lang.String |
No description. |
configPathInput |
java.lang.String |
No description. |
configPathsInput |
java.util.List<java.lang.String> |
No description. |
execInput |
com.hashicorp.cdktf.IResolvable OR java.util.List<KubernetesProviderExec> |
No description. |
experimentsInput |
com.hashicorp.cdktf.IResolvable OR java.util.List<KubernetesProviderExperiments> |
No description. |
hostInput |
java.lang.String |
No description. |
ignoreAnnotationsInput |
java.util.List<java.lang.String> |
No description. |
ignoreLabelsInput |
java.util.List<java.lang.String> |
No description. |
insecureInput |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
passwordInput |
java.lang.String |
No description. |
proxyUrlInput |
java.lang.String |
No description. |
tlsServerNameInput |
java.lang.String |
No description. |
tokenInput |
java.lang.String |
No description. |
usernameInput |
java.lang.String |
No description. |
clientCertificate |
java.lang.String |
No description. |
clientKey |
java.lang.String |
No description. |
clusterCaCertificate |
java.lang.String |
No description. |
configContext |
java.lang.String |
No description. |
configContextAuthInfo |
java.lang.String |
No description. |
configContextCluster |
java.lang.String |
No description. |
configPath |
java.lang.String |
No description. |
configPaths |
java.util.List<java.lang.String> |
No description. |
exec |
com.hashicorp.cdktf.IResolvable OR java.util.List<KubernetesProviderExec> |
No description. |
experiments |
com.hashicorp.cdktf.IResolvable OR java.util.List<KubernetesProviderExperiments> |
No description. |
host |
java.lang.String |
No description. |
ignoreAnnotations |
java.util.List<java.lang.String> |
No description. |
ignoreLabels |
java.util.List<java.lang.String> |
No description. |
insecure |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
password |
java.lang.String |
No description. |
proxyUrl |
java.lang.String |
No description. |
tlsServerName |
java.lang.String |
No description. |
token |
java.lang.String |
No description. |
username |
java.lang.String |
No description. |
public Node getNode();
- Type: software.constructs.Node
The tree node.
public TerraformStack getCdktfStack();
- Type: com.hashicorp.cdktf.TerraformStack
public java.lang.String getFqn();
- Type: java.lang.String
public java.lang.String getFriendlyUniqueId();
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.Object> getMetaAttributes();
- Type: java.util.Map<java.lang.String, java.lang.Object>
public java.lang.String getTerraformResourceType();
- Type: java.lang.String
public TerraformProviderGeneratorMetadata getTerraformGeneratorMetadata();
- Type: com.hashicorp.cdktf.TerraformProviderGeneratorMetadata
public java.lang.String getTerraformProviderSource();
- Type: java.lang.String
public java.lang.String getAlias();
- Type: java.lang.String
public java.lang.String getAliasInput();
- Type: java.lang.String
public java.lang.String getClientCertificateInput();
- Type: java.lang.String
public java.lang.String getClientKeyInput();
- Type: java.lang.String
public java.lang.String getClusterCaCertificateInput();
- Type: java.lang.String
public java.lang.String getConfigContextAuthInfoInput();
- Type: java.lang.String
public java.lang.String getConfigContextClusterInput();
- Type: java.lang.String
public java.lang.String getConfigContextInput();
- Type: java.lang.String
public java.lang.String getConfigPathInput();
- Type: java.lang.String
public java.util.List<java.lang.String> getConfigPathsInput();
- Type: java.util.List<java.lang.String>
public java.lang.Object getExecInput();
- Type: com.hashicorp.cdktf.IResolvable OR java.util.List<KubernetesProviderExec>
public java.lang.Object getExperimentsInput();
- Type: com.hashicorp.cdktf.IResolvable OR java.util.List<KubernetesProviderExperiments>
public java.lang.String getHostInput();
- Type: java.lang.String
public java.util.List<java.lang.String> getIgnoreAnnotationsInput();
- Type: java.util.List<java.lang.String>
public java.util.List<java.lang.String> getIgnoreLabelsInput();
- Type: java.util.List<java.lang.String>
public java.lang.Object getInsecureInput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.String getPasswordInput();
- Type: java.lang.String
public java.lang.String getProxyUrlInput();
- Type: java.lang.String
public java.lang.String getTlsServerNameInput();
- Type: java.lang.String
public java.lang.String getTokenInput();
- Type: java.lang.String
public java.lang.String getUsernameInput();
- Type: java.lang.String
public java.lang.String getClientCertificate();
- Type: java.lang.String
public java.lang.String getClientKey();
- Type: java.lang.String
public java.lang.String getClusterCaCertificate();
- Type: java.lang.String
public java.lang.String getConfigContext();
- Type: java.lang.String
public java.lang.String getConfigContextAuthInfo();
- Type: java.lang.String
public java.lang.String getConfigContextCluster();
- Type: java.lang.String
public java.lang.String getConfigPath();
- Type: java.lang.String
public java.util.List<java.lang.String> getConfigPaths();
- Type: java.util.List<java.lang.String>
public java.lang.Object getExec();
- Type: com.hashicorp.cdktf.IResolvable OR java.util.List<KubernetesProviderExec>
public java.lang.Object getExperiments();
- Type: com.hashicorp.cdktf.IResolvable OR java.util.List<KubernetesProviderExperiments>
public java.lang.String getHost();
- Type: java.lang.String
public java.util.List<java.lang.String> getIgnoreAnnotations();
- Type: java.util.List<java.lang.String>
public java.util.List<java.lang.String> getIgnoreLabels();
- Type: java.util.List<java.lang.String>
public java.lang.Object getInsecure();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.String getPassword();
- Type: java.lang.String
public java.lang.String getProxyUrl();
- Type: java.lang.String
public java.lang.String getTlsServerName();
- Type: java.lang.String
public java.lang.String getToken();
- Type: java.lang.String
public java.lang.String getUsername();
- Type: java.lang.String
Name | Type | Description |
---|---|---|
tfResourceType |
java.lang.String |
No description. |
public java.lang.String getTfResourceType();
- Type: java.lang.String
import com.hashicorp.cdktf.providers.kubernetes.provider.KubernetesProviderConfig;
KubernetesProviderConfig.builder()
// .alias(java.lang.String)
// .clientCertificate(java.lang.String)
// .clientKey(java.lang.String)
// .clusterCaCertificate(java.lang.String)
// .configContext(java.lang.String)
// .configContextAuthInfo(java.lang.String)
// .configContextCluster(java.lang.String)
// .configPath(java.lang.String)
// .configPaths(java.util.List<java.lang.String>)
// .exec(IResolvable)
// .exec(java.util.List<KubernetesProviderExec>)
// .experiments(IResolvable)
// .experiments(java.util.List<KubernetesProviderExperiments>)
// .host(java.lang.String)
// .ignoreAnnotations(java.util.List<java.lang.String>)
// .ignoreLabels(java.util.List<java.lang.String>)
// .insecure(java.lang.Boolean)
// .insecure(IResolvable)
// .password(java.lang.String)
// .proxyUrl(java.lang.String)
// .tlsServerName(java.lang.String)
// .token(java.lang.String)
// .username(java.lang.String)
.build();
Name | Type | Description |
---|---|---|
alias |
java.lang.String |
Alias name. |
clientCertificate |
java.lang.String |
PEM-encoded client certificate for TLS authentication. |
clientKey |
java.lang.String |
PEM-encoded client certificate key for TLS authentication. |
clusterCaCertificate |
java.lang.String |
PEM-encoded root certificates bundle for TLS authentication. |
configContext |
java.lang.String |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#config_context KubernetesProvider#config_context}. |
configContextAuthInfo |
java.lang.String |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#config_context_auth_info KubernetesProvider#config_context_auth_info}. |
configContextCluster |
java.lang.String |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#config_context_cluster KubernetesProvider#config_context_cluster}. |
configPath |
java.lang.String |
Path to the kube config file. Can be set with KUBE_CONFIG_PATH. |
configPaths |
java.util.List<java.lang.String> |
A list of paths to kube config files. Can be set with KUBE_CONFIG_PATHS environment variable. |
exec |
com.hashicorp.cdktf.IResolvable OR java.util.List<KubernetesProviderExec> |
exec block. |
experiments |
com.hashicorp.cdktf.IResolvable OR java.util.List<KubernetesProviderExperiments> |
experiments block. |
host |
java.lang.String |
The hostname (in form of URI) of Kubernetes master. |
ignoreAnnotations |
java.util.List<java.lang.String> |
List of Kubernetes metadata annotations to ignore across all resources handled by this provider for situations where external systems are managing certain resource annotations. |
ignoreLabels |
java.util.List<java.lang.String> |
List of Kubernetes metadata labels to ignore across all resources handled by this provider for situations where external systems are managing certain resource labels. |
insecure |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Whether server should be accessed without verifying the TLS certificate. |
password |
java.lang.String |
The password to use for HTTP basic authentication when accessing the Kubernetes master endpoint. |
proxyUrl |
java.lang.String |
URL to the proxy to be used for all API requests. |
tlsServerName |
java.lang.String |
Server name passed to the server for SNI and is used in the client to check server certificates against. |
token |
java.lang.String |
Token to authenticate an service account. |
username |
java.lang.String |
The username to use for HTTP basic authentication when accessing the Kubernetes master endpoint. |
public java.lang.String getAlias();
- Type: java.lang.String
Alias name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#alias KubernetesProvider#alias}
public java.lang.String getClientCertificate();
- Type: java.lang.String
PEM-encoded client certificate for TLS authentication.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#client_certificate KubernetesProvider#client_certificate}
public java.lang.String getClientKey();
- Type: java.lang.String
PEM-encoded client certificate key for TLS authentication.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#client_key KubernetesProvider#client_key}
public java.lang.String getClusterCaCertificate();
- Type: java.lang.String
PEM-encoded root certificates bundle for TLS authentication.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#cluster_ca_certificate KubernetesProvider#cluster_ca_certificate}
public java.lang.String getConfigContext();
- Type: java.lang.String
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#config_context KubernetesProvider#config_context}.
public java.lang.String getConfigContextAuthInfo();
- Type: java.lang.String
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#config_context_auth_info KubernetesProvider#config_context_auth_info}.
public java.lang.String getConfigContextCluster();
- Type: java.lang.String
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#config_context_cluster KubernetesProvider#config_context_cluster}.
public java.lang.String getConfigPath();
- Type: java.lang.String
Path to the kube config file. Can be set with KUBE_CONFIG_PATH.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#config_path KubernetesProvider#config_path}
public java.util.List<java.lang.String> getConfigPaths();
- Type: java.util.List<java.lang.String>
A list of paths to kube config files. Can be set with KUBE_CONFIG_PATHS environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#config_paths KubernetesProvider#config_paths}
public java.lang.Object getExec();
- Type: com.hashicorp.cdktf.IResolvable OR java.util.List<KubernetesProviderExec>
exec block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#exec KubernetesProvider#exec}
public java.lang.Object getExperiments();
- Type: com.hashicorp.cdktf.IResolvable OR java.util.List<KubernetesProviderExperiments>
experiments block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#experiments KubernetesProvider#experiments}
public java.lang.String getHost();
- Type: java.lang.String
The hostname (in form of URI) of Kubernetes master.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#host KubernetesProvider#host}
public java.util.List<java.lang.String> getIgnoreAnnotations();
- Type: java.util.List<java.lang.String>
List of Kubernetes metadata annotations to ignore across all resources handled by this provider for situations where external systems are managing certain resource annotations.
Each item is a regular expression.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#ignore_annotations KubernetesProvider#ignore_annotations}
public java.util.List<java.lang.String> getIgnoreLabels();
- Type: java.util.List<java.lang.String>
List of Kubernetes metadata labels to ignore across all resources handled by this provider for situations where external systems are managing certain resource labels.
Each item is a regular expression.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#ignore_labels KubernetesProvider#ignore_labels}
public java.lang.Object getInsecure();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
Whether server should be accessed without verifying the TLS certificate.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#insecure KubernetesProvider#insecure}
public java.lang.String getPassword();
- Type: java.lang.String
The password to use for HTTP basic authentication when accessing the Kubernetes master endpoint.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#password KubernetesProvider#password}
public java.lang.String getProxyUrl();
- Type: java.lang.String
URL to the proxy to be used for all API requests.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#proxy_url KubernetesProvider#proxy_url}
public java.lang.String getTlsServerName();
- Type: java.lang.String
Server name passed to the server for SNI and is used in the client to check server certificates against.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#tls_server_name KubernetesProvider#tls_server_name}
public java.lang.String getToken();
- Type: java.lang.String
Token to authenticate an service account.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#token KubernetesProvider#token}
public java.lang.String getUsername();
- Type: java.lang.String
The username to use for HTTP basic authentication when accessing the Kubernetes master endpoint.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#username KubernetesProvider#username}
import com.hashicorp.cdktf.providers.kubernetes.provider.KubernetesProviderExec;
KubernetesProviderExec.builder()
.apiVersion(java.lang.String)
.command(java.lang.String)
// .args(java.util.List<java.lang.String>)
// .env(java.util.Map<java.lang.String, java.lang.String>)
.build();
Name | Type | Description |
---|---|---|
apiVersion |
java.lang.String |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#api_version KubernetesProvider#api_version}. |
command |
java.lang.String |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#command KubernetesProvider#command}. |
args |
java.util.List<java.lang.String> |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#args KubernetesProvider#args}. |
env |
java.util.Map<java.lang.String, java.lang.String> |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#env KubernetesProvider#env}. |
public java.lang.String getApiVersion();
- Type: java.lang.String
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#api_version KubernetesProvider#api_version}.
public java.lang.String getCommand();
- Type: java.lang.String
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#command KubernetesProvider#command}.
public java.util.List<java.lang.String> getArgs();
- Type: java.util.List<java.lang.String>
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#args KubernetesProvider#args}.
public java.util.Map<java.lang.String, java.lang.String> getEnv();
- Type: java.util.Map<java.lang.String, java.lang.String>
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#env KubernetesProvider#env}.
import com.hashicorp.cdktf.providers.kubernetes.provider.KubernetesProviderExperiments;
KubernetesProviderExperiments.builder()
// .manifestResource(java.lang.Boolean)
// .manifestResource(IResolvable)
.build();
Name | Type | Description |
---|---|---|
manifestResource |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Enable the kubernetes_manifest resource. |
public java.lang.Object getManifestResource();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
Enable the kubernetes_manifest
resource.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.35.1/docs#manifest_resource KubernetesProvider#manifest_resource}