Package software.amazon.awscdk.core
Class CfnRefElement
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
- All Implemented Interfaces:
- IConstruct,- IDependable,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct
- Direct Known Subclasses:
- CfnMapping,- CfnResource,- CfnRule
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:29:54.901Z")
@Stability(Stable)
public abstract class CfnRefElement
extends CfnElement
Base class for referenceable CloudFormation constructs which are not Resources.
 
 These constructs are things like Conditions and Parameters, can be
 referenced by taking the .ref attribute.
 
Resource constructs do not inherit from CfnRefElement because they have their own, more specific types returned from the .ref attribute. Also, some resources aren't referenceable at all (such as BucketPolicies or GatewayAttachments).
- 
Nested Class SummaryNested classes/interfaces inherited from class software.constructs.Constructsoftware.constructs.Construct.BuilderNested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstructIConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$Default
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCfnRefElement(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnRefElement(software.amazon.jsii.JsiiObjectRef objRef) protectedCfnRefElement(software.constructs.Construct scope, String id) Creates an entity and binds it to a tree.
- 
Method SummaryMethods inherited from class software.amazon.awscdk.core.CfnElementgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.ConstructgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.constructs.ConstructtoStringMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Constructor Details- 
CfnRefElementprotected CfnRefElement(software.amazon.jsii.JsiiObjectRef objRef) 
- 
CfnRefElementprotected CfnRefElement(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
CfnRefElement@Stability(Stable) protected CfnRefElement(@NotNull software.constructs.Construct scope, @NotNull String id) Creates an entity and binds it to a tree.Note that the root of the tree must be a Stack object (not just any Root). - Parameters:
- scope- The parent construct. This parameter is required.
- id- This parameter is required.
 
 
- 
- 
Method Details- 
getRefReturn a string that will be resolved to a CloudFormation{ Ref }for this element.If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through Lazy.any({ produce: resource.ref }).
 
-