aws_amazonmq: SecretValue is an IResovable, but it is rejected as an element of the users array #27775
Labels
@aws-cdk/aws-amazonmq
Related to Amazon MQ service
@aws-cdk/aws-secretsmanager
Related to AWS Secrets Manager
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
effort/medium
Medium work item – several days of effort
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
in
aws_amazonmq
, constructcfnBroker
, theusers
property is supposed to accept an array ofIResovable
, however, it does not accept in the Array aSecretValue
, which implements theIResolvable
interface.Expected Behavior
putting a
Secret
value in the array ofusers
should resolve later on.Current Behavior
CDK throws a resolution error like this
Reproduction Steps
instantiate a new CfnBroker passing a secret value to the
users
array. e.g.Possible Solution
No response
Additional Information/Context
Using Typescript CDK 2.103.1 and also tried with older versions. As well of other versions of node.
CDK CLI Version
2.103.1
Framework Version
No response
Node.js Version
21.1.0
OS
MacOS
Language
TypeScript
Language Version
5.0.4
Other information
No response
The text was updated successfully, but these errors were encountered: