@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:20.617Z") public class Intrinsic extends software.amazon.jsii.JsiiObject implements IResolvable
WARNING: this class should not be externally exposed, but is currently visible because of a limitation of jsii (https://github.com/aws/jsii/issues/524).
This class will disappear in a future release and should not be used.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.core.*; Object value; Intrinsic intrinsic = Intrinsic.Builder.create(value) .stackTrace(false) .build();
Modifier and Type | Class and Description |
---|---|
static class |
Intrinsic.Builder
A fluent builder for
Intrinsic . |
IResolvable.Jsii$Default, IResolvable.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
|
Intrinsic(java.lang.Object value,
IntrinsicProps options) |
protected |
Intrinsic(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Intrinsic(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getCreationStack()
The captured stack trace which represents the location in which this token was created.
|
protected java.lang.Object |
newError(java.lang.String message)
Creates a throwable Error object that contains the token creation stack trace.
|
java.lang.Object |
resolve(IResolveContext _context)
Produce the Token's value at resolution time.
|
java.lang.Object |
toJSON()
Turn this Token into JSON.
|
java.lang.String |
toString()
Convert an instance of this Token to a string.
|
protected Intrinsic(software.amazon.jsii.JsiiObjectRef objRef)
protected Intrinsic(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public Intrinsic(java.lang.Object value, IntrinsicProps options)
value
- This parameter is required.options
- protected java.lang.Object newError(java.lang.String message)
message
- Error message. This parameter is required.public java.lang.Object resolve(IResolveContext _context)
resolve
in interface IResolvable
_context
- This parameter is required.public java.lang.Object toJSON()
Called automatically when JSON.stringify() is called on a Token.
public java.lang.String toString()
This method will be called implicitly by language runtimes if the object is embedded into a string. We treat it the same as an explicit stringification.
toString
in interface IResolvable
public java.util.List<java.lang.String> getCreationStack()
getCreationStack
in interface IResolvable