diff --git a/.projen/deps.json b/.projen/deps.json
index 1f6109c..cc22360 100644
--- a/.projen/deps.json
+++ b/.projen/deps.json
@@ -22,7 +22,7 @@
},
{
"name": "aws-cdk-lib",
- "version": "2.87.0",
+ "version": "2.119.0",
"type": "build"
},
{
@@ -113,7 +113,7 @@
},
{
"name": "aws-cdk-lib",
- "version": "^2.87.0",
+ "version": "^2.119.0",
"type": "peer"
},
{
diff --git a/.projenrc.ts b/.projenrc.ts
index 9bd3c2f..a80a05e 100644
--- a/.projenrc.ts
+++ b/.projenrc.ts
@@ -3,7 +3,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
author: 'Renovo Solutions',
authorAddress: 'webmaster+cdk@renovo1.com',
projenrcTs: true,
- cdkVersion: '2.87.0',
+ cdkVersion: '2.119.0',
defaultReleaseBranch: 'master',
name: '@renovosolutions/cdk-library-aws-iam-access-key',
description: 'AWS CDK Construct Library for generating AWS access keys and storing them in Secrets Manager',
diff --git a/API.md b/API.md
index 347a6e4..30eb0f4 100644
--- a/API.md
+++ b/API.md
@@ -428,6 +428,8 @@ The principal.
Restrict the permission to a certain key pattern (default '*').
+Parameter type is `any` but `string` should be passed in.
+
---
##### `grantPublicAccess`
@@ -500,6 +502,8 @@ The principal.
Restrict the permission to a certain key pattern (default '*').
+Parameter type is `any` but `string` should be passed in.
+
---
##### `grantPutAcl`
@@ -551,6 +555,8 @@ The principal.
Restrict the permission to a certain key pattern (default '*').
+Parameter type is `any` but `string` should be passed in.
+
---
##### `grantReadWrite`
@@ -1361,6 +1367,7 @@ const accessKeyFunctionCodeCacheProps: AccessKeyFunctionCodeCacheProps = { ... }
| inventories
| aws-cdk-lib.aws_s3.Inventory[]
| The inventory configuration of the bucket. |
| lifecycleRules
| aws-cdk-lib.aws_s3.LifecycleRule[]
| Rules that define how Amazon S3 manages objects during their lifetime. |
| metrics
| aws-cdk-lib.aws_s3.BucketMetrics[]
| The metrics configuration of this bucket. |
+| minimumTLSVersion
| number
| Enforces minimum TLS version for requests. |
| notificationsHandlerRole
| aws-cdk-lib.aws_iam.IRole
| The role to be used by the notifications handler. |
| objectLockDefaultRetention
| aws-cdk-lib.aws_s3.ObjectLockRetention
| The default retention mode and rules for S3 Object Lock. |
| objectLockEnabled
| boolean
| Enable object lock on the bucket. |
@@ -1595,6 +1602,23 @@ The metrics configuration of this bucket.
---
+##### `minimumTLSVersion`Optional
+
+```typescript
+public readonly minimumTLSVersion: number;
+```
+
+- *Type:* number
+- *Default:* No minimum TLS version is enforced.
+
+Enforces minimum TLS version for requests.
+
+Requires `enforceSSL` to be enabled.
+
+> [https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazon-s3-policy-keys.html#example-object-tls-version](https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazon-s3-policy-keys.html#example-object-tls-version)
+
+---
+
##### `notificationsHandlerRole`Optional
```typescript
diff --git a/package.json b/package.json
index baaced2..597e315 100644
--- a/package.json
+++ b/package.json
@@ -42,7 +42,7 @@
"@types/node": "^16",
"@typescript-eslint/eslint-plugin": "^5",
"@typescript-eslint/parser": "^5",
- "aws-cdk-lib": "2.87.0",
+ "aws-cdk-lib": "2.119.0",
"constructs": "10.0.5",
"eslint": "^8",
"eslint-import-resolver-node": "^0.3.7",
@@ -62,7 +62,7 @@
"typescript": "^4.9.5"
},
"peerDependencies": {
- "aws-cdk-lib": "^2.87.0",
+ "aws-cdk-lib": "^2.119.0",
"constructs": "^10.0.5"
},
"resolutions": {
diff --git a/yarn.lock b/yarn.lock
index 4d14106..dd7309a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -10,20 +10,20 @@
"@jridgewell/gen-mapping" "^0.3.0"
"@jridgewell/trace-mapping" "^0.3.9"
-"@aws-cdk/asset-awscli-v1@^2.2.177":
- version "2.2.185"
- resolved "https://registry.yarnpkg.com/@aws-cdk/asset-awscli-v1/-/asset-awscli-v1-2.2.185.tgz#f5b53356689a0289953981366f5dd593ce1a72f3"
- integrity sha512-cost0pu5nsmQmFhVxN4OonThGhgQeSlwntdXsEi5v8buVg+X4MzcXemmmSZxkkzzFCoS0r4w/7BiX1e+mMkFVA==
+"@aws-cdk/asset-awscli-v1@^2.2.201":
+ version "2.2.201"
+ resolved "https://registry.yarnpkg.com/@aws-cdk/asset-awscli-v1/-/asset-awscli-v1-2.2.201.tgz#a7b51d3ecc8ff3ca9798269eda3a1db2400b506a"
+ integrity sha512-INZqcwDinNaIdb5CtW3ez5s943nX5stGBQS6VOP2JDlOFP81hM3fds/9NDknipqfUkZM43dx+HgVvkXYXXARCQ==
-"@aws-cdk/asset-kubectl-v20@^2.1.1":
- version "2.1.1"
- resolved "https://registry.yarnpkg.com/@aws-cdk/asset-kubectl-v20/-/asset-kubectl-v20-2.1.1.tgz#d01c1efb867fb7f2cfd8c8b230b8eae16447e156"
- integrity sha512-U1ntiX8XiMRRRH5J1IdC+1t5CE89015cwyt5U63Cpk0GnMlN5+h9WsWMlKlPXZR4rdq/m806JRlBMRpBUB2Dhw==
+"@aws-cdk/asset-kubectl-v20@^2.1.2":
+ version "2.1.2"
+ resolved "https://registry.yarnpkg.com/@aws-cdk/asset-kubectl-v20/-/asset-kubectl-v20-2.1.2.tgz#d8e20b5f5dc20128ea2000dc479ca3c7ddc27248"
+ integrity sha512-3M2tELJOxQv0apCIiuKQ4pAbncz9GuLwnKFqxifWfe77wuMxyTRPmxssYHs42ePqzap1LT6GDcPygGs+hHstLg==
-"@aws-cdk/asset-node-proxy-agent-v5@^2.0.148":
- version "2.0.155"
- resolved "https://registry.yarnpkg.com/@aws-cdk/asset-node-proxy-agent-v5/-/asset-node-proxy-agent-v5-2.0.155.tgz#b6541c56b21dbf1c5a5ba41bb144b0a827d23e2e"
- integrity sha512-Q+Ny25hUPINlBbS6lmbUr4m6Tr6ToEJBla7sXA3FO3JUD0Z69ddcgbhuEBF8Rh1a2xmPONm89eX77kwK2fb4vQ==
+"@aws-cdk/asset-node-proxy-agent-v6@^2.0.1":
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/@aws-cdk/asset-node-proxy-agent-v6/-/asset-node-proxy-agent-v6-2.0.1.tgz#6dc9b7cdb22ff622a7176141197962360c33e9ac"
+ integrity sha512-DDt4SLdLOwWCjGtltH4VCST7hpOI5DzieuhGZsBpZ+AgJdSI2GCjklCXm0GCTwJG/SolkL5dtQXyUKgg9luBDg==
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.21.4":
version "7.21.4"
@@ -1360,22 +1360,22 @@ available-typed-arrays@^1.0.5:
resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7"
integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==
-aws-cdk-lib@2.87.0:
- version "2.87.0"
- resolved "https://registry.yarnpkg.com/aws-cdk-lib/-/aws-cdk-lib-2.87.0.tgz#585a2569fa139ffecc3ff40ffc399eb7da030a4a"
- integrity sha512-9kirXX7L7OP/yGmCbaYlkt5OAtowGiGw0AYFIQvSwvx/UU3aJO5XuDwAgDsvToDkRpBi0yX0bNwqa0DItu+C6A==
+aws-cdk-lib@2.119.0:
+ version "2.119.0"
+ resolved "https://registry.yarnpkg.com/aws-cdk-lib/-/aws-cdk-lib-2.119.0.tgz#f7d4ddd4db3cfbc6b87bc5c55864fcc347d159c9"
+ integrity sha512-aq1CFM4KkgJ0tkXCvkeCd2ThFxbaJCY5GVzG5X9SajSKEng7i4mmtblTRLfkz2lwhJLcoHXrvD0Nmf8kcNP5fg==
dependencies:
- "@aws-cdk/asset-awscli-v1" "^2.2.177"
- "@aws-cdk/asset-kubectl-v20" "^2.1.1"
- "@aws-cdk/asset-node-proxy-agent-v5" "^2.0.148"
+ "@aws-cdk/asset-awscli-v1" "^2.2.201"
+ "@aws-cdk/asset-kubectl-v20" "^2.1.2"
+ "@aws-cdk/asset-node-proxy-agent-v6" "^2.0.1"
"@balena/dockerignore" "^1.0.2"
case "1.6.3"
- fs-extra "^11.1.1"
- ignore "^5.2.4"
+ fs-extra "^11.2.0"
+ ignore "^5.3.0"
jsonschema "^1.4.1"
minimatch "^3.1.2"
- punycode "^2.3.0"
- semver "^7.5.1"
+ punycode "^2.3.1"
+ semver "^7.5.4"
table "^6.8.1"
yaml "1.10.2"
@@ -2813,10 +2813,10 @@ fs-extra@^10.1.0:
jsonfile "^6.0.1"
universalify "^2.0.0"
-fs-extra@^11.1.1:
- version "11.1.1"
- resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.1.1.tgz#da69f7c39f3b002378b0954bb6ae7efdc0876e2d"
- integrity sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==
+fs-extra@^11.2.0:
+ version "11.2.0"
+ resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b"
+ integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==
dependencies:
graceful-fs "^4.2.0"
jsonfile "^6.0.1"
@@ -3324,11 +3324,16 @@ ignore-walk@^6.0.0:
dependencies:
minimatch "^9.0.0"
-ignore@^5.2.0, ignore@^5.2.4:
+ignore@^5.2.0:
version "5.2.4"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324"
integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==
+ignore@^5.3.0:
+ version "5.3.0"
+ resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.0.tgz#67418ae40d34d6999c95ff56016759c718c82f78"
+ integrity sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==
+
import-fresh@^3.0.0, import-fresh@^3.2.1:
version "3.3.0"
resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b"
@@ -5401,11 +5406,16 @@ psl@^1.1.33:
resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7"
integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==
-punycode@^2.1.0, punycode@^2.1.1, punycode@^2.3.0:
+punycode@^2.1.0, punycode@^2.1.1:
version "2.3.0"
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f"
integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==
+punycode@^2.3.1:
+ version "2.3.1"
+ resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5"
+ integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==
+
pupa@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/pupa/-/pupa-3.1.0.tgz#f15610274376bbcc70c9a3aa8b505ea23f41c579"
@@ -5767,6 +5777,13 @@ semver@^7.0.0, semver@^7.1.1, semver@^7.3.5, semver@^7.3.7, semver@^7.4.0, semve
dependencies:
lru-cache "^6.0.0"
+semver@^7.5.4:
+ version "7.5.4"
+ resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e"
+ integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==
+ dependencies:
+ lru-cache "^6.0.0"
+
set-blocking@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"