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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Reference(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Reference(Object, IConstruct, String, Nullable<ResolutionTypeHint>) |
Properties
DisplayName | |
Target |
Methods
IsReference(Object) | Check whether this is actually a Reference. |
Constructors
Reference(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Reference(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Reference(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Reference(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Reference(Object, IConstruct, String, Nullable<ResolutionTypeHint>)
protected Reference(object value, IConstruct target, string displayName = null, Nullable<ResolutionTypeHint> typeHint = null)
Parameters
- value System.Object
- target Constructs.IConstruct
- displayName System.String
- typeHint System.Nullable<ResolutionTypeHint>
Type that the Intrinsic is expected to evaluate to.
Properties
DisplayName
public virtual string DisplayName { get; }
Property Value
System.String
Target
public virtual IConstruct Target { get; }
Property Value
Constructs.IConstruct
Methods
IsReference(Object)
Check whether this is actually a Reference.
public static bool IsReference(object x)
Parameters
- x System.Object
Returns
System.Boolean