Open tdq132 opened 10 months ago
According to the doc, have you tried this in the latest AWS CDK release?
service: 'ssm',
action: 'sendCommand',
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
Yes, sendCommand
works, but this does not explain why it has changed from sendCommand
, to sendCommandCommand
, and now back to sendCommand
.
Describe the bug
When adding in a custom resource that calls SSM
SendCommandCommand
, somewhere, this is being translated toSendCommandCommandCommand
(i.e. an extraCommand
is being appended to the SDK call).In my
cdk.out
, I can see the custom resource withsendCommandCommand
, as intended.On CloudFormation deploy, the custom resource fails to deploy with error:
Received response status [FAILED] from custom resource. Message returned: Unable to find command named: SendCommandCommandCommand for action: SendCommandCommand in service package @aws-sdk/client-ssm
Expected Behavior
I expect the custom resource to call SSM
SendCommandCommand
, which is the correct SDK call.Current Behavior
Custom resource calling SSM
SendCommandCommand
is being rewritten toSendCommandCommandCommand
which is nonexiestent in the AWS SDK JS v3 library.Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.103.1 (build 3bb19ac)
Framework Version
No response
Node.js Version
v20.6.1
OS
Ubuntu 23.04
Language
Python
Language Version
Python 3.11.4
Other information
No response