Package org.cdk8s.plus25.k8s
Class KubeEvent
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.ApiObject
-
- org.cdk8s.plus25.k8s.KubeEvent
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.632Z") @Stability(Stable) public class KubeEvent extends org.cdk8s.ApiObject
Event is a report of an event somewhere in the cluster.It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKubeEvent.BuilderA fluent builder forKubeEvent.
-
Field Summary
Fields Modifier and Type Field Description static org.cdk8s.GroupVersionKindGVKReturns the apiVersion and kind for "io.k8s.api.events.v1.Event".
-
Constructor Summary
Constructors Modifier Constructor Description protectedKubeEvent(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedKubeEvent(software.amazon.jsii.JsiiObjectRef objRef)KubeEvent(software.constructs.Construct scope, String id, KubeEventProps props)Defines a "io.k8s.api.events.v1.Event" API object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Objectmanifest(KubeEventProps props)Renders a Kubernetes manifest for "io.k8s.api.events.v1.Event".ObjecttoJson()Renders the object to Kubernetes JSON.-
Methods inherited from class org.cdk8s.ApiObject
addDependency, addJsonPatch, getApiGroup, getApiVersion, getChart, getKind, getMetadata, getName, isApiObject, of
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
KubeEvent
protected KubeEvent(software.amazon.jsii.JsiiObjectRef objRef)
-
KubeEvent
protected KubeEvent(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
KubeEvent
@Stability(Stable) public KubeEvent(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull KubeEventProps props)Defines a "io.k8s.api.events.v1.Event" 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. This parameter is required.
-
-
Method Detail
-
manifest
@Stability(Stable) @NotNull public static Object manifest(@NotNull KubeEventProps props)
Renders a Kubernetes manifest for "io.k8s.api.events.v1.Event".This can be used to inline resource manifests inside other objects (e.g. as templates).
- Parameters:
props- initialization props. This parameter is required.
-
toJson
@Stability(Stable) @NotNull public Object toJson()
Renders the object to Kubernetes JSON.- Overrides:
toJsonin classorg.cdk8s.ApiObject
-
-