Skip to content

How so send arguments to SSM? #3984

Discussion options

You must be logged in to vote

Hi @ChristopherPHolder, thanks for opening this discussion. According with the documentation, the parameter of the request that is used to send the parameters defined in the document to be ran is "Parameters?: Record<string, string[]>". Basically, SDK does not know the name of the parameters that are defined in the documents, and therefore you need to specify them when building the request/command. For example, lets say your document definition looks as below:

{
  "schemaVersion": "2.2",
  "description": "Testing parameters",
  "parameters": {
    "Parameter1": {
      "type": "String",
      "description": "Example",
      "default": ""
    },
    "Parameter2": {
      "type": "String",
…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ChristopherPHolder
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
2 participants