1 cask "session-manager-plugin" do
5 sha256 arm: "77d6c6d256f162c6af7bd9669aeaba576e6ba50ddef681a19ad229f7977e2936",
6 intel: "0c3f669b0a9524755499a6a564a6fa4d27c6a2fad6ff9806af35e5ed04178ca4"
8 url "https://session-manager-downloads.s3.amazonaws.com/plugin/#{version}/mac#{arch}/session-manager-plugin.pkg",
9 verified: "session-manager-downloads.s3.amazonaws.com/plugin/"
10 name "Session Manager Plugin for the AWS CLI"
11 desc "Plugin for AWS CLI to start and end sessions that connect to managed instances"
12 homepage "https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html"
15 url "https://docs.aws.amazon.com/systems-manager/latest/userguide/plugin-version-history.html"
16 regex(%r{<td tabindex="-1">(\d+(?:\.\d+)+)</td>}i)
19 pkg "session-manager-plugin.pkg"
20 binary "/usr/local/sessionmanagerplugin/bin/session-manager-plugin"
22 uninstall pkgutil: "session-manager-plugin"
24 zap trash: "/Library/LaunchDaemons/SessionManagerPlugin.plist"