Package software.amazon.awscdk
Class JsonNull
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.JsonNull
- All Implemented Interfaces:
IResolvable,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:43.893Z")
@Stability(Stable)
public class JsonNull
extends software.amazon.jsii.JsiiObject
implements IResolvable
An object which serializes to the JSON
null literal, and which can safely be passed across languages where undefined and null are not different.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; JsonNull jsonNull = JsonNull.INSTANCE;
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.IResolvable
IResolvable.Jsii$Default, IResolvable.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe creation stack of this resolvable which will be appended to errors thrown during resolution.resolve(IResolveContext _ctx) Produce the Token's value at resolution time.toJSON()Obtains the JSON representation of this object (null).toString()Obtains the string representation of this object ('null').Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.IResolvable
getTypeHintMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
INSTANCE
The canonical instance ofJsonNull.
-
-
Constructor Details
-
JsonNull
protected JsonNull(software.amazon.jsii.JsiiObjectRef objRef) -
JsonNull
protected JsonNull(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
resolve
Produce the Token's value at resolution time.- Specified by:
resolvein interfaceIResolvable- Parameters:
_ctx- This parameter is required.
-
toJSON
Obtains the JSON representation of this object (null). -
toString
Obtains the string representation of this object ('null').- Specified by:
toStringin interfaceIResolvable- Overrides:
toStringin classObject
-
getCreationStack
The creation stack of this resolvable which will be appended to errors thrown during resolution.This may return an array with a single informational element indicating how to get this property populated, if it was skipped for performance reasons.
- Specified by:
getCreationStackin interfaceIResolvable
-