Class Reference
An intrinsic Token that represents a reference to a construct.
Implements
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class Reference : Intrinsic, IResolvable
Syntax (vb)
Public MustInherit Class Reference Inherits Intrinsic Implements IResolvable
Remarks
References are recorded.
Synopsis
Constructors
| Reference(object, IConstruct, string?, ResolutionTypeHint?) | An intrinsic Token that represents a reference to a construct. |
Properties
| DisplayName | An intrinsic Token that represents a reference to a construct. |
| Target | An intrinsic Token that represents a reference to a construct. |
Methods
| IsReference(object) | Check whether this is actually a Reference. |
Constructors
Reference(object, IConstruct, string?, ResolutionTypeHint?)
An intrinsic Token that represents a reference to a construct.
protected Reference(object value, IConstruct target, string? displayName = null, ResolutionTypeHint? typeHint = null)
Parameters
- value object
- target IConstruct
- displayName string
- typeHint ResolutionTypeHint?
Type that the Intrinsic is expected to evaluate to.
Remarks
References are recorded.
Properties
DisplayName
An intrinsic Token that represents a reference to a construct.
public virtual string DisplayName { get; }
Property Value
Remarks
References are recorded.
Target
An intrinsic Token that represents a reference to a construct.
public virtual IConstruct Target { get; }
Property Value
IConstruct
Remarks
References are recorded.
Methods
IsReference(object)
Check whether this is actually a Reference.
public static bool IsReference(object x)
Parameters
- x object
Returns
Remarks
References are recorded.