CfnParameter is not inheriting CfnRefElement Java #4453
Labels
@aws-cdk/core
Related to core CDK functionality
guidance
Question that needs advice or information.
language/java
Related to Java bindings
The Question
The documentation of the java class
software.amazon.awscdk.core.CfnRefElement
saying that '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.'But
CfnParameter
(core) class is not inheritingCfnRefElement
it inheritsCfnElement
class which doesn't have the.ref
attribute and cannot be referenced to other classes. (unlikeCfnResource
,CfnMapping
and others).Is it a bug? Or is there a way to get the
ref
attribute from Cloudformation's Parameters attribute?Environment
The text was updated successfully, but these errors were encountered: