@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-25T18:28:55.978Z") public abstract class CfnRefElement extends CfnElement
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).
IConstruct.Jsii$Default
Modifier | Constructor and Description |
---|---|
protected |
CfnRefElement(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnRefElement(software.amazon.jsii.JsiiObjectRef objRef) |
protected |
CfnRefElement(software.constructs.Construct scope,
java.lang.String id)
Creates an entity and binds it to a tree.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRef()
Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
|
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
protected CfnRefElement(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnRefElement(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected CfnRefElement(software.constructs.Construct scope, java.lang.String id)
Note that the root of the tree must be a Stack object (not just any Root).
scope
- The parent construct. This parameter is required.id
- This parameter is required.