Class Reference

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Intrinsic
software.amazon.awscdk.Reference
All Implemented Interfaces:
IResolvable, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:01.635Z") @Stability(Stable) public abstract class Reference extends Intrinsic
An intrinsic Token that represents a reference to a construct.

References are recorded.

  • Constructor Details

    • Reference

      protected Reference(software.amazon.jsii.JsiiObjectRef objRef)
    • Reference

      protected Reference(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Reference

      @Stability(Stable) protected Reference(@NotNull Object value, @NotNull software.constructs.IConstruct target, @Nullable String displayName, @Nullable ResolutionTypeHint typeHint)
      Parameters:
      value - This parameter is required.
      target - This parameter is required.
      displayName -
      typeHint - Type that the Intrinsic is expected to evaluate to.
    • Reference

      @Stability(Stable) protected Reference(@NotNull Object value, @NotNull software.constructs.IConstruct target, @Nullable String displayName)
      Parameters:
      value - This parameter is required.
      target - This parameter is required.
      displayName -
    • Reference

      @Stability(Stable) protected Reference(@NotNull Object value, @NotNull software.constructs.IConstruct target)
      Parameters:
      value - This parameter is required.
      target - This parameter is required.
  • Method Details

    • isReference

      @Stability(Stable) @NotNull public static Boolean isReference(@NotNull Object x)
      Check whether this is actually a Reference.

      Parameters:
      x - This parameter is required.
    • getDisplayName

      @Stability(Stable) @NotNull public String getDisplayName()
    • getTarget

      @Stability(Stable) @NotNull public software.constructs.IConstruct getTarget()