cdk-docker-image-deployment 0.0.88 → 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 +29 -1
- package/node_modules/aws-sdk/README.md +1 -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/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/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/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/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/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 +16 -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/quicksight-2018-04-01.min.json +5991 -325
- 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/clients/all.d.ts +5 -0
- package/node_modules/aws-sdk/clients/all.js +6 -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/computeoptimizer.d.ts +28 -5
- package/node_modules/aws-sdk/clients/configservice.d.ts +233 -6
- package/node_modules/aws-sdk/clients/ec2.d.ts +1851 -20
- 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/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/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/quicksight.d.ts +9833 -2835
- 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/dist/aws-sdk-core-react-native.js +39 -13
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +264 -37
- package/node_modules/aws-sdk/dist/aws-sdk.js +3615 -1676
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +79 -78
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +10 -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 +26 -9
- package/node_modules/aws-sdk/lib/region_config.js +11 -2
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +3 -3
|
@@ -325,6 +325,11 @@ export abstract class ConfigurationServicePlaceholders {
|
|
|
325
325
|
iotroborunner?: AWS.IoTRoboRunner.Types.ClientConfiguration;
|
|
326
326
|
ssmsap?: AWS.SsmSap.Types.ClientConfiguration;
|
|
327
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;
|
|
328
333
|
}
|
|
329
334
|
export interface ConfigurationServiceApiVersions {
|
|
330
335
|
acm?: AWS.ACM.Types.apiVersion;
|
|
@@ -652,4 +657,9 @@ export interface ConfigurationServiceApiVersions {
|
|
|
652
657
|
iotroborunner?: AWS.IoTRoboRunner.Types.apiVersion;
|
|
653
658
|
ssmsap?: AWS.SsmSap.Types.apiVersion;
|
|
654
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;
|
|
655
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';
|
|
@@ -92,16 +92,33 @@ function getIdentityType(req) {
|
|
|
92
92
|
|
|
93
93
|
AWS.EventListeners = {
|
|
94
94
|
Core: new SequentialExecutor().addNamedListeners(function(add, addAsync) {
|
|
95
|
-
addAsync(
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
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;
|
|
102
109
|
}
|
|
103
|
-
|
|
104
|
-
|
|
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
|
+
});
|
|
105
122
|
});
|
|
106
123
|
|
|
107
124
|
add('VALIDATE_REGION', 'validate', function VALIDATE_REGION(req) {
|
|
@@ -64,11 +64,20 @@ function configureEndpoint(service) {
|
|
|
64
64
|
|
|
65
65
|
// signature version
|
|
66
66
|
if (!config.signatureVersion) {
|
|
67
|
-
config
|
|
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';
|
|
68
71
|
}
|
|
69
72
|
|
|
73
|
+
var useBearer = (service.api && service.api.signatureVersion) === 'bearer';
|
|
74
|
+
|
|
70
75
|
// merge config
|
|
71
|
-
applyConfig(service,
|
|
76
|
+
applyConfig(service, Object.assign(
|
|
77
|
+
{},
|
|
78
|
+
config,
|
|
79
|
+
{ signatureVersion: useBearer ? 'bearer' : config.signatureVersion }
|
|
80
|
+
));
|
|
72
81
|
return;
|
|
73
82
|
}
|
|
74
83
|
}
|
package/package.json
CHANGED
|
@@ -57,7 +57,7 @@
|
|
|
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)",
|