cdk-docker-image-deployment 0.0.87 → 0.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/destination.js +1 -1
- package/lib/docker-image-deployment.js +1 -1
- package/lib/source.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +51 -1
- package/node_modules/aws-sdk/README.md +29 -1
- package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.examples.json +5 -0
- package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.min.json +284 -0
- package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.paginators.json +16 -0
- package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +441 -110
- package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +31 -13
- package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +282 -134
- package/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/drs-2020-02-26.min.json +124 -45
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +2824 -1317
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +42 -0
- package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +331 -215
- package/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +87 -52
- package/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json +128 -27
- package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +156 -130
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +341 -298
- package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +205 -28
- package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +252 -214
- package/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json +26 -0
- package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +686 -105
- package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +43 -8
- package/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json +359 -50
- package/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +127 -72
- package/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json +0 -7
- package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +69 -50
- package/node_modules/aws-sdk/apis/lambda-2015-03-31.waiters2.json +26 -0
- package/node_modules/aws-sdk/apis/license-manager-user-subscriptions-2018-05-10.min.json +82 -9
- package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +97 -16
- package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +793 -112
- package/node_modules/aws-sdk/apis/macie2-2020-01-01.paginators.json +33 -0
- package/node_modules/aws-sdk/apis/metadata.json +19 -0
- package/node_modules/aws-sdk/apis/mgn-2020-02-26.min.json +931 -118
- package/node_modules/aws-sdk/apis/mgn-2020-02-26.paginators.json +24 -0
- package/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +23 -14
- package/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json +4 -1
- package/node_modules/aws-sdk/apis/oam-2022-06-10.examples.json +5 -0
- package/node_modules/aws-sdk/apis/oam-2022-06-10.min.json +482 -0
- package/node_modules/aws-sdk/apis/oam-2022-06-10.paginators.json +22 -0
- package/node_modules/aws-sdk/apis/omics-2022-11-28.examples.json +5 -0
- package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +3722 -0
- package/node_modules/aws-sdk/apis/omics-2022-11-28.paginators.json +100 -0
- package/node_modules/aws-sdk/apis/omics-2022-11-28.waiters2.json +498 -0
- package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.examples.json +5 -0
- package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.min.json +1082 -0
- package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.paginators.json +29 -0
- package/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json +62 -16
- package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +5991 -325
- package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +379 -236
- package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +138 -28
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +23 -16
- package/node_modules/aws-sdk/apis/securitylake-2018-05-10.examples.json +5 -0
- package/node_modules/aws-sdk/apis/securitylake-2018-05-10.min.json +1041 -0
- package/node_modules/aws-sdk/apis/securitylake-2018-05-10.paginators.json +28 -0
- package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.examples.json +5 -0
- package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.min.json +578 -0
- package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.paginators.json +14 -0
- package/node_modules/aws-sdk/apis/textract-2018-06-27.min.json +310 -62
- package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +98 -95
- package/node_modules/aws-sdk/clients/all.d.ts +6 -0
- package/node_modules/aws-sdk/clients/all.js +7 -1
- package/node_modules/aws-sdk/clients/arczonalshift.d.ts +309 -0
- package/node_modules/aws-sdk/clients/arczonalshift.js +18 -0
- package/node_modules/aws-sdk/clients/backup.d.ts +405 -15
- package/node_modules/aws-sdk/clients/cloudwatch.d.ts +30 -16
- package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +196 -65
- package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +28 -5
- package/node_modules/aws-sdk/clients/configservice.d.ts +233 -6
- package/node_modules/aws-sdk/clients/drs.d.ts +104 -5
- package/node_modules/aws-sdk/clients/ec2.d.ts +1851 -20
- package/node_modules/aws-sdk/clients/ecs.d.ts +159 -17
- package/node_modules/aws-sdk/clients/efs.d.ts +5 -5
- package/node_modules/aws-sdk/clients/eks.d.ts +58 -8
- package/node_modules/aws-sdk/clients/firehose.d.ts +263 -48
- package/node_modules/aws-sdk/clients/fsx.d.ts +70 -21
- package/node_modules/aws-sdk/clients/glue.d.ts +66 -0
- package/node_modules/aws-sdk/clients/inspector2.d.ts +289 -15
- package/node_modules/aws-sdk/clients/iot.d.ts +76 -4
- package/node_modules/aws-sdk/clients/iotdata.d.ts +31 -1
- package/node_modules/aws-sdk/clients/iotwireless.d.ts +599 -14
- package/node_modules/aws-sdk/clients/kendra.d.ts +84 -39
- package/node_modules/aws-sdk/clients/kms.d.ts +198 -92
- package/node_modules/aws-sdk/clients/lambda.d.ts +132 -94
- package/node_modules/aws-sdk/clients/licensemanagerusersubscriptions.d.ts +62 -4
- package/node_modules/aws-sdk/clients/macie2.d.ts +637 -54
- package/node_modules/aws-sdk/clients/mgn.d.ts +1046 -68
- package/node_modules/aws-sdk/clients/oam.d.ts +559 -0
- package/node_modules/aws-sdk/clients/oam.js +18 -0
- package/node_modules/aws-sdk/clients/omics.d.ts +4175 -0
- package/node_modules/aws-sdk/clients/omics.js +19 -0
- package/node_modules/aws-sdk/clients/opensearchserverless.d.ts +1508 -0
- package/node_modules/aws-sdk/clients/opensearchserverless.js +18 -0
- package/node_modules/aws-sdk/clients/organizations.d.ts +69 -8
- package/node_modules/aws-sdk/clients/quicksight.d.ts +9833 -2835
- package/node_modules/aws-sdk/clients/rds.d.ts +199 -2
- package/node_modules/aws-sdk/clients/s3control.d.ts +69 -0
- package/node_modules/aws-sdk/clients/securityhub.d.ts +14 -0
- package/node_modules/aws-sdk/clients/securitylake.d.ts +1049 -0
- package/node_modules/aws-sdk/clients/securitylake.js +18 -0
- package/node_modules/aws-sdk/clients/simspaceweaver.d.ts +647 -0
- package/node_modules/aws-sdk/clients/simspaceweaver.js +18 -0
- package/node_modules/aws-sdk/clients/textract.d.ts +264 -0
- package/node_modules/aws-sdk/clients/transcribeservice.d.ts +210 -191
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +65 -20
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +349 -64
- package/node_modules/aws-sdk/dist/aws-sdk.js +4529 -2130
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +79 -78
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +12 -0
- package/node_modules/aws-sdk/lib/core.d.ts +4 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/event_listeners.js +48 -14
- package/node_modules/aws-sdk/lib/region_config.js +13 -2
- package/node_modules/aws-sdk/lib/region_config_data.json +11 -1
- package/node_modules/aws-sdk/lib/signers/bearer.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +6 -5
|
@@ -324,6 +324,12 @@ export abstract class ConfigurationServicePlaceholders {
|
|
|
324
324
|
chimesdkvoice?: AWS.ChimeSDKVoice.Types.ClientConfiguration;
|
|
325
325
|
iotroborunner?: AWS.IoTRoboRunner.Types.ClientConfiguration;
|
|
326
326
|
ssmsap?: AWS.SsmSap.Types.ClientConfiguration;
|
|
327
|
+
oam?: AWS.OAM.Types.ClientConfiguration;
|
|
328
|
+
arczonalshift?: AWS.ARCZonalShift.Types.ClientConfiguration;
|
|
329
|
+
omics?: AWS.Omics.Types.ClientConfiguration;
|
|
330
|
+
opensearchserverless?: AWS.OpenSearchServerless.Types.ClientConfiguration;
|
|
331
|
+
securitylake?: AWS.SecurityLake.Types.ClientConfiguration;
|
|
332
|
+
simspaceweaver?: AWS.SimSpaceWeaver.Types.ClientConfiguration;
|
|
327
333
|
}
|
|
328
334
|
export interface ConfigurationServiceApiVersions {
|
|
329
335
|
acm?: AWS.ACM.Types.apiVersion;
|
|
@@ -650,4 +656,10 @@ export interface ConfigurationServiceApiVersions {
|
|
|
650
656
|
chimesdkvoice?: AWS.ChimeSDKVoice.Types.apiVersion;
|
|
651
657
|
iotroborunner?: AWS.IoTRoboRunner.Types.apiVersion;
|
|
652
658
|
ssmsap?: AWS.SsmSap.Types.apiVersion;
|
|
659
|
+
oam?: AWS.OAM.Types.apiVersion;
|
|
660
|
+
arczonalshift?: AWS.ARCZonalShift.Types.apiVersion;
|
|
661
|
+
omics?: AWS.Omics.Types.apiVersion;
|
|
662
|
+
opensearchserverless?: AWS.OpenSearchServerless.Types.apiVersion;
|
|
663
|
+
securitylake?: AWS.SecurityLake.Types.apiVersion;
|
|
664
|
+
simspaceweaver?: AWS.SimSpaceWeaver.Types.apiVersion;
|
|
653
665
|
}
|
|
@@ -16,6 +16,10 @@ export {TemporaryCredentials} from './credentials/temporary_credentials';
|
|
|
16
16
|
export {ChainableTemporaryCredentials} from './credentials/chainable_temporary_credentials';
|
|
17
17
|
export {WebIdentityCredentials} from './credentials/web_identity_credentials';
|
|
18
18
|
export {TokenFileWebIdentityCredentials} from './credentials/token_file_web_identity_credentials';
|
|
19
|
+
export {Token} from './token';
|
|
20
|
+
export {StaticTokenProvider} from './token/static_token_provider';
|
|
21
|
+
export {SSOTokenProvider} from './token/sso_token_provider';
|
|
22
|
+
export {TokenProviderChain} from './token/token_provider_chain';
|
|
19
23
|
export {Endpoint} from './endpoint';
|
|
20
24
|
export {EventListeners} from './event_listeners';
|
|
21
25
|
export {HttpRequest} from './http_request';
|
|
@@ -73,18 +73,52 @@ function getOperationAuthtype(req) {
|
|
|
73
73
|
return operation ? operation.authtype : '';
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
+
/**
|
|
77
|
+
* @api private
|
|
78
|
+
*/
|
|
79
|
+
function getIdentityType(req) {
|
|
80
|
+
var service = req.service;
|
|
81
|
+
|
|
82
|
+
if (service.config.signatureVersion) {
|
|
83
|
+
return service.config.signatureVersion;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
if (service.api.signatureVersion) {
|
|
87
|
+
return service.api.signatureVersion;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
return getOperationAuthtype(req);
|
|
91
|
+
}
|
|
92
|
+
|
|
76
93
|
AWS.EventListeners = {
|
|
77
94
|
Core: new SequentialExecutor().addNamedListeners(function(add, addAsync) {
|
|
78
|
-
addAsync(
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
95
|
+
addAsync(
|
|
96
|
+
'VALIDATE_CREDENTIALS', 'validate',
|
|
97
|
+
function VALIDATE_CREDENTIALS(req, done) {
|
|
98
|
+
if (!req.service.api.signatureVersion && !req.service.config.signatureVersion) return done(); // none
|
|
99
|
+
|
|
100
|
+
var identityType = getIdentityType(req);
|
|
101
|
+
if (identityType === 'bearer') {
|
|
102
|
+
req.service.config.getToken(function(err) {
|
|
103
|
+
if (err) {
|
|
104
|
+
req.response.error = AWS.util.error(err, {code: 'TokenError'});
|
|
105
|
+
}
|
|
106
|
+
done();
|
|
107
|
+
});
|
|
108
|
+
return;
|
|
85
109
|
}
|
|
86
|
-
|
|
87
|
-
|
|
110
|
+
|
|
111
|
+
req.service.config.getCredentials(function(err) {
|
|
112
|
+
if (err) {
|
|
113
|
+
req.response.error = AWS.util.error(err,
|
|
114
|
+
{
|
|
115
|
+
code: 'CredentialsError',
|
|
116
|
+
message: 'Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1'
|
|
117
|
+
}
|
|
118
|
+
);
|
|
119
|
+
}
|
|
120
|
+
done();
|
|
121
|
+
});
|
|
88
122
|
});
|
|
89
123
|
|
|
90
124
|
add('VALIDATE_REGION', 'validate', function VALIDATE_REGION(req) {
|
|
@@ -250,12 +284,10 @@ AWS.EventListeners = {
|
|
|
250
284
|
|
|
251
285
|
addAsync('SIGN', 'sign', function SIGN(req, done) {
|
|
252
286
|
var service = req.service;
|
|
253
|
-
var
|
|
254
|
-
|
|
255
|
-
var authtype = operation ? operation.authtype : '';
|
|
256
|
-
if (!service.api.signatureVersion && !authtype && !service.config.signatureVersion) return done(); // none
|
|
287
|
+
var identityType = getIdentityType(req);
|
|
288
|
+
if (!identityType || identityType.length === 0) return done(); // none
|
|
257
289
|
|
|
258
|
-
if (
|
|
290
|
+
if (identityType === 'bearer') {
|
|
259
291
|
service.config.getToken(function (err, token) {
|
|
260
292
|
if (err) {
|
|
261
293
|
req.response.error = err;
|
|
@@ -281,6 +313,8 @@ AWS.EventListeners = {
|
|
|
281
313
|
try {
|
|
282
314
|
var date = service.getSkewCorrectedDate();
|
|
283
315
|
var SignerClass = service.getSignerClass(req);
|
|
316
|
+
var operations = req.service.api.operations || {};
|
|
317
|
+
var operation = operations[req.operation];
|
|
284
318
|
var signer = new SignerClass(req.httpRequest,
|
|
285
319
|
service.getSigningName(req),
|
|
286
320
|
{
|
|
@@ -63,10 +63,21 @@ function configureEndpoint(service) {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
// signature version
|
|
66
|
-
if (!config.signatureVersion)
|
|
66
|
+
if (!config.signatureVersion) {
|
|
67
|
+
// Note: config is a global object and should not be mutated here.
|
|
68
|
+
// However, we are retaining this line for backwards compatibility.
|
|
69
|
+
// The non-v4 signatureVersion will be set in a copied object below.
|
|
70
|
+
config.signatureVersion = 'v4';
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
var useBearer = (service.api && service.api.signatureVersion) === 'bearer';
|
|
67
74
|
|
|
68
75
|
// merge config
|
|
69
|
-
applyConfig(service,
|
|
76
|
+
applyConfig(service, Object.assign(
|
|
77
|
+
{},
|
|
78
|
+
config,
|
|
79
|
+
{ signatureVersion: useBearer ? 'bearer' : config.signatureVersion }
|
|
80
|
+
));
|
|
70
81
|
return;
|
|
71
82
|
}
|
|
72
83
|
}
|
|
@@ -128,7 +128,8 @@
|
|
|
128
128
|
"us-gov-west-1/organizations": "fipsWithServiceOnly",
|
|
129
129
|
"us-gov-west-1/route53": {
|
|
130
130
|
"endpoint": "route53.us-gov.amazonaws.com"
|
|
131
|
-
}
|
|
131
|
+
},
|
|
132
|
+
"*/resource-explorer-2": "fipsDualstackByDefault"
|
|
132
133
|
},
|
|
133
134
|
|
|
134
135
|
"dualstackRules": {
|
|
@@ -227,6 +228,15 @@
|
|
|
227
228
|
},
|
|
228
229
|
"dualstackByDefault": {
|
|
229
230
|
"endpoint": "{service}.{region}.api.aws"
|
|
231
|
+
},
|
|
232
|
+
"fipsDualstackByDefault": {
|
|
233
|
+
"endpoint": "{service}-fips.{region}.api.aws"
|
|
234
|
+
},
|
|
235
|
+
"globalDualstackByDefault": {
|
|
236
|
+
"endpoint": "{service}.global.api.aws"
|
|
237
|
+
},
|
|
238
|
+
"fipsGlobalDualstackByDefault": {
|
|
239
|
+
"endpoint": "{service}-fips.global.api.aws"
|
|
230
240
|
}
|
|
231
241
|
}
|
|
232
242
|
}
|
|
@@ -9,6 +9,6 @@ AWS.Signers.Bearer = AWS.util.inherit(AWS.Signers.RequestSigner, {
|
|
|
9
9
|
},
|
|
10
10
|
|
|
11
11
|
addAuthorization: function addAuthorization(token) {
|
|
12
|
-
this.request.
|
|
12
|
+
this.request.headers['Authorization'] = 'Bearer ' + token.token;
|
|
13
13
|
}
|
|
14
14
|
});
|
package/package.json
CHANGED
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"jest-junit": "^13",
|
|
54
54
|
"jsii": "^1.71.0",
|
|
55
55
|
"jsii-diff": "^1.71.0",
|
|
56
|
-
"jsii-docgen": "^7.0.
|
|
56
|
+
"jsii-docgen": "^7.0.163",
|
|
57
57
|
"jsii-pacmak": "^1.71.0",
|
|
58
58
|
"json-schema": "^0.4.0",
|
|
59
59
|
"npm-check-updates": "^16",
|
|
60
|
-
"projen": "^0.65.
|
|
60
|
+
"projen": "^0.65.39",
|
|
61
61
|
"standard-version": "^9",
|
|
62
62
|
"ts-jest": "^27",
|
|
63
63
|
"typescript": "^4.9.3"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@types/aws-lambda": "^8.10.109",
|
|
71
|
-
"aws-sdk": "^2.
|
|
71
|
+
"aws-sdk": "^2.1264.0"
|
|
72
72
|
},
|
|
73
73
|
"bundledDependencies": [
|
|
74
74
|
"@types/aws-lambda",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"main": "lib/index.js",
|
|
81
81
|
"license": "Apache-2.0",
|
|
82
82
|
"homepage": "https://github.com/cdklabs/cdk-docker-image-deployment#readme",
|
|
83
|
-
"version": "0.0.
|
|
83
|
+
"version": "0.0.89",
|
|
84
84
|
"jest": {
|
|
85
85
|
"testMatch": [
|
|
86
86
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|
|
@@ -148,7 +148,8 @@
|
|
|
148
148
|
}
|
|
149
149
|
},
|
|
150
150
|
"resolutions": {
|
|
151
|
-
"@types/prettier": "2.6.0"
|
|
151
|
+
"@types/prettier": "2.6.0",
|
|
152
|
+
"@types/babel__traverse": "7.18.2"
|
|
152
153
|
},
|
|
153
154
|
"//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
|
|
154
155
|
}
|