From 76525f7a87838d81ca197237a02141ec6c173f9e Mon Sep 17 00:00:00 2001 From: AWS CDK Team Date: Mon, 17 Feb 2025 17:37:21 +0000 Subject: [PATCH 1/4] chore(release): 2.179.0 --- CHANGELOG.v2.alpha.md | 19 ++++++++++++++ CHANGELOG.v2.md | 58 +++++++++++++++++++++++++++++++++++++++++++ version.v2.json | 4 +-- 3 files changed, 79 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.v2.alpha.md b/CHANGELOG.v2.alpha.md index 805644cbfa902..1472796b55a55 100644 --- a/CHANGELOG.v2.alpha.md +++ b/CHANGELOG.v2.alpha.md @@ -2,6 +2,25 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [2.179.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.178.2-alpha.0...v2.179.0-alpha.0) (2025-02-17) + + +### ⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES + +* **cognito-identitypool-alpha:** The `IdentityPoolRoleAttachment` construct and `IdentityPool.addRoleMappings()` function will no longer exist. This is to disambiguate that only one role attachment can exist per Identity Pool. If you are using the `IdentityPool` construct, this change will trigger a redeployment. If you need to add role mappings, please do so when the `IdentityPool` is created. + +### Features + +* **eks-v2-alpha:** support eks with k8s 1.32 ([#33344](https://github.com/aws/aws-cdk/issues/33344)) ([7175a04](https://github.com/aws/aws-cdk/commit/7175a042b66426864fae5199715f7076f4a95335)) +* **ivs:** support Multitrack Video ([#33370](https://github.com/aws/aws-cdk/issues/33370)) ([29d1945](https://github.com/aws/aws-cdk/commit/29d194513fb9da44c9f2c1b28484381d7fb9feb3)) + + +### Bug Fixes + +* **cognito-identitypool-alpha:** remove `RoleAttachment` construct ([#33305](https://github.com/aws/aws-cdk/issues/33305)) ([9449f9c](https://github.com/aws/aws-cdk/commit/9449f9c805b045bab11a27b21924470672e804fe)), closes [#23449](https://github.com/aws/aws-cdk/issues/23449) +* **integ-tests:** http flattenResponse ([#30361](https://github.com/aws/aws-cdk/issues/30361)) ([4744ee5](https://github.com/aws/aws-cdk/commit/4744ee578116add497e5314a30629939925b015c)), closes [#30327](https://github.com/aws/aws-cdk/issues/30327) +* **msk:** allow both sasl/scram and iam auth ([#31743](https://github.com/aws/aws-cdk/issues/31743)) ([fbcb732](https://github.com/aws/aws-cdk/commit/fbcb732ed5224d2ad5a8218229762efa13db689e)), closes [/github.com/aws/aws-cdk/pull/14647#issuecomment-2129517358](https://github.com/aws//github.com/aws/aws-cdk/pull/14647/issues/issuecomment-2129517358) [#32779](https://github.com/aws/aws-cdk/issues/32779) + ## [2.178.2-alpha.0](https://github.com/aws/aws-cdk/compare/v2.178.1-alpha.0...v2.178.2-alpha.0) (2025-02-12) ## [2.178.1-alpha.0](https://github.com/aws/aws-cdk/compare/v2.178.0-alpha.0...v2.178.1-alpha.0) (2025-02-06) diff --git a/CHANGELOG.v2.md b/CHANGELOG.v2.md index 07c04ae193588..00dfb7a16f9a6 100644 --- a/CHANGELOG.v2.md +++ b/CHANGELOG.v2.md @@ -2,6 +2,64 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [2.179.0](https://github.com/aws/aws-cdk/compare/v2.178.2...v2.179.0) (2025-02-17) + + +### ⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES + +* **eks:** `kubectlLayer` property is now required in EKS `Cluster` and `FargateCluster` constructs. The default value for `kubectlLayer` is outdated and hence being removed. You can specify your own kubectlLayer version based on your Kubernetes version. + +### Features + +* **cloudtrail:** throw `ValidationErrors` instead of untyped Errors ([#33455](https://github.com/aws/aws-cdk/issues/33455)) ([11a75b2](https://github.com/aws/aws-cdk/commit/11a75b287bbbc6067df52cf5946634877351d515)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569) +* update L1 CloudFormation resource definitions ([#33445](https://github.com/aws/aws-cdk/issues/33445)) ([531280f](https://github.com/aws/aws-cdk/commit/531280f0bf8f73d173cd420a1642277119181dca)) +* update L1 CloudFormation resource definitions ([#33475](https://github.com/aws/aws-cdk/issues/33475)) ([a7cacb8](https://github.com/aws/aws-cdk/commit/a7cacb8278896d54a2e7ff6384a8d4218fed0b33)) +* update L1 CloudFormation resource definitions ([#33476](https://github.com/aws/aws-cdk/issues/33476)) ([3a61695](https://github.com/aws/aws-cdk/commit/3a61695730d7b1d8e0023aca542e039ed7f59011)) +* update L1 CloudFormation resource definitions ([#33480](https://github.com/aws/aws-cdk/issues/33480)) ([67e596e](https://github.com/aws/aws-cdk/commit/67e596e9b324f4a255f2d9e8189d108404ecc630)) +* **apigateway:** resource policy configuration for private API ([#32719](https://github.com/aws/aws-cdk/issues/32719)) ([628e649](https://github.com/aws/aws-cdk/commit/628e6498392016c08cf55c52e0615afcbc2419ed)), closes [#31660](https://github.com/aws/aws-cdk/issues/31660) [#31692](https://github.com/aws/aws-cdk/issues/31692) +* **apigatewayv2:** stage support `detailedMetricsEnabled` property ([#33267](https://github.com/aws/aws-cdk/issues/33267)) ([0abcacf](https://github.com/aws/aws-cdk/commit/0abcacffc18044cdb52b9bfe207033d172002783)), closes [#33222](https://github.com/aws/aws-cdk/issues/33222) +* **apigatewayv2-integrations:** sqs integrations ([#29646](https://github.com/aws/aws-cdk/issues/29646)) ([775c009](https://github.com/aws/aws-cdk/commit/775c009151f0208a3757daff0bae48339f523cb6)), closes [#24785](https://github.com/aws/aws-cdk/issues/24785) +* **appconfig:** throw `ValidationError` instead of untyped Errors ([#33386](https://github.com/aws/aws-cdk/issues/33386)) ([b4efb1e](https://github.com/aws/aws-cdk/commit/b4efb1eeeb2377ad9ba3504ff518dbc052d7d9f7)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569) +* **assertions:** throw typed errors ([#33382](https://github.com/aws/aws-cdk/issues/33382)) ([0f57bd3](https://github.com/aws/aws-cdk/commit/0f57bd33bf48d18a622f6f54131227bd70bb7325)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569) +* **assets:** throw `ValidationError` instead of untyped Errors ([#33383](https://github.com/aws/aws-cdk/issues/33383)) ([19cf902](https://github.com/aws/aws-cdk/commit/19cf902bc0c21868a429b19c43e7a7978de6bda0)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569) +* **autoscaling:** throw `ValidationError` instead of untyped Errors ([#33388](https://github.com/aws/aws-cdk/issues/33388)) ([d3f3309](https://github.com/aws/aws-cdk/commit/d3f3309fb43b80bb630e57951fc8531deb4a0dd9)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569) +* **backup:** throw `ValidationError` instead of untyped Errors ([#33387](https://github.com/aws/aws-cdk/issues/33387)) ([48f2bf7](https://github.com/aws/aws-cdk/commit/48f2bf7de2911563f19abdfa54bcd987376ffa83)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569) +* **batch:** throw `ValidationError` instead of untyped Errors ([#33389](https://github.com/aws/aws-cdk/issues/33389)) ([c83ca82](https://github.com/aws/aws-cdk/commit/c83ca82aa7bbd1cad52d66ce0a047651559967f5)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569) +* **certificatemanager:** throw `ValidationErrors` instead of untyped Errors ([#33440](https://github.com/aws/aws-cdk/issues/33440)) ([76848e4](https://github.com/aws/aws-cdk/commit/76848e47742ea94ebf73ce2900d217a78c6a794b)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569) +* **chatbot:** throw `ValidationError` instead of untyped Error ([#33439](https://github.com/aws/aws-cdk/issues/33439)) ([ede5842](https://github.com/aws/aws-cdk/commit/ede58421df045196d7f9e196fc38cc9ffa10eaf5)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569) +* **cloudformation-include:** throw `ValidationError` instead of untyped Errors ([#33391](https://github.com/aws/aws-cdk/issues/33391)) ([92a9a73](https://github.com/aws/aws-cdk/commit/92a9a73ae9b97b3a5ca2a305f41d657b911db2a6)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569) +* **cloudfront:** throw `ValidationErrors` instead of untyped Errors ([#33438](https://github.com/aws/aws-cdk/issues/33438)) ([c08c7f0](https://github.com/aws/aws-cdk/commit/c08c7f0a5b68a4af668d84bb21f0dbafdfe90715)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569) +* **codebuild:** attribute-based compute type for Fleet ([#32251](https://github.com/aws/aws-cdk/issues/32251)) ([9fd62cb](https://github.com/aws/aws-cdk/commit/9fd62cb79d0f263b216b8b5ff2a0f0ecb0df157b)) +* **codepipeline-actions:** support commands action ([#31667](https://github.com/aws/aws-cdk/issues/31667)) ([2637d46](https://github.com/aws/aws-cdk/commit/2637d467c6e571f99859efbeb4fa3cc5a2c52345)), closes [#31666](https://github.com/aws/aws-cdk/issues/31666) +* **cognito:** add analyticsConfiguration to UserPoolClient ([#32862](https://github.com/aws/aws-cdk/issues/32862)) ([1c98881](https://github.com/aws/aws-cdk/commit/1c988814753c0fd2e8a7daff00918d6d03072812)), closes [#32837](https://github.com/aws/aws-cdk/issues/32837) +* **cognito:** choice-based authentication (passwordless sign-in / passkey sign-in) ([#32369](https://github.com/aws/aws-cdk/issues/32369)) ([9a6e5cc](https://github.com/aws/aws-cdk/commit/9a6e5cc13ee000ee35ee86b4e91183548a1e47b5)), closes [#32265](https://github.com/aws/aws-cdk/issues/32265) [#32367](https://github.com/aws/aws-cdk/issues/32367) [#32273](https://github.com/aws/aws-cdk/issues/32273) +* **cx-api:** throw `CloudAssemblyError` instead of untyped Errors ([#33390](https://github.com/aws/aws-cdk/issues/33390)) ([ae95d95](https://github.com/aws/aws-cdk/commit/ae95d9571c0fb4469e5c91ffc443ff04e965d1db)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569) +* **eks:** add L2 constructs to support EKS Hybrid Nodes ([#32389](https://github.com/aws/aws-cdk/issues/32389)) ([b91965c](https://github.com/aws/aws-cdk/commit/b91965c2f041eb62a70346974bc38e05860d0ed2)) +* **eks:** make kubectlLayer property required from optional ([#32930](https://github.com/aws/aws-cdk/issues/32930)) ([b11f663](https://github.com/aws/aws-cdk/commit/b11f6637710d730c83ebb0a8a81a3ac0b550b7db)), closes [/github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/package.json#L123](https://github.com/aws//github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/package.json/issues/L123) +* **eks:** support eks with k8s 1.32 ([#33339](https://github.com/aws/aws-cdk/issues/33339)) ([3490d2e](https://github.com/aws/aws-cdk/commit/3490d2ef8071ae040f38b35901a5801c60163817)) +* **elasticloadbalancingv2:** minimum Loadbalancer Capacity Unit (LCU) reservation ([#32382](https://github.com/aws/aws-cdk/issues/32382)) ([9b178c1](https://github.com/aws/aws-cdk/commit/9b178c1dd8c2dc4507dc9ce812d3118397907283)) +* **events-targets:** allow all ECS TaskOverrides ([#32344](https://github.com/aws/aws-cdk/issues/32344)) ([aebb331](https://github.com/aws/aws-cdk/commit/aebb331e60b736969f5bccbf5b427e11dc5fc997)), closes [#32217](https://github.com/aws/aws-cdk/issues/32217) [#32217](https://github.com/aws/aws-cdk/issues/32217) [/github.com/aws/aws-cdk/blob/1b7265bf5cc623b2e362266c96ce866df539581f/packages/aws-cdk-lib/aws-events-targets/lib/ecs-task.ts#L225-L227](https://github.com/aws//github.com/aws/aws-cdk/blob/1b7265bf5cc623b2e362266c96ce866df539581f/packages/aws-cdk-lib/aws-events-targets/lib/ecs-task.ts/issues/L225-L227) +* **logs:** support regex patterns for JSON Metrics filters ([#30741](https://github.com/aws/aws-cdk/issues/30741)) ([c89afe3](https://github.com/aws/aws-cdk/commit/c89afe302abb249c631d9855aca205b3ed8e4c3a)), closes [#30451](https://github.com/aws/aws-cdk/issues/30451) +* **pipelines:** throw `ValidationError` instead of untyped Errors ([#33385](https://github.com/aws/aws-cdk/issues/33385)) ([14b1098](https://github.com/aws/aws-cdk/commit/14b109851d5dd05c28f90903359835bf01578399)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569) +* **stepfunctions-tasks:** allow region override in call-rest-api task ([#33252](https://github.com/aws/aws-cdk/issues/33252)) ([59470c5](https://github.com/aws/aws-cdk/commit/59470c5698a984baeccc45ab8875f59bfa63fb3c)) +* update L1 CloudFormation resource definitions ([#33363](https://github.com/aws/aws-cdk/issues/33363)) ([ba485ef](https://github.com/aws/aws-cdk/commit/ba485efe3b018b9236ef4bac5ba41f63926336ce)), closes [/docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html#cfn-ec2](https://github.com/aws//docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html/issues/cfn-ec2) +* **rds:** support Database Insights for Aurora databases ([#32851](https://github.com/aws/aws-cdk/issues/32851)) ([f6ed4be](https://github.com/aws/aws-cdk/commit/f6ed4bef8a8f7ab64eefc553714dd066048307af)), closes [#32680](https://github.com/aws/aws-cdk/issues/32680) + + +### Bug Fixes + +* **cli:** cdk diff fails when deploy role requires tags ([#33340](https://github.com/aws/aws-cdk/issues/33340)) ([f1d9a7d](https://github.com/aws/aws-cdk/commit/f1d9a7d9053d9c5eef5fba0a215f7658cff6ec3f)) +* **cli:** do not print credentials refreshed by plugins ([#33398](https://github.com/aws/aws-cdk/issues/33398)) ([a7d7373](https://github.com/aws/aws-cdk/commit/a7d73732cc41db518bd92eac3fd2e0f159ab3b7a)), closes [#33394](https://github.com/aws/aws-cdk/issues/33394) [#33394](https://github.com/aws/aws-cdk/issues/33394) +* **cli:** init templates still assume the same versions ([#33449](https://github.com/aws/aws-cdk/issues/33449)) ([523e0f0](https://github.com/aws/aws-cdk/commit/523e0f00e7d135078e07834ca941dd52196f5212)) +* **cli:** old setInterval remains and is not cleared in garbage collection ([#32985](https://github.com/aws/aws-cdk/issues/32985)) ([a2166e2](https://github.com/aws/aws-cdk/commit/a2166e2e1bd0a757a2adfdb5ef02d421945ca943)), closes [#32742](https://github.com/aws/aws-cdk/issues/32742) [/github.com/aws/aws-cdk/blob/899965d6147829b8f8ac52ac8c1350de50d7b6d0/packages/aws-cdk/lib/api/garbage-collection/progress-printer.ts#L44](https://github.com/aws//github.com/aws/aws-cdk/blob/899965d6147829b8f8ac52ac8c1350de50d7b6d0/packages/aws-cdk/lib/api/garbage-collection/progress-printer.ts/issues/L44) +* **eks:** `cluster.addHelmChart` ignores `skipCrds` ([#31832](https://github.com/aws/aws-cdk/issues/31832)) ([ee63467](https://github.com/aws/aws-cdk/commit/ee63467c76c6b1c4449b377b9c53e33eaf6dc061)), closes [#31831](https://github.com/aws/aws-cdk/issues/31831) +* **opensearchservice:** wrong iops limit checks ([#33401](https://github.com/aws/aws-cdk/issues/33401)) ([1d15d49](https://github.com/aws/aws-cdk/commit/1d15d492f137ab1dec871db4f7409ced4c550d3c)), closes [#29711](https://github.com/aws/aws-cdk/issues/29711) +* do not skip bundling for stacks during CDK Import, otherwise fails ([#33322](https://github.com/aws/aws-cdk/issues/33322)) ([5160796](https://github.com/aws/aws-cdk/commit/5160796d2f5282a49f662e62082c73cb525f5e19)), closes [#31999](https://github.com/aws/aws-cdk/issues/31999) [#31677](https://github.com/aws/aws-cdk/issues/31677) [#31999](https://github.com/aws/aws-cdk/issues/31999) [#31677](https://github.com/aws/aws-cdk/issues/31677) [#9540](https://github.com/aws/aws-cdk/issues/9540) [#17666](https://github.com/aws/aws-cdk/issues/17666) +* **lambda-event-sources:** `SelfManagedKafkaEventSource` cannot be used in NPM symlinked workspaces ([#32937](https://github.com/aws/aws-cdk/issues/32937)) ([fe656af](https://github.com/aws/aws-cdk/commit/fe656af00174fd134c29cbcf289f0e73f2e9db5c)) +* **stepfunctions-tasks:** `CallAwsServiceCrossRegion` doesn't work with WAIT_FOR_TASK_TOKEN ([#32807](https://github.com/aws/aws-cdk/issues/32807)) ([800b775](https://github.com/aws/aws-cdk/commit/800b775fbce97b4ffec0d5709f295929d170ea7f)), closes [#32746](https://github.com/aws/aws-cdk/issues/32746) [/github.com/aws/aws-cdk/blob/bbdd42c8f45916d5c6945f3429916f6199d2ec66/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/lambda/invoke.ts#L146-L165](https://github.com/aws//github.com/aws/aws-cdk/blob/bbdd42c8f45916d5c6945f3429916f6199d2ec66/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/lambda/invoke.ts/issues/L146-L165) +* **stepfunctions-tasks:** CallAwsServiceCrossRegion doesn't work with WAIT_FOR_TASK_TOKEN ([cbd8ecf](https://github.com/aws/aws-cdk/commit/cbd8ecf95f0724f88f643bdc1d2c0b1256a8bed1)) +* **vpc:** typo VPC Endpoint Payment Cryptography ([#33018](https://github.com/aws/aws-cdk/issues/33018)) ([51e671f](https://github.com/aws/aws-cdk/commit/51e671f19c7b5ff08e342aad5fceae75615c7410)), closes [#33017](https://github.com/aws/aws-cdk/issues/33017) + ## [2.178.2](https://github.com/aws/aws-cdk/compare/v2.178.1...v2.178.2) (2025-02-12) diff --git a/version.v2.json b/version.v2.json index 796e485ed7823..418cb14fa21ce 100644 --- a/version.v2.json +++ b/version.v2.json @@ -1,4 +1,4 @@ { - "version": "2.178.2", - "alphaVersion": "2.178.2-alpha.0" + "version": "2.179.0", + "alphaVersion": "2.179.0-alpha.0" } \ No newline at end of file From 20275e4388f0bb3589a4bb2420f679f9a293b85a Mon Sep 17 00:00:00 2001 From: aws-cdk-automation Date: Mon, 17 Feb 2025 17:46:27 +0000 Subject: [PATCH 2/4] chore: update analytics metadata blueprints --- .../aws-cdk-lib/aws-apigateway/lib/restapi.ts | 2 + .../core/lib/analytics-data-source/classes.ts | 206 ++++++++---------- .../core/lib/analytics-data-source/enums.ts | 34 ++- 3 files changed, 121 insertions(+), 121 deletions(-) diff --git a/packages/aws-cdk-lib/aws-apigateway/lib/restapi.ts b/packages/aws-cdk-lib/aws-apigateway/lib/restapi.ts index 5eb1e92de5cc7..13cd1dc822fba 100644 --- a/packages/aws-cdk-lib/aws-apigateway/lib/restapi.ts +++ b/packages/aws-cdk-lib/aws-apigateway/lib/restapi.ts @@ -779,6 +779,7 @@ export class SpecRestApi extends RestApiBase { * * @param statement The policy statement to add */ + @MethodMetadata() public addToResourcePolicy(statement: iam.PolicyStatement): iam.AddToResourcePolicyResult { this.resourcePolicy = this.resourcePolicy ?? new iam.PolicyDocument(); this.resourcePolicy.addStatements(statement); @@ -932,6 +933,7 @@ export class RestApi extends RestApiBase { * * @param statement The policy statement to add */ + @MethodMetadata() public addToResourcePolicy(statement: iam.PolicyStatement): iam.AddToResourcePolicyResult { this.resourcePolicy = this.resourcePolicy ?? new iam.PolicyDocument(); this.resourcePolicy.addStatements(statement); diff --git a/packages/aws-cdk-lib/core/lib/analytics-data-source/classes.ts b/packages/aws-cdk-lib/core/lib/analytics-data-source/classes.ts index c863dc919d50c..24a1cc7a06463 100644 --- a/packages/aws-cdk-lib/core/lib/analytics-data-source/classes.ts +++ b/packages/aws-cdk-lib/core/lib/analytics-data-source/classes.ts @@ -515,81 +515,6 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { } }, '@aws-cdk.aws-cognito-identitypool-alpha': { - 'IdentityPoolRoleAttachment': { - 'identityPool': { - 'identityPoolId': '*', - 'identityPoolArn': '*', - 'identityPoolName': '*', - 'stack': '*', - 'env': { - 'account': '*', - 'region': '*' - }, - 'node': '*' - }, - 'authenticatedRole': { - 'roleArn': '*', - 'roleName': '*', - 'assumeRoleAction': '*', - 'policyFragment': '*', - 'principalAccount': '*', - 'grantPrincipal': { - 'assumeRoleAction': '*', - 'principalAccount': '*' - }, - 'stack': '*', - 'env': { - 'account': '*', - 'region': '*' - }, - 'node': '*' - }, - 'unauthenticatedRole': { - 'roleArn': '*', - 'roleName': '*', - 'assumeRoleAction': '*', - 'policyFragment': '*', - 'principalAccount': '*', - 'grantPrincipal': { - 'assumeRoleAction': '*', - 'principalAccount': '*' - }, - 'stack': '*', - 'env': { - 'account': '*', - 'region': '*' - }, - 'node': '*' - }, - 'roleMappings': { - 'providerUrl': '*', - 'mappingKey': '*', - 'useToken': 'boolean', - 'resolveAmbiguousRoles': 'boolean', - 'rules': { - 'claim': '*', - 'mappedRole': { - 'roleArn': '*', - 'roleName': '*', - 'assumeRoleAction': '*', - 'policyFragment': '*', - 'principalAccount': '*', - 'grantPrincipal': { - 'assumeRoleAction': '*', - 'principalAccount': '*' - }, - 'stack': '*', - 'env': { - 'account': '*', - 'region': '*' - }, - 'node': '*' - }, - 'claimValue': '*', - 'matchType': 'RoleMappingMatchType' - } - } - }, 'IdentityPool': { 'identityPoolName': '*', 'authenticatedRole': { @@ -691,36 +616,6 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { }, 'addUserPoolAuthentication': [ '*' - ], - 'addRoleMappings': [ - { - 'providerUrl': '*', - 'mappingKey': '*', - 'useToken': 'boolean', - 'resolveAmbiguousRoles': 'boolean', - 'rules': { - 'claim': '*', - 'mappedRole': { - 'roleArn': '*', - 'roleName': '*', - 'assumeRoleAction': '*', - 'policyFragment': '*', - 'principalAccount': '*', - 'grantPrincipal': { - 'assumeRoleAction': '*', - 'principalAccount': '*' - }, - 'stack': '*', - 'env': { - 'account': '*', - 'region': '*' - }, - 'node': '*' - }, - 'claimValue': '*', - 'matchType': 'RoleMappingMatchType' - } - } ] } }, @@ -2065,9 +1960,14 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { '@aws-cdk.aws-ivs-alpha': { 'Channel': { 'authorized': 'boolean', + 'containerFormat': 'ContainerFormat', 'insecureIngest': 'boolean', 'latencyMode': 'LatencyMode', 'channelName': '*', + 'multitrackInputConfiguration': { + 'maximumResolution': 'MaximumResolution', + 'policy': 'Policy' + }, 'type': 'ChannelType', 'preset': 'Preset', 'recordingConfiguration': { @@ -7664,7 +7564,10 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'endpointExportName': '*', 'endpointTypes': 'EndpointType', 'disableExecuteApiEndpoint': 'boolean', - 'description': '*' + 'description': '*', + 'addToResourcePolicy': [ + '*' + ] }, 'RestApi': { 'binaryMediaTypes': '*', @@ -7847,6 +7750,9 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'disableCache': 'boolean', 'exposeHeaders': '*' }, + 'addToResourcePolicy': [ + '*' + ], 'addModel': [ '*', { @@ -11186,7 +11092,12 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'fleetName': '*', 'baseCapacity': '*', 'computeType': 'FleetComputeType', - 'environmentType': 'EnvironmentType' + 'environmentType': 'EnvironmentType', + 'computeConfiguration': { + 'disk': '*', + 'machineType': 'MachineType', + 'vCpu': '*' + } }, 'PipelineProject': {}, 'Project': { @@ -11602,7 +11513,9 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'maxOutputs': '*' }, 'inputs': '*', - 'variablesNamespace': '*' + 'variablesNamespace': '*', + 'commands': '*', + 'outputVariables': '*' } }, 'transitionToEnabled': 'boolean', @@ -11651,7 +11564,9 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'maxOutputs': '*' }, 'inputs': '*', - 'variablesNamespace': '*' + 'variablesNamespace': '*', + 'commands': '*', + 'outputVariables': '*' } }, 'pushFilter': { @@ -11712,7 +11627,9 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'maxOutputs': '*' }, 'inputs': '*', - 'variablesNamespace': '*' + 'variablesNamespace': '*', + 'commands': '*', + 'outputVariables': '*' } } } @@ -11767,7 +11684,9 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'maxOutputs': '*' }, 'inputs': '*', - 'variablesNamespace': '*' + 'variablesNamespace': '*', + 'commands': '*', + 'outputVariables': '*' } }, 'pushFilter': { @@ -11824,7 +11743,9 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'maxOutputs': '*' }, 'inputs': '*', - 'variablesNamespace': '*' + 'variablesNamespace': '*', + 'commands': '*', + 'outputVariables': '*' } }, '*' @@ -11891,7 +11812,30 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'readAttributes': '*', 'writeAttributes': '*', 'enableTokenRevocation': 'boolean', - 'enablePropagateAdditionalUserContextData': 'boolean' + 'enablePropagateAdditionalUserContextData': 'boolean', + 'analytics': { + 'application': '*', + 'applicationId': '*', + 'externalId': '*', + 'role': { + 'roleArn': '*', + 'roleName': '*', + 'assumeRoleAction': '*', + 'policyFragment': '*', + 'principalAccount': '*', + 'grantPrincipal': { + 'assumeRoleAction': '*', + 'principalAccount': '*' + }, + 'stack': '*', + 'env': { + 'account': '*', + 'region': '*' + }, + 'node': '*' + }, + 'shareUserData': 'boolean' + } }, 'UserPoolDomain': { 'userPool': { @@ -12064,6 +12008,16 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'requireSymbols': 'boolean', 'passwordHistorySize': '*' }, + 'signInPolicy': { + 'allowedFirstAuthFactors': { + 'password': 'boolean', + 'emailOtp': 'boolean', + 'smsOtp': 'boolean', + 'passkey': 'boolean' + } + }, + 'passkeyRelyingPartyId': '*', + 'passkeyUserVerification': 'PasskeyUserVerification', 'emailSettings': { 'from': '*', 'replyTo': '*' @@ -15053,6 +15007,12 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { }, 'clusterLogging': 'ClusterLoggingTypes', 'authenticationMode': 'AuthenticationMode', + 'remoteNodeNetworks': { + 'cidrs': '*' + }, + 'remotePodNetworks': { + 'cidrs': '*' + }, 'vpc': { 'vpcId': '*', 'vpcArn': '*', @@ -15630,6 +15590,12 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { }, 'clusterLogging': 'ClusterLoggingTypes', 'authenticationMode': 'AuthenticationMode', + 'remoteNodeNetworks': { + 'cidrs': '*' + }, + 'remotePodNetworks': { + 'cidrs': '*' + }, 'vpc': { 'vpcId': '*', 'vpcArn': '*', @@ -19476,6 +19442,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { }, 'node': '*' }, + 'databaseInsightsMode': 'DatabaseInsightsMode', 'autoMinorVersionUpgrade': 'boolean', 'clusterScalabilityType': 'ClusterScalabilityType', 'clusterScailabilityType': 'ClusterScailabilityType' @@ -19807,6 +19774,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { }, 'node': '*' }, + 'databaseInsightsMode': 'DatabaseInsightsMode', 'autoMinorVersionUpgrade': 'boolean', 'clusterScalabilityType': 'ClusterScalabilityType', 'clusterScailabilityType': 'ClusterScailabilityType' @@ -23593,9 +23561,6 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'aws-cdk-lib.lambda-layer-awscli': { 'AwsCliLayer': {} }, - 'aws-cdk-lib.lambda-layer-kubectl': { - 'KubectlLayer': {} - }, 'aws-cdk-lib.lambda-layer-node-proxy-agent': { 'NodeProxyAgentLayer': {} }, @@ -24874,7 +24839,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'rateLimit': '*', 'burstLimit': '*' }, - 'description': '*' + 'description': '*', + 'detailedMetricsEnabled': 'boolean' } ], 'addRoutes': [ @@ -24998,7 +24964,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'rateLimit': '*', 'burstLimit': '*' }, - 'description': '*' + 'description': '*', + 'detailedMetricsEnabled': 'boolean' }, 'VpcLink': { 'vpc': { @@ -25224,6 +25191,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'burstLimit': '*' }, 'description': '*', + 'detailedMetricsEnabled': 'boolean', 'grantManagementApiAccess': [ { 'grantPrincipal': { @@ -27980,6 +27948,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'deletionProtection': 'boolean', 'crossZoneEnabled': 'boolean', 'denyAllIgwTraffic': 'boolean', + 'minimumCapacityUnit': '*', 'addListener': [ '*', { @@ -28779,6 +28748,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'deletionProtection': 'boolean', 'crossZoneEnabled': 'boolean', 'denyAllIgwTraffic': 'boolean', + 'minimumCapacityUnit': '*', 'addListener': [ '*', { diff --git a/packages/aws-cdk-lib/core/lib/analytics-data-source/enums.ts b/packages/aws-cdk-lib/core/lib/analytics-data-source/enums.ts index 5635320ea03f8..deb3c9eb852d7 100644 --- a/packages/aws-cdk-lib/core/lib/analytics-data-source/enums.ts +++ b/packages/aws-cdk-lib/core/lib/analytics-data-source/enums.ts @@ -51,7 +51,8 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = { 'Test', 'Approval', 'Deploy', - 'Invoke' + 'Invoke', + 'Compute' ], 'ActionOnFailure': [ 'TERMINATE_CLUSTER', @@ -733,7 +734,8 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = { 'BUILD_LAMBDA_2GB', 'BUILD_LAMBDA_4GB', 'BUILD_LAMBDA_8GB', - 'BUILD_LAMBDA_10GB' + 'BUILD_LAMBDA_10GB', + 'ATTRIBUTE_BASED_COMPUTE' ], 'ConditionLogicalOperator': [ 'EQUALS' @@ -767,6 +769,10 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = { 'SUCCESS', 'HEALTHY' ], + 'ContainerFormat': [ + 'TS', + 'FRAGMENTED_MP4' + ], 'ContainerInsights': [ 'enabled', 'disabled', @@ -861,6 +867,10 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = { 'Grab', 'Here' ], + 'DatabaseInsightsMode': [ + 'standard', + 'advanced' + ], 'DayOfWeek': [ 'SUN', 'MON', @@ -1257,7 +1267,8 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = { 'BUILD_GENERAL1_MEDIUM', 'BUILD_GENERAL1_LARGE', 'BUILD_GENERAL1_XLARGE', - 'BUILD_GENERAL1_2XLARGE' + 'BUILD_GENERAL1_2XLARGE', + 'ATTRIBUTE_BASED_COMPUTE' ], 'FlowLogDestinationType': [ 'cloud-watch-logs', @@ -2206,6 +2217,10 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = { 0, 1 ], + 'MachineType': [ + 'GENERAL', + 'NVME' + ], 'MailFromBehaviorOnMxFailure': [ 'USE_DEFAULT_VALUE', 'REJECT_MESSAGE' @@ -2229,6 +2244,11 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = { 'Twelve_Hours', 'TwentyFour_Hours' ], + 'MaximumResolution': [ + 'FULL_HD', + 'HD', + 'SD' + ], 'MergeType': [ 'MANUAL_MERGE', 'AUTO_MERGE' @@ -2512,6 +2532,10 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = { 'EventTime', 'DeliveryTime' ], + 'PasskeyUserVerification': [ + 'preferred', + 'required' + ], 'PassthroughBehavior': [ 'WHEN_NO_MATCH', 'NEVER', @@ -2613,6 +2637,10 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = { 'x86-64', 'ARM64' ], + 'Policy': [ + 'ALLOW', + 'REQUIRE' + ], 'PolicyValidationReportStatusBeta1': [ 'success', 'failure' From 81deca170a31ce302f12700b7397ccb19b9be52a Mon Sep 17 00:00:00 2001 From: Eli Polonsky Date: Mon, 17 Feb 2025 19:48:28 +0200 Subject: [PATCH 3/4] chore: update changelog to reflect cfn schema reset --- CHANGELOG.v2.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.v2.md b/CHANGELOG.v2.md index 00dfb7a16f9a6..4941393331270 100644 --- a/CHANGELOG.v2.md +++ b/CHANGELOG.v2.md @@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file. See [standa ### Features +* reset L1 CloudFormation resource definitions to last known working version ([#33445](https://github.com/aws/aws-cdk/pull/33481)) * **cloudtrail:** throw `ValidationErrors` instead of untyped Errors ([#33455](https://github.com/aws/aws-cdk/issues/33455)) ([11a75b2](https://github.com/aws/aws-cdk/commit/11a75b287bbbc6067df52cf5946634877351d515)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569) * update L1 CloudFormation resource definitions ([#33445](https://github.com/aws/aws-cdk/issues/33445)) ([531280f](https://github.com/aws/aws-cdk/commit/531280f0bf8f73d173cd420a1642277119181dca)) * update L1 CloudFormation resource definitions ([#33475](https://github.com/aws/aws-cdk/issues/33475)) ([a7cacb8](https://github.com/aws/aws-cdk/commit/a7cacb8278896d54a2e7ff6384a8d4218fed0b33)) From f681cd1a33fa74949e43039165721559a02391dc Mon Sep 17 00:00:00 2001 From: Eli Polonsky Date: Mon, 17 Feb 2025 19:49:26 +0200 Subject: [PATCH 4/4] chore: Update CHANGELOG.v2.md --- CHANGELOG.v2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.v2.md b/CHANGELOG.v2.md index 4941393331270..ca89db2fd8407 100644 --- a/CHANGELOG.v2.md +++ b/CHANGELOG.v2.md @@ -11,7 +11,7 @@ All notable changes to this project will be documented in this file. See [standa ### Features -* reset L1 CloudFormation resource definitions to last known working version ([#33445](https://github.com/aws/aws-cdk/pull/33481)) +* reset L1 CloudFormation resource definitions to last known working version ([#33481](https://github.com/aws/aws-cdk/pull/33481)) * **cloudtrail:** throw `ValidationErrors` instead of untyped Errors ([#33455](https://github.com/aws/aws-cdk/issues/33455)) ([11a75b2](https://github.com/aws/aws-cdk/commit/11a75b287bbbc6067df52cf5946634877351d515)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569) * update L1 CloudFormation resource definitions ([#33445](https://github.com/aws/aws-cdk/issues/33445)) ([531280f](https://github.com/aws/aws-cdk/commit/531280f0bf8f73d173cd420a1642277119181dca)) * update L1 CloudFormation resource definitions ([#33475](https://github.com/aws/aws-cdk/issues/33475)) ([a7cacb8](https://github.com/aws/aws-cdk/commit/a7cacb8278896d54a2e7ff6384a8d4218fed0b33))