JsonNull

class aws_cdk.JsonNull(*args: Any, **kwargs)

Bases: object

An object which serializes to the JSON null literal, and which can safely be passed across languages where undefined and null are not different.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk

json_null = cdk.JsonNull.INSTANCE

Methods

resolve(_ctx)

Produce the Token’s value at resolution time.

Parameters:

_ctx (IResolveContext) –

Return type:

Any

to_json()

Obtains the JSON representation of this object (null).

Return type:

Any

to_string()

Obtains the string representation of this object ('null').

Return type:

str

Attributes

INSTANCE = <aws_cdk.JsonNull object>
creation_stack

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.