We will be sunsetting Advisor during Jan, 2026 and will instead be providing information in Snyk Security DB.

You can begin to take advantage of Snyk Security DB today for a unified, package-centric experience.

How to use the @aws-cdk/region-info.RegionInfo.regions function in @aws-cdk/region-info

To help you get started, we’ve selected a few @aws-cdk/region-info 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 / api / cxapp / stacks.ts View on Github external
function _makeCdkMetadataAvailableCondition() {
  return _fnOr(RegionInfo.regions
    .filter(ri => ri.cdkMetadataResourceAvailable)
    .map(ri => ({ 'Fn::Equals': [{ Ref: 'AWS::Region' }, ri.name] })));
}

@aws-cdk/region-info

AWS region information, such as service principal names

Apache-2.0
Latest version published 1 day ago

Package Health Score

89 / 100
Full package analysis