Package software.amazon.awscdk.core
Class Intrinsic
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.core.Intrinsic
- All Implemented Interfaces:
IResolvable,software.amazon.jsii.JsiiSerializable
- Direct Known Subclasses:
CfnDynamicReference,Reference,SecretValue
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.082Z")
@Stability(Stable)
public class Intrinsic
extends software.amazon.jsii.JsiiObject
implements IResolvable
Token subclass that represents values intrinsic to the target document language.
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();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IResolvable
IResolvable.Jsii$Default, IResolvable.Jsii$Proxy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe captured stack trace which represents the location in which this token was created.protected ObjectCreates a throwable Error object that contains the token creation stack trace.resolve(IResolveContext _context) Produce the Token's value at resolution time.toJSON()Turn this Token into JSON.toString()Convert an instance of this Token to a string.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.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Intrinsic
protected Intrinsic(software.amazon.jsii.JsiiObjectRef objRef) -
Intrinsic
protected Intrinsic(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Intrinsic
- Parameters:
value- This parameter is required.options-
-
Intrinsic
- Parameters:
value- This parameter is required.
-
-
Method Details
-
newError
Creates a throwable Error object that contains the token creation stack trace.- Parameters:
message- Error message. This parameter is required.
-
resolve
Produce the Token's value at resolution time.- Specified by:
resolvein interfaceIResolvable- Parameters:
_context- This parameter is required.
-
toJSON
Turn this Token into JSON.Called automatically when JSON.stringify() is called on a Token.
-
toString
Convert an instance of this Token to a string.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.
- Specified by:
toStringin interfaceIResolvable- Overrides:
toStringin classObject
-
getCreationStack
The captured stack trace which represents the location in which this token was created.- Specified by:
getCreationStackin interfaceIResolvable
-