How to use the @aws-cdk/cloudformation-diff.formatTable function in @aws-cdk/cloudformation-diff

To help you get started, we’ve selected a few @aws-cdk/cloudformation-diff examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aws / aws-cdk / packages / aws-cdk / lib / util / tables.ts View on Github external
export function renderTable(cells: string[][], columns?: number) {
  // The cfnDiff module has logic for terminal-width aware table
  // formatting (and nice colors), let's just reuse that.
  return cfnDiff.formatTable(cells, columns);
}

@aws-cdk/cloudformation-diff

Utilities to diff CDK stacks against CloudFormation templates

Apache-2.0
Latest version published 5 days ago

Package Health Score

98 / 100
Full package analysis