Skip to content

Instantly share code, notes, and snippets.

View itamararjuan's full-sized avatar

Itamar Arjuan itamararjuan

View GitHub Profile
@itamararjuan
itamararjuan / gist:47859be2e52493e8f31b7032766df2b3
Created November 6, 2022 14:35
How to use SSM to send and receive command output using aws-sdk SSM client v3
import {
SSMClient,
SendCommandCommand,
GetCommandInvocationCommand,
} from "@aws-sdk/client-ssm";
// a client can be shared by different commands.
const client = new SSMClient({ region: "us-east-2" });
(async function () {

Keybase proof

I hereby claim:

  • I am itamararjuan on github.
  • I am itamarjuan (https://keybase.io/itamarjuan) on keybase.
  • I have a public key ASB3pMbDVk9BUooOtPuRStlPSuVYNpLOYpDAGNa4qJ6fZQo

To claim this, I am signing this object: