Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-cdk/region-info

Package Overview
Dependencies
Maintainers
5
Versions
532
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/region-info - npm Package Compare versions

Comparing version 1.39.0 to 1.40.0

6

build-tools/aws-entities.js

@@ -13,2 +13,6 @@ "use strict";

'us-west-2',
'us-gov-east-1',
'us-gov-west-1',
'us-iso-east-1',
'us-isob-east-1',
'ap-east-1',

@@ -49,2 +53,2 @@ 'ap-south-1',

].sort();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXdzLWVudGl0aWVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYXdzLWVudGl0aWVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUE7Ozs7R0FJRztBQUNVLFFBQUEsV0FBVyxHQUFHO0lBQ3pCLFdBQVc7SUFDWCxXQUFXO0lBQ1gsV0FBVztJQUNYLFdBQVc7SUFDWCxXQUFXO0lBQ1gsWUFBWTtJQUNaLGdCQUFnQjtJQUNoQixnQkFBZ0I7SUFDaEIsZ0JBQWdCO0lBQ2hCLGdCQUFnQjtJQUNoQixjQUFjO0lBQ2QsWUFBWTtJQUNaLGdCQUFnQjtJQUNoQixjQUFjO0lBQ2QsV0FBVztJQUNYLFdBQVc7SUFDWCxXQUFXO0lBQ1gsWUFBWTtJQUNaLFlBQVk7SUFDWixXQUFXO0NBQ1osQ0FBQyxJQUFJLEVBQUUsQ0FBQztBQUVUOzs7O0dBSUc7QUFDVSxRQUFBLFlBQVksR0FBRztJQUMxQix5QkFBeUI7SUFDekIsYUFBYTtJQUNiLFlBQVk7SUFDWixLQUFLO0lBQ0wsUUFBUTtJQUNSLFFBQVE7SUFDUixNQUFNO0lBQ04sSUFBSTtJQUNKLEtBQUs7SUFDTCxLQUFLO0lBQ0w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ICdlYzInLFxuICAnZXZlbnRzJyxcbiAgJ2xhbWJkYScsXG4gICdsb2dzJyxcbiAgJ3MzJyxcbiAgJ3NucycsXG4gICdzcXMnLFxuICAnc3RhdGVzJyxcbl0uc29ydCgpO1xuIl19

@@ -40,2 +40,6 @@ "use strict";

'us-west-2',
// 'us-gov-east-1',
// 'us-gov-west-1',
// 'us-iso-east-1',
// 'us-isob-east-1',
'ap-south-1',

@@ -69,2 +73,4 @@ 'ap-east-1',

'us-west-2': 'Z3BJ6K6RIION7M',
'us-gov-east-1': 'Z2NIFVYYW2VKV1',
'us-gov-west-1': 'Z31GFT0UA1I2HV',
'ap-east-1': 'ZNB98KWMFR0R6',

@@ -86,6 +92,20 @@ 'ap-south-1': 'Z11RGJOFQNVJUP',

};
const PARTITION_MAP = {
'default': { partition: 'aws', domainSuffix: 'amazonaws.com' },
'cn-': { partition: 'aws-cn', domainSuffix: 'amazonaws.com.cn' },
'us-gov-': { partition: 'aws-us-gov', domainSuffix: 'amazonaws.com' },
'us-iso-': { partition: 'aws-iso', domainSuffix: 'c2s.ic.gov' },
'us-isob-': { partition: 'aws-iso-b', domainSuffix: 'sc2s.sgov.gov' },
};
const defaultMap = 'default';
for (const region of aws_entities_1.AWS_REGIONS) {
const partition = region.startsWith('cn-') ? 'aws-cn' : 'aws';
let partition = PARTITION_MAP[defaultMap].partition;
let domainSuffix = PARTITION_MAP[defaultMap].domainSuffix;
for (const key in PARTITION_MAP) {
if (region.startsWith(key)) {
partition = PARTITION_MAP[key].partition;
domainSuffix = PARTITION_MAP[key].domainSuffix;
}
}
registerFact(region, 'PARTITION', partition);
const domainSuffix = partition === 'aws' ? 'amazonaws.com' : 'amazonaws.com.cn';
registerFact(region, 'DOMAIN_SUFFIX', domainSuffix);

@@ -97,3 +117,3 @@ registerFact(region, 'CDK_METADATA_RESOURCE_AVAILABLE', AWS_CDK_METADATA.has(region) ? 'YES' : 'NO');

registerFact(region, 'S3_STATIC_WEBSITE_ZONE_53_HOSTED_ZONE_ID', ROUTE_53_BUCKET_WEBSITE_ZONE_IDS[region] || '');
const vpcEndpointServiceNamePrefix = region.startsWith('cn-') ? 'cn.com.amazonaws.vpce' : 'com.amazonaws.vpce';
const vpcEndpointServiceNamePrefix = `${domainSuffix.split('.').reverse().join('.')}.vpce`;
registerFact(region, 'VPC_ENDPOINT_SERVICE_NAME_PREFIX', vpcEndpointServiceNamePrefix);

@@ -106,4 +126,4 @@ for (const service of aws_entities_1.AWS_SERVICES) {

lines.push('');
lines.push(' private constructor() {}'),
lines.push('}');
lines.push(' private constructor() {}');
lines.push('}');
await fs.writeFile(path.resolve(__dirname, '..', 'lib', 'built-ins.generated.ts'), lines.join('\n'));

@@ -120,2 +140,2 @@ function registerFact(region, name, value) {

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJhdGUtc3RhdGljLWRhdGEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJnZW5lcmF0ZS1zdGF0aWMtZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLCtCQUErQjtBQUMvQiw2QkFBNkI7QUFDN0IsNENBQXlDO0FBQ3pDLGlEQUEyRDtBQUUzRCxLQUFLLFVBQVUsSUFBSTtJQUNqQixNQUFNLEtBQUssR0FBRztRQUNaLDBDQUEwQztRQUMxQyxFQUFFO1FBQ0YsNkNBQTZDO1FBQzdDLG1DQUFtQztRQUNuQyxFQUFFO1FBQ0YsS0FBSztRQUNMLG9FQUFvRTtRQUNwRSxJQUFJO1FBQ0osaUJBQWlCLElBQUksSUFBSSxFQUFFLENBQUMsV0FBVyxFQUFFLEVBQUU7UUFDM0MsS0FBSztRQUNMLHlCQUF5QjtRQUN6QixPQUFPO1FBQ1AsMkVBQTJFO1FBQzNFLE9BQU87UUFDUCxvQ0FBb0M7S0FDckMsQ0FBQztJQUVGLE1BQU0saUJBQWlCLEdBQUcsSUFBSSxHQUFHLENBQUM7UUF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VdLCBEZWZhdWx0LnNlcnZpY2VQcmluY2lwYWwoc2VydmljZSwgcmVnaW9uLCBkb21haW5TdWZmaXgpKTtcbiAgICB9XG4gIH1cbiAgbGluZXMucHVzaCgnICB9Jyk7XG4gIGxpbmVzLnB1c2goJycpO1xuICBsaW5lcy5wdXNoKCcgIHByaXZhdGUgY29uc3RydWN0b3IoKSB7fScpO1xuICBsaW5lcy5wdXNoKCd9Jyk7XG5cbiAgYXdhaXQgZnMud3JpdGVGaWxlKHBhdGgucmVzb2x2ZShfX2Rpcm5hbWUsICcuLicsICdsaWInLCAnYnVpbHQtaW5zLmdlbmVyYXRlZC50cycpLCBsaW5lcy5qb2luKCdcXG4nKSk7XG5cbiAgZnVuY3Rpb24gcmVnaXN0ZXJGYWN0KHJlZ2lvbjogc3RyaW5nLCBuYW1lOiBzdHJpbmcgfCBzdHJpbmdbXSwgdmFsdWU6IHN0cmluZykge1xuICAgIGNvbnN0IGZhY3ROYW1lID0gdHlwZW9mIG5hbWUgPT09ICdzdHJpbmcnID8gbmFtZSA6IGAke25hbWVbMF19KCR7bmFtZS5zbGljZSgxKS5tYXAocyA9PiBKU09OLnN0cmluZ2lmeShzKSkuam9pbignLCAnKX0pYDtcbiAgICBsaW5lcy5wdXNoKGAgICAgRmFjdC5yZWdpc3Rlcih7IHJlZ2lvbjogJHtKU09OLnN0cmluZ2lmeShyZWdpb24pfSwgbmFtZTogRmFjdE5hbWUuJHtmYWN0TmFtZX0sIHZhbHVlOiAke0pTT04uc3RyaW5naWZ5KHZhbHVlKX0gfSk7YCk7XG4gIH1cbn1cblxubWFpbigpLmNhdGNoKGUgPT4ge1xuICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmU6IG5vLWNvbnNvbGVcbiAgY29uc29sZS5lcnJvcihlKTtcbiAgcHJvY2Vzcy5leGl0KC0xKTtcbn0pO1xuIl19

2

lib/built-ins.generated.d.ts
/**
* Built-in regional information, re-generated by `npm run build`.
*
* @generated 2020-05-15T23:06:04.051Z
* @generated 2020-05-20T12:54:17.213Z
*/

@@ -6,0 +6,0 @@ export declare class BuiltIns {

@@ -19,3 +19,3 @@ "use strict";

static servicePrincipal(service, region, urlSuffix) {
const matches = service.match(/^([^.]+)(?:\.amazonaws\.com(?:\.cn)?)?$/);
const matches = service.match(/^([^.]+)(?:(?:\.amazonaws\.com(?:\.cn)?)|(?:\.c2s\.ic\.gov)|(?:\.sc2s\.sgov\.gov))?$/);
if (!matches) {

@@ -26,5 +26,41 @@ // Return "service" if it does not look like any of the following:

// - s3.amazonaws.com.cn
// - s3.c2s.ic.gov
// - s3.sc2s.sgov.gov
return service;
}
service = matches[1]; // Simplify the service name down to something like "s3"
// Exceptions for Service Principals in us-iso-*
const US_ISO_EXCEPTIONS = new Set([
'cloudhsm',
'config',
'states',
'workspaces',
]);
// Exceptions for Service Principals in us-isob-*
const US_ISOB_EXCEPTIONS = new Set([
'dms',
'states',
]);
// Account for idiosyncratic Service Principals in `us-iso-*` regions
if (region.startsWith('us-iso-') && US_ISO_EXCEPTIONS.has(service)) {
switch (service) {
// Services with universal principal
case ('states'):
return `${service}.amazonaws.com`;
// Services with a partitional principal
default:
return `${service}.${urlSuffix}`;
}
}
// Account for idiosyncratic Service Principals in `us-isob-*` regions
if (region.startsWith('us-isob-') && US_ISOB_EXCEPTIONS.has(service)) {
switch (service) {
// Services with universal principal
case ('states'):
return `${service}.amazonaws.com`;
// Services with a partitional principal
default:
return `${service}.${urlSuffix}`;
}
}
switch (service) {

@@ -54,2 +90,2 @@ // Services with a regional AND partitional principal

Default.VPC_ENDPOINT_SERVICE_NAME_PREFIX = 'com.amazonaws.vpce';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRlZmF1bHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQTs7R0FFRztBQUNILE1BQWEsT0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4ke3VybFN1ZmZpeH1gO1xuICAgICAgfVxuICAgIH1cblxuICAgIHN3aXRjaCAoc2VydmljZSkge1xuICAgICAgLy8gU2VydmljZXMgd2l0aCBhIHJlZ2lvbmFsIEFORCBwYXJ0aXRpb25hbCBwcmluY2lwYWxcbiAgICAgIGNhc2UgJ2NvZGVkZXBsb3knOlxuICAgICAgY2FzZSAnbG9ncyc6XG4gICAgICAgIHJldHVybiBgJHtzZXJ2aWNlfS4ke3JlZ2lvbn0uJHt1cmxTdWZmaXh9YDtcblxuICAgICAgLy8gU2VydmljZXMgd2l0aCBhIHJlZ2lvbmFsIHByaW5jaXBhbFxuICAgICAgY2FzZSAnc3RhdGVzJzpcbiAgICAgICAgcmV0dXJuIGAke3NlcnZpY2V9LiR7cmVnaW9ufS5hbWF6b25hd3MuY29tYDtcblxuICAgICAgLy8gU2VydmljZXMgd2l0aCBhIHBhcnRpdGlvbmFsIHByaW5jaXBhbFxuICAgICAgY2FzZSAnZWMyJzpcbiAgICAgICAgcmV0dXJuIGAke3NlcnZpY2V9LiR7dXJsU3VmZml4fWA7XG5cbiAgICAgIC8vIFNlcnZpY2VzIHdpdGggYSB1bml2ZXJzYWwgcHJpbmNpcGFsIGFjcm9zcyBhbGwgcmVnaW9ucy9wYXJ0aXRpb25zICh0aGUgZGVmYXVsdCBjYXNlKVxuICAgICAgZGVmYXVsdDpcbiAgICAgICAgcmV0dXJuIGAke3NlcnZpY2V9LmFtYXpvbmF3cy5jb21gO1xuXG4gICAgfVxuICB9XG5cbiAgcHJpdmF0ZSBjb25zdHJ1Y3RvcigpIHsgfVxufVxuIl19
{
"name": "@aws-cdk/region-info",
"version": "1.39.0",
"version": "1.40.0",
"description": "AWS region information, such as service principal names",

@@ -57,5 +57,5 @@ "main": "lib/index.js",

"@types/fs-extra": "^8.1.0",
"cdk-build-tools": "1.39.0",
"cdk-build-tools": "1.40.0",
"fs-extra": "^8.1.0",
"pkglint": "1.39.0"
"pkglint": "1.40.0"
},

@@ -62,0 +62,0 @@ "repository": {

@@ -32,3 +32,14 @@ "use strict";

});
test('Exceptions: states in us-iso-east-1', () => {
expect(lib_1.Default.servicePrincipal('states.amazonaws.com', 'us-iso-east-1', 'c2s.ic.gov')).toBe('states.amazonaws.com');
});
test('Exceptions: states in us-isob-east-1', () => {
expect(lib_1.Default.servicePrincipal('states.amazonaws.com', 'us-isob-east-1', 'sc2s.sgov.gov')).toBe('states.amazonaws.com');
});
for (const service of ['cloudhsm', 'config', 'workspaces']) {
test(`Exceptions: ${service}.amazonaws.com is us-iso-east-1`, () => {
expect(lib_1.Default.servicePrincipal(`${service}.amazonaws.com`, 'us-iso-east-1', 'c2s.ic.gov')).toBe(`${service}.c2s.ic.gov`);
});
}
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC50ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGVmYXVsdC50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsZ0NBQWlDO0FBRWpDLE1BQU0sTUFBTSxHQUFHLHFCQUFxQixDQUFDO0FBQ3JDLE1BQU0sU0FBUyxHQUFHLGVBQWUsQ0FBQztBQUVsQyxRQUFRLENBQUMsa0JBQWtCLEVBQUUsR0FBRyxFQUFFO0lBQ2hDLEtBQUssTUFBTSxNQUFNLElBQUksQ0FBQyxFQUFFLEVBQUUsZ0JBQWdCLEVBQUUsbUJBQW1CLENBQUMsRUFBRTtRQUNoRSxLQUFLLE1BQU0sT0FBTyxJQUFJLENBQUMsUUFBUSxDQUFDLEVBQUU7WUFDaEMsSUFBSSxDQUFDLEdBQUcsT0FBTyxHQUFHLE1BQU0sRUFBRSxFQUFFLEdBQUcsRUFBRTtnQkFDL0IsTUFBTSxDQUFDLGFBQU8sQ0FBQyxnQkFBZ0IsQ0FBQyxHQUFHLE9BQU8sR0FBRyxNQUFNLEVBQUUsRUFBRSxNQUFNLEVBQUUs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ZXMuYW1hem9uYXdzLmNvbScpO1xuICB9KTtcblxuICB0ZXN0KCdFeGNlcHRpb25zOiBzdGF0ZXMgaW4gdXMtaXNvYi1lYXN0LTEnLCAoKSA9PiB7XG4gICAgZXhwZWN0KERlZmF1bHQuc2VydmljZVByaW5jaXBhbCgnc3RhdGVzLmFtYXpvbmF3cy5jb20nLCAndXMtaXNvYi1lYXN0LTEnLCAnc2Mycy5zZ292LmdvdicpKS50b0JlKCdzdGF0ZXMuYW1hem9uYXdzLmNvbScpO1xuICB9KTtcblxuICBmb3IgKGNvbnN0IHNlcnZpY2Ugb2YgWydjbG91ZGhzbScsICdjb25maWcnLCAnd29ya3NwYWNlcyddKSB7XG4gICAgdGVzdChgRXhjZXB0aW9uczogJHtzZXJ2aWNlfS5hbWF6b25hd3MuY29tIGlzIHVzLWlzby1lYXN0LTFgLCAoKSA9PiB7XG4gICAgICBleHBlY3QoRGVmYXVsdC5zZXJ2aWNlUHJpbmNpcGFsKGAke3NlcnZpY2V9LmFtYXpvbmF3cy5jb21gLCAndXMtaXNvLWVhc3QtMScsICdjMnMuaWMuZ292JykpLnRvQmUoYCR7c2VydmljZX0uYzJzLmljLmdvdmApO1xuICAgIH0pO1xuICB9XG59KTtcbiJdfQ==

@@ -16,2 +16,3 @@ "use strict";

s3StaticWebsiteEndpoint: region.s3StaticWebsiteEndpoint,
vpcEndPointServiceNamePrefix: region.vpcEndpointServiceNamePrefix,
servicePrincipals,

@@ -28,2 +29,2 @@ };

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaW9uLWluZm8udGVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInJlZ2lvbi1pbmZvLnRlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw4REFBd0U7QUFDeEUsZ0NBQW9DO0FBRXBDLElBQUksQ0FBQywwQkFBMEIsRUFBRSxHQUFHLEVBQUU7SUFD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LmZvckVhY2goc2VydmljZSA9PiBzZXJ2aWNlUHJpbmNpcGFsc1tzZXJ2aWNlXSA9IHJlZ2lvbi5zZXJ2aWNlUHJpbmNpcGFsKHNlcnZpY2UpKTtcblxuICAgIHNuYXBzaG90W25hbWVdID0ge1xuICAgICAgY2RrTWV0YWRhdGFSZXNvdXJjZUF2YWlsYWJsZTogcmVnaW9uLmNka01ldGFkYXRhUmVzb3VyY2VBdmFpbGFibGUsXG4gICAgICBkb21haW5TdWZmaXg6IHJlZ2lvbi5kb21haW5TdWZmaXgsXG4gICAgICBwYXJ0aXRpb246IHJlZ2lvbi5wYXJ0aXRpb24sXG4gICAgICBzM1N0YXRpY1dlYnNpdGVFbmRwb2ludDogcmVnaW9uLnMzU3RhdGljV2Vic2l0ZUVuZHBvaW50LFxuICAgICAgdnBjRW5kUG9pbnRTZXJ2aWNlTmFtZVByZWZpeDogcmVnaW9uLnZwY0VuZHBvaW50U2VydmljZU5hbWVQcmVmaXgsXG4gICAgICBzZXJ2aWNlUHJpbmNpcGFscyxcbiAgICB9O1xuICB9XG4gIGV4cGVjdChzbmFwc2hvdCkudG9NYXRjaFNuYXBzaG90KCk7XG59KTtcblxudGVzdCgnYnVpbHQtaW4gZGF0YSBmZWF0dXJlcyBrbm93biByZWdpb25zJywgKCkgPT4ge1xuICBjb25zdCByZWdpb25zID0gUmVnaW9uSW5mby5yZWdpb25zO1xuXG4gIGZvciAoY29uc3QgZXhwZWN0ZWQgb2YgQVdTX1JFR0lPTlMpIHtcbiAgICBleHBlY3QocmVnaW9ucy5tYXAocmVnaW9uID0+IHJlZ2lvbi5uYW1lKSkudG9Db250YWluKGV4cGVjdGVkKTtcbiAgfVxufSk7XG4iXX0=

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc