Package org.cdk8s.plus24.k8s
Class KubeIngress
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.ApiObject
-
- org.cdk8s.plus24.k8s.KubeIngress
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-05T02:57:36.561Z") @Stability(Stable) public class KubeIngress extends org.cdk8s.ApiObject
Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend.An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KubeIngress.Builder
A fluent builder forKubeIngress
.
-
Field Summary
Fields Modifier and Type Field Description static org.cdk8s.GroupVersionKind
GVK
Returns the apiVersion and kind for "io.k8s.api.networking.v1.Ingress".
-
Constructor Summary
Constructors Modifier Constructor Description protected
KubeIngress(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected
KubeIngress(software.amazon.jsii.JsiiObjectRef objRef)
KubeIngress(software.constructs.Construct scope, String id)
Defines a "io.k8s.api.networking.v1.Ingress" API object.KubeIngress(software.constructs.Construct scope, String id, KubeIngressProps props)
Defines a "io.k8s.api.networking.v1.Ingress" API object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Object
manifest()
Renders a Kubernetes manifest for "io.k8s.api.networking.v1.Ingress".static Object
manifest(KubeIngressProps props)
Renders a Kubernetes manifest for "io.k8s.api.networking.v1.Ingress".Object
toJson()
Renders the object to Kubernetes JSON.-
Methods inherited from class org.cdk8s.ApiObject
addDependency, addJsonPatch, getApiGroup, getApiVersion, getChart, getKind, getMetadata, getName, of
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
KubeIngress
protected KubeIngress(software.amazon.jsii.JsiiObjectRef objRef)
-
KubeIngress
protected KubeIngress(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
KubeIngress
@Stability(Stable) public KubeIngress(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable KubeIngressProps props)
Defines a "io.k8s.api.networking.v1.Ingress" API object.- Parameters:
scope
- the scope in which to define this object. This parameter is required.id
- a scope-local name for the object. This parameter is required.props
- initialization props.
-
KubeIngress
@Stability(Stable) public KubeIngress(@NotNull software.constructs.Construct scope, @NotNull String id)
Defines a "io.k8s.api.networking.v1.Ingress" API object.- Parameters:
scope
- the scope in which to define this object. This parameter is required.id
- a scope-local name for the object. This parameter is required.
-
-
Method Detail
-
manifest
@Stability(Stable) @NotNull public static Object manifest(@Nullable KubeIngressProps props)
Renders a Kubernetes manifest for "io.k8s.api.networking.v1.Ingress".This can be used to inline resource manifests inside other objects (e.g. as templates).
- Parameters:
props
- initialization props.
-
manifest
@Stability(Stable) @NotNull public static Object manifest()
Renders a Kubernetes manifest for "io.k8s.api.networking.v1.Ingress".This can be used to inline resource manifests inside other objects (e.g. as templates).
-
toJson
@Stability(Stable) @NotNull public Object toJson()
Renders the object to Kubernetes JSON.- Overrides:
toJson
in classorg.cdk8s.ApiObject
-
-