{"repo":"cdklabs/cdk-app-cli","free":true,"listed":false,"github":"https://github.com/cdklabs/cdk-app-cli","clone":"git clone https://github.com/cdklabs/cdk-app-cli.git","description":"The operator CLI for CDK apps.","language":"TypeScript","stars":55,"topics":["aws-cdk","cli","ops"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"cdk-app The operator CLI for CDK apps. Experimental. cdk-app lets you associate commands with CDK constructs so that you can quickly invoke functions, redrive queues, visit resources in the AWS console, and more by just referencing the construct name. Examples: cdk-app MyLambda tail-logs - stream logs in real time from the Lambda's log group cdk-app TransactionTable visit-console - open the AWS console page for your table cdk-app OrderQueue redrive-queue - retry messages that failed to get processed 🚀 Getting Started Create a CDK app with a Lambda function, and deploy it to your AWS account. Next, npm install -g cdk-app-cli and view the available commands: Run a command to instantly access the construct in the AWS console: Or run a command to get information in your command line: Any extra arguments you pass will get automatically passed through to the underlying command. You can add your own commands by defining a JSON or YAML file in your CDK app named construct-commmands . For example, here we define some commands that use the awslogs CLI: Now these commands will be available to use: Try using cdk-app in scripts as well! 📖 Documentation Command line options construct-commands.json Command types Type Description ----------- ----------- open Specify a URL or file to open. exec Specify a command to run in your shell. Command substitutions Syntax Description ----------- ----------- ${AWS REGION} The AWS REGION of the current shell environment (e.g. us-east-1 ). ${PHYSICAL RE","default_branch":null,"files":null,"tree":[],"storefront":"/r/cdklabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cdklabs/cdk-app-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}