References a dynamically retrieved value.
This is a Construct so that subclasses will (eventually) be able to attach metadata to themselves without having to change call signatures.
new CfnDynamicReference(service: Cfn<wbr>Dynamic<wbr>Reference<wbr>Service, key: string)
Dynamic Reference Service
|creation||The captured stack trace which represents the location in which this token was created.|
The captured stack trace which represents the location in which this token was created.
|resolve(_context)||Produce the Token's value at resolution time.|
|to||Turn this Token into JSON.|
|to||Convert an instance of this Token to a string.|
public resolve(_context: IResolve<wbr>Context): any
Produce the Token's value at resolution time.
public toJSON(): any
Turn this Token into JSON.
Called automatically when JSON.stringify() is called on a Token.
public toString(): string
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.