From 116a195c5d7b6ecfe318791edb5104ca9ebf8197 Mon Sep 17 00:00:00 2001 From: Patrick Ufer <46608534+patrickufer@users.noreply.github.com> Date: Wed, 6 Mar 2024 17:02:20 -0500 Subject: [PATCH] fix: upgrade cdk 2.131.0 (#210) * bump cdkVersion to "2.131.0" * run yarn projen * run yarn build --- .projen/deps.json | 2 +- .projenrc.ts | 2 +- API.md | 375 +++++++++++++++++- package.json | 4 +- src/generated-structs/OptionalARecordProps.ts | 37 ++ .../OptionalAaaaRecordProps.ts | 37 ++ .../OptionalCertificateProps.ts | 6 + .../OptionalCloudFrontFunctionProps.ts | 14 + .../OptionalDistributionProps.ts | 6 + .../OptionalEdgeFunctionProps.ts | 52 ++- .../OptionalFunctionProps.ts | 52 ++- .../OptionalProviderProps.ts | 11 + yarn.lock | 39 +- 13 files changed, 598 insertions(+), 39 deletions(-) diff --git a/.projen/deps.json b/.projen/deps.json index 6000d27f..e4192134 100644 --- a/.projen/deps.json +++ b/.projen/deps.json @@ -154,7 +154,7 @@ }, { "name": "aws-cdk-lib", - "version": "^2.110.0", + "version": "^2.131.0", "type": "peer" }, { diff --git a/.projenrc.ts b/.projenrc.ts index b9e27a8e..ccdb9b5f 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -50,7 +50,7 @@ const project = new awscdk.AwsCdkConstructLibrary({ gitignore: ['.idea', '.DS_Store'], // dependency config jsiiVersion: '~5.0.0', - cdkVersion: '2.110.0', + cdkVersion: '2.131.0', bundledDeps: [] /* Runtime dependencies of this module. */, devDeps: [ '@aws-crypto/sha256-js', diff --git a/API.md b/API.md index 2448765f..c5605e10 100644 --- a/API.md +++ b/API.md @@ -1605,6 +1605,9 @@ NextjsImage.fromFunctionArn(scope: Construct, id: string, functionArn: string) Import a lambda function into the CDK using its ARN. +For `Function.addPermissions()` to work on this imported lambda, make sure that is +in the same account and region as the stack you are importing it into. + ###### `scope`Required - *Type:* constructs.Construct @@ -1633,6 +1636,9 @@ NextjsImage.fromFunctionAttributes(scope: Construct, id: string, attrs: Function Creates a Lambda function object which represents a function not defined within this stack. +For `Function.addPermissions()` to work on this imported lambda, set the sameEnvironment property to true +if this imported lambda is in the same account and region as the stack you are importing it into. + ###### `scope`Required - *Type:* constructs.Construct @@ -4486,9 +4492,13 @@ const optionalAaaaRecordProps: OptionalAaaaRecordProps = { ... } | comment | string | A comment to add on the record. | | deleteExisting | boolean | Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. | | geoLocation | aws-cdk-lib.aws_route53.GeoLocation | The geographical origin for this record to return DNS records based on the user's location. | +| multiValueAnswer | boolean | Whether to return multiple values, such as IP addresses for your web servers, in response to DNS queries. | | recordName | string | The subdomain name for this record. | +| region | string | The Amazon EC2 Region where you created the resource that this resource record set refers to. | +| setIdentifier | string | A string used to distinguish between different records with the same combination of DNS name and type. | | target | aws-cdk-lib.aws_route53.RecordTarget | The target. | | ttl | aws-cdk-lib.Duration | The resource record cache time to live (TTL). | +| weight | number | Among resource record sets that have the same combination of DNS name and type, a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set. | | zone | aws-cdk-lib.aws_route53.IHostedZone | The hosted zone in which to define the new record. | --- @@ -4536,6 +4546,19 @@ The geographical origin for this record to return DNS records based on the user' --- +##### `multiValueAnswer`Optional + +```typescript +public readonly multiValueAnswer: boolean; +``` + +- *Type:* boolean +- *Default:* false + +Whether to return multiple values, such as IP addresses for your web servers, in response to DNS queries. + +--- + ##### `recordName`Optional ```typescript @@ -4556,6 +4579,43 @@ You can also specify the fully qualified domain name which terminates with a --- +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* Do not set latency based routing + +The Amazon EC2 Region where you created the resource that this resource record set refers to. + +The resource typically is an AWS resource, such as an EC2 instance or an ELB load balancer, +and is referred to by an IP address or a DNS domain name, depending on the record type. + +When Amazon Route 53 receives a DNS query for a domain name and type for which you have created latency resource record sets, +Route 53 selects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 Region. +Route 53 then returns the value that is associated with the selected resource record set. + +--- + +##### `setIdentifier`Optional + +```typescript +public readonly setIdentifier: string; +``` + +- *Type:* string +- *Default:* Auto generated string + +A string used to distinguish between different records with the same combination of DNS name and type. + +It can only be set when either weight or geoLocation is defined. + +This parameter must be between 1 and 128 characters in length. + +--- + ##### `target`Optional ```typescript @@ -4581,6 +4641,24 @@ The resource record cache time to live (TTL). --- +##### `weight`Optional + +```typescript +public readonly weight: number; +``` + +- *Type:* number +- *Default:* Do not set weighted routing + +Among resource record sets that have the same combination of DNS name and type, a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set. + +Route 53 calculates the sum of the weights for the resource record sets that have the same combination of DNS name and type. +Route 53 then responds to queries based on the ratio of a resource's weight to the total. + +This value can be a number between 0 and 255. + +--- + ##### `zone`Optional ```typescript @@ -4612,9 +4690,13 @@ const optionalARecordProps: OptionalARecordProps = { ... } | comment | string | A comment to add on the record. | | deleteExisting | boolean | Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. | | geoLocation | aws-cdk-lib.aws_route53.GeoLocation | The geographical origin for this record to return DNS records based on the user's location. | +| multiValueAnswer | boolean | Whether to return multiple values, such as IP addresses for your web servers, in response to DNS queries. | | recordName | string | The subdomain name for this record. | +| region | string | The Amazon EC2 Region where you created the resource that this resource record set refers to. | +| setIdentifier | string | A string used to distinguish between different records with the same combination of DNS name and type. | | target | aws-cdk-lib.aws_route53.RecordTarget | The target. | | ttl | aws-cdk-lib.Duration | The resource record cache time to live (TTL). | +| weight | number | Among resource record sets that have the same combination of DNS name and type, a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set. | | zone | aws-cdk-lib.aws_route53.IHostedZone | The hosted zone in which to define the new record. | --- @@ -4662,6 +4744,19 @@ The geographical origin for this record to return DNS records based on the user' --- +##### `multiValueAnswer`Optional + +```typescript +public readonly multiValueAnswer: boolean; +``` + +- *Type:* boolean +- *Default:* false + +Whether to return multiple values, such as IP addresses for your web servers, in response to DNS queries. + +--- + ##### `recordName`Optional ```typescript @@ -4682,6 +4777,43 @@ You can also specify the fully qualified domain name which terminates with a --- +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* Do not set latency based routing + +The Amazon EC2 Region where you created the resource that this resource record set refers to. + +The resource typically is an AWS resource, such as an EC2 instance or an ELB load balancer, +and is referred to by an IP address or a DNS domain name, depending on the record type. + +When Amazon Route 53 receives a DNS query for a domain name and type for which you have created latency resource record sets, +Route 53 selects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 Region. +Route 53 then returns the value that is associated with the selected resource record set. + +--- + +##### `setIdentifier`Optional + +```typescript +public readonly setIdentifier: string; +``` + +- *Type:* string +- *Default:* Auto generated string + +A string used to distinguish between different records with the same combination of DNS name and type. + +It can only be set when either weight or geoLocation is defined. + +This parameter must be between 1 and 128 characters in length. + +--- + ##### `target`Optional ```typescript @@ -4707,6 +4839,24 @@ The resource record cache time to live (TTL). --- +##### `weight`Optional + +```typescript +public readonly weight: number; +``` + +- *Type:* number +- *Default:* Do not set weighted routing + +Among resource record sets that have the same combination of DNS name and type, a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set. + +Route 53 calculates the sum of the weights for the resource record sets that have the same combination of DNS name and type. +Route 53 then responds to queries based on the ratio of a resource's weight to the total. + +This value can be a number between 0 and 255. + +--- + ##### `zone`Optional ```typescript @@ -4919,6 +5069,7 @@ const optionalCertificateProps: OptionalCertificateProps = { ... } | --- | --- | --- | | certificateName | string | The Certificate name. | | domainName | string | Fully-qualified domain name to request a certificate for. | +| keyAlgorithm | aws-cdk-lib.aws_certificatemanager.KeyAlgorithm | Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. | | subjectAlternativeNames | string[] | Alternative domain names on your certificate. | | transparencyLoggingEnabled | boolean | Enable or disable transparency logging for this certificate. | | validation | aws-cdk-lib.aws_certificatemanager.CertificateValidation | How to validate this certificate. | @@ -4954,6 +5105,19 @@ May contain wildcards, such as ``*.domain.com``. --- +##### `keyAlgorithm`Optional + +```typescript +public readonly keyAlgorithm: KeyAlgorithm; +``` + +- *Type:* aws-cdk-lib.aws_certificatemanager.KeyAlgorithm +- *Default:* KeyAlgorithm.RSA_2048 + +Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. + +--- + ##### `subjectAlternativeNames`Optional ```typescript @@ -5020,6 +5184,8 @@ const optionalCloudFrontFunctionProps: OptionalCloudFrontFunctionProps = { ... } | code | aws-cdk-lib.aws_cloudfront.FunctionCode | The source code of the function. | | comment | string | A comment to describe the function. | | functionName | string | A name to identify the function. | +| keyValueStore | aws-cdk-lib.aws_cloudfront.IKeyValueStore | The Key Value Store to associate with this function. | +| runtime | aws-cdk-lib.aws_cloudfront.FunctionRuntime | The runtime environment for the function. | --- @@ -5061,6 +5227,35 @@ A name to identify the function. --- +##### `keyValueStore`Optional + +```typescript +public readonly keyValueStore: IKeyValueStore; +``` + +- *Type:* aws-cdk-lib.aws_cloudfront.IKeyValueStore +- *Default:* no key value store is associated + +The Key Value Store to associate with this function. + +In order to associate a Key Value Store, the `runtime` must be +`cloudfront-js-2.0` or newer. + +--- + +##### `runtime`Optional + +```typescript +public readonly runtime: FunctionRuntime; +``` + +- *Type:* aws-cdk-lib.aws_cloudfront.FunctionRuntime +- *Default:* FunctionRuntime.JS_1_0 (unless `keyValueStore` is specified, then `FunctionRuntime.JS_2_0`) + +The runtime environment for the function. + +--- + ### OptionalCustomResourceProps OptionalCustomResourceProps. @@ -5237,6 +5432,7 @@ const optionalDistributionProps: OptionalDistributionProps = { ... } | logIncludesCookies | boolean | Specifies whether you want CloudFront to include cookies in access logs. | | minimumProtocolVersion | aws-cdk-lib.aws_cloudfront.SecurityPolicyProtocol | The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. | | priceClass | aws-cdk-lib.aws_cloudfront.PriceClass | The price class that corresponds with the maximum price that you want to pay for CloudFront service. | +| publishAdditionalMetrics | boolean | Whether to enable additional CloudWatch metrics. | | sslSupportMethod | aws-cdk-lib.aws_cloudfront.SSLMethod | The SSL method CloudFront will use for your distribution. | | webAclId | string | Unique identifier that specifies the AWS WAF web ACL to associate with this CloudFront distribution. | @@ -5482,6 +5678,19 @@ that has the lowest latency among the edge locations in your price class. --- +##### `publishAdditionalMetrics`Optional + +```typescript +public readonly publishAdditionalMetrics: boolean; +``` + +- *Type:* boolean +- *Default:* false + +Whether to enable additional CloudWatch metrics. + +--- + ##### `sslSupportMethod`Optional ```typescript @@ -5561,9 +5770,11 @@ const optionalEdgeFunctionProps: OptionalEdgeFunctionProps = { ... } | handler | string | The name of the method within your code that Lambda calls to execute your function. | | initialPolicy | aws-cdk-lib.aws_iam.PolicyStatement[] | Initial policy statements to add to the created Lambda Role. | | insightsVersion | aws-cdk-lib.aws_lambda.LambdaInsightsVersion | Specify the version of CloudWatch Lambda insights to use for monitoring. | +| ipv6AllowedForDualStack | boolean | Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. | | layers | aws-cdk-lib.aws_lambda.ILayerVersion[] | A list of layers to add to the function's execution environment. | | logFormat | string | Sets the logFormat for the function. | -| logGroup | aws-cdk-lib.aws_logs.ILogGroup | Sets the log group name for the function. | +| loggingFormat | aws-cdk-lib.aws_lambda.LoggingFormat | Sets the loggingFormat for the function. | +| logGroup | aws-cdk-lib.aws_logs.ILogGroup | The log group the function sends logs to. | | logRetention | aws-cdk-lib.aws_logs.RetentionDays | The number of days log events are kept in CloudWatch Logs. | | logRetentionRetryOptions | aws-cdk-lib.aws_lambda.LogRetentionRetryOptions | When log retention is specified, a custom resource attempts to create the CloudWatch log group. | | logRetentionRole | aws-cdk-lib.aws_iam.IRole | The IAM role for the Lambda function associated with the custom resource that sets the retention policy. | @@ -5617,6 +5828,9 @@ Whether to allow the Lambda to send all network traffic. If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets. +Do not specify this property if the `securityGroups` or `securityGroup` property is set. +Instead, configure `allowAllOutbound` directly on the security group. + --- ##### `allowPublicSubnet`Optional @@ -5641,7 +5855,7 @@ public readonly applicationLogLevel: string; ``` - *Type:* string -- *Default:* INFO +- *Default:* "INFO" Sets the application log level for the function. @@ -5896,6 +6110,21 @@ Specify the version of CloudWatch Lambda insights to use for monitoring. --- +##### `ipv6AllowedForDualStack`Optional + +```typescript +public readonly ipv6AllowedForDualStack: boolean; +``` + +- *Type:* boolean +- *Default:* false + +Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. + +Only used if 'vpc' is supplied. + +--- + ##### `layers`Optional ```typescript @@ -5920,12 +6149,25 @@ public readonly logFormat: string; ``` - *Type:* string -- *Default:* Text format +- *Default:* "Text" Sets the logFormat for the function. --- +##### `loggingFormat`Optional + +```typescript +public readonly loggingFormat: LoggingFormat; +``` + +- *Type:* aws-cdk-lib.aws_lambda.LoggingFormat +- *Default:* LoggingFormat.TEXT + +Sets the loggingFormat for the function. + +--- + ##### `logGroup`Optional ```typescript @@ -5933,9 +6175,17 @@ public readonly logGroup: ILogGroup; ``` - *Type:* aws-cdk-lib.aws_logs.ILogGroup -- *Default:* `/aws/lambda/${this.functionName}` default log group name created by Lambda +- *Default:* `/aws/lambda/${this.functionName}` - default log group created by Lambda + +The log group the function sends logs to. -Sets the log group name for the function. +By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/\. +However you cannot change the properties of this auto-created log group using the AWS CDK, e.g. you cannot set a different log retention. + +Use the `logGroup` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it. + +Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. +If you are deploying to another type of region, please check regional availability first. --- @@ -5954,6 +6204,20 @@ When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to `INFINITE`. +This is a legacy API and we strongly recommend you move away from it if you can. +Instead create a fully customizable log group with `logs.LogGroup` and use the `logGroup` property +to instruct the Lambda function to send logs to it. +Migrating from `logRetention` to `logGroup` will cause the name of the log group to change. +Users and code and referencing the name verbatim will have to adjust. + +In AWS CDK code, you can access the log group name directly from the LogGroup construct: +```ts +import * as logs from 'aws-cdk-lib/aws-logs'; + +declare const myLogGroup: logs.LogGroup; +myLogGroup.logGroupName; +``` + --- ##### `logRetentionRetryOptions`Optional @@ -5969,6 +6233,9 @@ When log retention is specified, a custom resource attempts to create the CloudW These options control the retry policy when interacting with CloudWatch APIs. +This is a legacy API and we strongly recommend you migrate to `logGroup` if you can. +`logGroup` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. + --- ##### `logRetentionRole`Optional @@ -5982,6 +6249,9 @@ public readonly logRetentionRole: IRole; The IAM role for the Lambda function associated with the custom resource that sets the retention policy. +This is a legacy API and we strongly recommend you migrate to `logGroup` if you can. +`logGroup` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. + --- ##### `maxEventAge`Optional @@ -6214,7 +6484,7 @@ public readonly systemLogLevel: string; ``` - *Type:* string -- *Default:* INFO +- *Default:* "INFO" Sets the system log level for the function. @@ -6321,9 +6591,11 @@ const optionalFunctionProps: OptionalFunctionProps = { ... } | handler | string | The name of the method within your code that Lambda calls to execute your function. | | initialPolicy | aws-cdk-lib.aws_iam.PolicyStatement[] | Initial policy statements to add to the created Lambda Role. | | insightsVersion | aws-cdk-lib.aws_lambda.LambdaInsightsVersion | Specify the version of CloudWatch Lambda insights to use for monitoring. | +| ipv6AllowedForDualStack | boolean | Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. | | layers | aws-cdk-lib.aws_lambda.ILayerVersion[] | A list of layers to add to the function's execution environment. | | logFormat | string | Sets the logFormat for the function. | -| logGroup | aws-cdk-lib.aws_logs.ILogGroup | Sets the log group name for the function. | +| loggingFormat | aws-cdk-lib.aws_lambda.LoggingFormat | Sets the loggingFormat for the function. | +| logGroup | aws-cdk-lib.aws_logs.ILogGroup | The log group the function sends logs to. | | logRetention | aws-cdk-lib.aws_logs.RetentionDays | The number of days log events are kept in CloudWatch Logs. | | logRetentionRetryOptions | aws-cdk-lib.aws_lambda.LogRetentionRetryOptions | When log retention is specified, a custom resource attempts to create the CloudWatch log group. | | logRetentionRole | aws-cdk-lib.aws_iam.IRole | The IAM role for the Lambda function associated with the custom resource that sets the retention policy. | @@ -6376,6 +6648,9 @@ Whether to allow the Lambda to send all network traffic. If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets. +Do not specify this property if the `securityGroups` or `securityGroup` property is set. +Instead, configure `allowAllOutbound` directly on the security group. + --- ##### `allowPublicSubnet`Optional @@ -6400,7 +6675,7 @@ public readonly applicationLogLevel: string; ``` - *Type:* string -- *Default:* INFO +- *Default:* "INFO" Sets the application log level for the function. @@ -6655,6 +6930,21 @@ Specify the version of CloudWatch Lambda insights to use for monitoring. --- +##### `ipv6AllowedForDualStack`Optional + +```typescript +public readonly ipv6AllowedForDualStack: boolean; +``` + +- *Type:* boolean +- *Default:* false + +Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. + +Only used if 'vpc' is supplied. + +--- + ##### `layers`Optional ```typescript @@ -6679,12 +6969,25 @@ public readonly logFormat: string; ``` - *Type:* string -- *Default:* Text format +- *Default:* "Text" Sets the logFormat for the function. --- +##### `loggingFormat`Optional + +```typescript +public readonly loggingFormat: LoggingFormat; +``` + +- *Type:* aws-cdk-lib.aws_lambda.LoggingFormat +- *Default:* LoggingFormat.TEXT + +Sets the loggingFormat for the function. + +--- + ##### `logGroup`Optional ```typescript @@ -6692,9 +6995,17 @@ public readonly logGroup: ILogGroup; ``` - *Type:* aws-cdk-lib.aws_logs.ILogGroup -- *Default:* `/aws/lambda/${this.functionName}` default log group name created by Lambda +- *Default:* `/aws/lambda/${this.functionName}` - default log group created by Lambda + +The log group the function sends logs to. -Sets the log group name for the function. +By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/\. +However you cannot change the properties of this auto-created log group using the AWS CDK, e.g. you cannot set a different log retention. + +Use the `logGroup` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it. + +Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. +If you are deploying to another type of region, please check regional availability first. --- @@ -6713,6 +7024,20 @@ When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to `INFINITE`. +This is a legacy API and we strongly recommend you move away from it if you can. +Instead create a fully customizable log group with `logs.LogGroup` and use the `logGroup` property +to instruct the Lambda function to send logs to it. +Migrating from `logRetention` to `logGroup` will cause the name of the log group to change. +Users and code and referencing the name verbatim will have to adjust. + +In AWS CDK code, you can access the log group name directly from the LogGroup construct: +```ts +import * as logs from 'aws-cdk-lib/aws-logs'; + +declare const myLogGroup: logs.LogGroup; +myLogGroup.logGroupName; +``` + --- ##### `logRetentionRetryOptions`Optional @@ -6728,6 +7053,9 @@ When log retention is specified, a custom resource attempts to create the CloudW These options control the retry policy when interacting with CloudWatch APIs. +This is a legacy API and we strongly recommend you migrate to `logGroup` if you can. +`logGroup` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. + --- ##### `logRetentionRole`Optional @@ -6741,6 +7069,9 @@ public readonly logRetentionRole: IRole; The IAM role for the Lambda function associated with the custom resource that sets the retention policy. +This is a legacy API and we strongly recommend you migrate to `logGroup` if you can. +`logGroup` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. + --- ##### `maxEventAge`Optional @@ -6960,7 +7291,7 @@ public readonly systemLogLevel: string; ``` - *Type:* string -- *Default:* INFO +- *Default:* "INFO" Sets the system log level for the function. @@ -8015,6 +8346,7 @@ const optionalProviderProps: OptionalProviderProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | | isCompleteHandler | aws-cdk-lib.aws_lambda.IFunction | The AWS Lambda function to invoke in order to determine if the operation is complete. | +| logGroup | aws-cdk-lib.aws_logs.ILogGroup | The Log Group used for logging of events emitted by the custom resource's lambda function. | | logRetention | aws-cdk-lib.aws_logs.RetentionDays | The number of days framework log events are kept in CloudWatch Logs. | | onEventHandler | aws-cdk-lib.aws_lambda.IFunction | The AWS Lambda function to invoke for all resource lifecycle operations (CREATE/UPDATE/DELETE). | | providerFunctionEnvEncryption | aws-cdk-lib.aws_kms.IKey | AWS KMS key used to encrypt provider lambda's environment variables. | @@ -8046,6 +8378,22 @@ passed, the operation will fail. --- +##### `logGroup`Optional + +```typescript +public readonly logGroup: ILogGroup; +``` + +- *Type:* aws-cdk-lib.aws_logs.ILogGroup +- *Default:* a default log group created by AWS Lambda + +The Log Group used for logging of events emitted by the custom resource's lambda function. + +Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. +If you are deploying to another type of region, please check regional availability first. + +--- + ##### `logRetention`Optional ```typescript @@ -8061,6 +8409,9 @@ When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to `INFINITE`. +This is a legacy API and we strongly recommend you migrate to `logGroup` if you can. +`logGroup` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. + --- ##### `onEventHandler`Optional diff --git a/package.json b/package.json index 6ef1e032..37b4e3c6 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "@types/node": "^18", "@typescript-eslint/eslint-plugin": "^6", "@typescript-eslint/parser": "^6", - "aws-cdk-lib": "2.110.0", + "aws-cdk-lib": "2.131.0", "aws-lambda": "^1.0.7", "constructs": "10.0.5", "esbuild": "^0.19.8", @@ -80,7 +80,7 @@ "undici": "^5.28.2" }, "peerDependencies": { - "aws-cdk-lib": "^2.110.0", + "aws-cdk-lib": "^2.131.0", "constructs": "^10.0.5" }, "keywords": [ diff --git a/src/generated-structs/OptionalARecordProps.ts b/src/generated-structs/OptionalARecordProps.ts index 9e337ce5..d59d5bd6 100644 --- a/src/generated-structs/OptionalARecordProps.ts +++ b/src/generated-structs/OptionalARecordProps.ts @@ -10,12 +10,43 @@ export interface OptionalARecordProps { * @stability stable */ readonly target?: aws_route53.RecordTarget; + /** + * Among resource record sets that have the same combination of DNS name and type, a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set. + * Route 53 calculates the sum of the weights for the resource record sets that have the same combination of DNS name and type. + * Route 53 then responds to queries based on the ratio of a resource's weight to the total. + * + * This value can be a number between 0 and 255. + * @default - Do not set weighted routing + * @stability stable + */ + readonly weight?: number; /** * The resource record cache time to live (TTL). * @default Duration.minutes(30) * @stability stable */ readonly ttl?: Duration; + /** + * A string used to distinguish between different records with the same combination of DNS name and type. + * It can only be set when either weight or geoLocation is defined. + * + * This parameter must be between 1 and 128 characters in length. + * @default - Auto generated string + * @stability stable + */ + readonly setIdentifier?: string; + /** + * The Amazon EC2 Region where you created the resource that this resource record set refers to. + * The resource typically is an AWS resource, such as an EC2 instance or an ELB load balancer, + * and is referred to by an IP address or a DNS domain name, depending on the record type. + * + * When Amazon Route 53 receives a DNS query for a domain name and type for which you have created latency resource record sets, + * Route 53 selects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 Region. + * Route 53 then returns the value that is associated with the selected resource record set. + * @default - Do not set latency based routing + * @stability stable + */ + readonly region?: string; /** * The subdomain name for this record. This should be relative to the zone root name. * For example, if you want to create a record for acme.example.com, specify @@ -27,6 +58,12 @@ export interface OptionalARecordProps { * @stability stable */ readonly recordName?: string; + /** + * Whether to return multiple values, such as IP addresses for your web servers, in response to DNS queries. + * @default false + * @stability stable + */ + readonly multiValueAnswer?: boolean; /** * The geographical origin for this record to return DNS records based on the user's location. * @stability stable diff --git a/src/generated-structs/OptionalAaaaRecordProps.ts b/src/generated-structs/OptionalAaaaRecordProps.ts index 2956b2b7..4139c43c 100644 --- a/src/generated-structs/OptionalAaaaRecordProps.ts +++ b/src/generated-structs/OptionalAaaaRecordProps.ts @@ -10,12 +10,43 @@ export interface OptionalAaaaRecordProps { * @stability stable */ readonly target?: aws_route53.RecordTarget; + /** + * Among resource record sets that have the same combination of DNS name and type, a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set. + * Route 53 calculates the sum of the weights for the resource record sets that have the same combination of DNS name and type. + * Route 53 then responds to queries based on the ratio of a resource's weight to the total. + * + * This value can be a number between 0 and 255. + * @default - Do not set weighted routing + * @stability stable + */ + readonly weight?: number; /** * The resource record cache time to live (TTL). * @default Duration.minutes(30) * @stability stable */ readonly ttl?: Duration; + /** + * A string used to distinguish between different records with the same combination of DNS name and type. + * It can only be set when either weight or geoLocation is defined. + * + * This parameter must be between 1 and 128 characters in length. + * @default - Auto generated string + * @stability stable + */ + readonly setIdentifier?: string; + /** + * The Amazon EC2 Region where you created the resource that this resource record set refers to. + * The resource typically is an AWS resource, such as an EC2 instance or an ELB load balancer, + * and is referred to by an IP address or a DNS domain name, depending on the record type. + * + * When Amazon Route 53 receives a DNS query for a domain name and type for which you have created latency resource record sets, + * Route 53 selects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 Region. + * Route 53 then returns the value that is associated with the selected resource record set. + * @default - Do not set latency based routing + * @stability stable + */ + readonly region?: string; /** * The subdomain name for this record. This should be relative to the zone root name. * For example, if you want to create a record for acme.example.com, specify @@ -27,6 +58,12 @@ export interface OptionalAaaaRecordProps { * @stability stable */ readonly recordName?: string; + /** + * Whether to return multiple values, such as IP addresses for your web servers, in response to DNS queries. + * @default false + * @stability stable + */ + readonly multiValueAnswer?: boolean; /** * The geographical origin for this record to return DNS records based on the user's location. * @stability stable diff --git a/src/generated-structs/OptionalCertificateProps.ts b/src/generated-structs/OptionalCertificateProps.ts index 27eb4ae4..8b643bf9 100644 --- a/src/generated-structs/OptionalCertificateProps.ts +++ b/src/generated-structs/OptionalCertificateProps.ts @@ -29,6 +29,12 @@ export interface OptionalCertificateProps { * @stability stable */ readonly subjectAlternativeNames?: Array; + /** + * Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. + * @default KeyAlgorithm.RSA_2048 + * @stability stable + */ + readonly keyAlgorithm?: aws_certificatemanager.KeyAlgorithm; /** * The Certificate name. * Since the Certificate resource doesn't support providing a physical name, the value provided here will be recorded in the `Name` tag diff --git a/src/generated-structs/OptionalCloudFrontFunctionProps.ts b/src/generated-structs/OptionalCloudFrontFunctionProps.ts index db40456e..24f40c06 100644 --- a/src/generated-structs/OptionalCloudFrontFunctionProps.ts +++ b/src/generated-structs/OptionalCloudFrontFunctionProps.ts @@ -5,6 +5,20 @@ import type { aws_cloudfront } from 'aws-cdk-lib'; * OptionalCloudFrontFunctionProps */ export interface OptionalCloudFrontFunctionProps { + /** + * The runtime environment for the function. + * @default FunctionRuntime.JS_1_0 (unless `keyValueStore` is specified, then `FunctionRuntime.JS_2_0`) + * @stability stable + */ + readonly runtime?: aws_cloudfront.FunctionRuntime; + /** + * The Key Value Store to associate with this function. + * In order to associate a Key Value Store, the `runtime` must be + * `cloudfront-js-2.0` or newer. + * @default - no key value store is associated + * @stability stable + */ + readonly keyValueStore?: aws_cloudfront.IKeyValueStore; /** * A name to identify the function. * @default - generated from the `id` diff --git a/src/generated-structs/OptionalDistributionProps.ts b/src/generated-structs/OptionalDistributionProps.ts index bfbd67cb..64daf374 100644 --- a/src/generated-structs/OptionalDistributionProps.ts +++ b/src/generated-structs/OptionalDistributionProps.ts @@ -31,6 +31,12 @@ export interface OptionalDistributionProps { * @stability stable */ readonly sslSupportMethod?: aws_cloudfront.SSLMethod; + /** + * Whether to enable additional CloudWatch metrics. + * @default false + * @stability stable + */ + readonly publishAdditionalMetrics?: boolean; /** * The price class that corresponds with the maximum price that you want to pay for CloudFront service. * If you specify PriceClass_All, CloudFront responds to requests for your objects from all CloudFront edge locations. diff --git a/src/generated-structs/OptionalEdgeFunctionProps.ts b/src/generated-structs/OptionalEdgeFunctionProps.ts index 6814e0bf..758e7068 100644 --- a/src/generated-structs/OptionalEdgeFunctionProps.ts +++ b/src/generated-structs/OptionalEdgeFunctionProps.ts @@ -77,7 +77,7 @@ export interface OptionalEdgeFunctionProps { readonly timeout?: Duration; /** * Sets the system log level for the function. - * @default INFO + * @default "INFO" * @stability stable */ readonly systemLogLevel?: string; @@ -154,6 +154,8 @@ Both supplied and generated roles can always be changed by calling `addToRolePol readonly memorySize?: number; /** * The IAM role for the Lambda function associated with the custom resource that sets the retention policy. + * This is a legacy API and we strongly recommend you migrate to `logGroup` if you can. + * `logGroup` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. * @default - A new role is created. * @stability stable */ @@ -161,6 +163,9 @@ Both supplied and generated roles can always be changed by calling `addToRolePol /** * When log retention is specified, a custom resource attempts to create the CloudWatch log group. * These options control the retry policy when interacting with CloudWatch APIs. + * + * This is a legacy API and we strongly recommend you migrate to `logGroup` if you can. + * `logGroup` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. * @default - Default AWS SDK retry options. * @stability stable */ @@ -170,19 +175,46 @@ Both supplied and generated roles can always be changed by calling `addToRolePol * When updating * this property, unsetting it doesn't remove the log retention policy. To * remove the retention policy, set the value to `INFINITE`. + * + * This is a legacy API and we strongly recommend you move away from it if you can. + * Instead create a fully customizable log group with `logs.LogGroup` and use the `logGroup` property + * to instruct the Lambda function to send logs to it. + * Migrating from `logRetention` to `logGroup` will cause the name of the log group to change. + * Users and code and referencing the name verbatim will have to adjust. + * + * In AWS CDK code, you can access the log group name directly from the LogGroup construct: + * ```ts + * import * as logs from 'aws-cdk-lib/aws-logs'; + * + * declare const myLogGroup: logs.LogGroup; + * myLogGroup.logGroupName; + * ``` * @default logs.RetentionDays.INFINITE * @stability stable */ readonly logRetention?: aws_logs.RetentionDays; /** - * Sets the log group name for the function. - * @default `/aws/lambda/${this.functionName}` default log group name created by Lambda + * The log group the function sends logs to. + * By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/\. + * However you cannot change the properties of this auto-created log group using the AWS CDK, e.g. you cannot set a different log retention. + * + * Use the `logGroup` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it. + * + * Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. + * If you are deploying to another type of region, please check regional availability first. + * @default `/aws/lambda/${this.functionName}` - default log group created by Lambda * @stability stable */ readonly logGroup?: aws_logs.ILogGroup; + /** + * Sets the loggingFormat for the function. + * @default LoggingFormat.TEXT + * @stability stable + */ + readonly loggingFormat?: aws_lambda.LoggingFormat; /** * Sets the logFormat for the function. - * @default Text format + * @default "Text" * @stability stable */ readonly logFormat?: string; @@ -195,6 +227,13 @@ Both supplied and generated roles can always be changed by calling `addToRolePol * @stability stable */ readonly layers?: Array; + /** + * Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. + * Only used if 'vpc' is supplied. + * @default false + * @stability stable + */ + readonly ipv6AllowedForDualStack?: boolean; /** * Specify the version of CloudWatch Lambda insights to use for monitoring. * @default - No Lambda Insights @@ -298,7 +337,7 @@ ID for the function's name. For more information, see Name Type. readonly architecture?: aws_lambda.Architecture; /** * Sets the application log level for the function. - * @default INFO + * @default "INFO" * @stability stable */ readonly applicationLogLevel?: string; @@ -313,6 +352,9 @@ ID for the function's name. For more information, see Name Type. * Whether to allow the Lambda to send all network traffic. * If set to false, you must individually add traffic rules to allow the * Lambda to connect to network targets. + * + * Do not specify this property if the `securityGroups` or `securityGroup` property is set. + * Instead, configure `allowAllOutbound` directly on the security group. * @default true * @stability stable */ diff --git a/src/generated-structs/OptionalFunctionProps.ts b/src/generated-structs/OptionalFunctionProps.ts index 57445e78..37460cba 100644 --- a/src/generated-structs/OptionalFunctionProps.ts +++ b/src/generated-structs/OptionalFunctionProps.ts @@ -71,7 +71,7 @@ export interface OptionalFunctionProps { readonly timeout?: Duration; /** * Sets the system log level for the function. - * @default INFO + * @default "INFO" * @stability stable */ readonly systemLogLevel?: string; @@ -148,6 +148,8 @@ Both supplied and generated roles can always be changed by calling `addToRolePol readonly memorySize?: number; /** * The IAM role for the Lambda function associated with the custom resource that sets the retention policy. + * This is a legacy API and we strongly recommend you migrate to `logGroup` if you can. + * `logGroup` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. * @default - A new role is created. * @stability stable */ @@ -155,6 +157,9 @@ Both supplied and generated roles can always be changed by calling `addToRolePol /** * When log retention is specified, a custom resource attempts to create the CloudWatch log group. * These options control the retry policy when interacting with CloudWatch APIs. + * + * This is a legacy API and we strongly recommend you migrate to `logGroup` if you can. + * `logGroup` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. * @default - Default AWS SDK retry options. * @stability stable */ @@ -164,19 +169,46 @@ Both supplied and generated roles can always be changed by calling `addToRolePol * When updating * this property, unsetting it doesn't remove the log retention policy. To * remove the retention policy, set the value to `INFINITE`. + * + * This is a legacy API and we strongly recommend you move away from it if you can. + * Instead create a fully customizable log group with `logs.LogGroup` and use the `logGroup` property + * to instruct the Lambda function to send logs to it. + * Migrating from `logRetention` to `logGroup` will cause the name of the log group to change. + * Users and code and referencing the name verbatim will have to adjust. + * + * In AWS CDK code, you can access the log group name directly from the LogGroup construct: + * ```ts + * import * as logs from 'aws-cdk-lib/aws-logs'; + * + * declare const myLogGroup: logs.LogGroup; + * myLogGroup.logGroupName; + * ``` * @default logs.RetentionDays.INFINITE * @stability stable */ readonly logRetention?: aws_logs.RetentionDays; /** - * Sets the log group name for the function. - * @default `/aws/lambda/${this.functionName}` default log group name created by Lambda + * The log group the function sends logs to. + * By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/\. + * However you cannot change the properties of this auto-created log group using the AWS CDK, e.g. you cannot set a different log retention. + * + * Use the `logGroup` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it. + * + * Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. + * If you are deploying to another type of region, please check regional availability first. + * @default `/aws/lambda/${this.functionName}` - default log group created by Lambda * @stability stable */ readonly logGroup?: aws_logs.ILogGroup; + /** + * Sets the loggingFormat for the function. + * @default LoggingFormat.TEXT + * @stability stable + */ + readonly loggingFormat?: aws_lambda.LoggingFormat; /** * Sets the logFormat for the function. - * @default Text format + * @default "Text" * @stability stable */ readonly logFormat?: string; @@ -189,6 +221,13 @@ Both supplied and generated roles can always be changed by calling `addToRolePol * @stability stable */ readonly layers?: Array; + /** + * Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. + * Only used if 'vpc' is supplied. + * @default false + * @stability stable + */ + readonly ipv6AllowedForDualStack?: boolean; /** * Specify the version of CloudWatch Lambda insights to use for monitoring. * @default - No Lambda Insights @@ -292,7 +331,7 @@ ID for the function's name. For more information, see Name Type. readonly architecture?: aws_lambda.Architecture; /** * Sets the application log level for the function. - * @default INFO + * @default "INFO" * @stability stable */ readonly applicationLogLevel?: string; @@ -307,6 +346,9 @@ ID for the function's name. For more information, see Name Type. * Whether to allow the Lambda to send all network traffic. * If set to false, you must individually add traffic rules to allow the * Lambda to connect to network targets. + * + * Do not specify this property if the `securityGroups` or `securityGroup` property is set. + * Instead, configure `allowAllOutbound` directly on the security group. * @default true * @stability stable */ diff --git a/src/generated-structs/OptionalProviderProps.ts b/src/generated-structs/OptionalProviderProps.ts index 16efcccb..f05c6fa7 100644 --- a/src/generated-structs/OptionalProviderProps.ts +++ b/src/generated-structs/OptionalProviderProps.ts @@ -69,10 +69,21 @@ group is created for each function. * When * updating this property, unsetting it doesn't remove the log retention policy. * To remove the retention policy, set the value to `INFINITE`. + * + * This is a legacy API and we strongly recommend you migrate to `logGroup` if you can. + * `logGroup` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. * @default logs.RetentionDays.INFINITE * @stability stable */ readonly logRetention?: aws_logs.RetentionDays; + /** + * The Log Group used for logging of events emitted by the custom resource's lambda function. + * Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. + * If you are deploying to another type of region, please check regional availability first. + * @default - a default log group created by AWS Lambda + * @stability stable + */ + readonly logGroup?: aws_logs.ILogGroup; /** * The AWS Lambda function to invoke in order to determine if the operation is complete. * This function will be called immediately after `onEvent` and then diff --git a/yarn.lock b/yarn.lock index 4ca6ed95..a3cb2094 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15,10 +15,10 @@ "@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/trace-mapping" "^0.3.9" -"@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-awscli-v1@^2.2.202": + version "2.2.202" + resolved "https://registry.yarnpkg.com/@aws-cdk/asset-awscli-v1/-/asset-awscli-v1-2.2.202.tgz#4627201d71f6a5c60db36385ce09cb81005f4b32" + integrity sha512-JqlF0D4+EVugnG5dAsNZMqhu3HW7ehOXm5SDMxMbXNDMdsF0pxtQKNHRl52z1U9igsHmaFpUgSGjbhAJ+0JONg== "@aws-cdk/asset-kubectl-v20@^2.1.2": version "2.1.2" @@ -2381,22 +2381,23 @@ 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.110.0: - version "2.110.0" - resolved "https://registry.yarnpkg.com/aws-cdk-lib/-/aws-cdk-lib-2.110.0.tgz#5af2a933a834b9efe3b99abf2c28adbd93f89547" - integrity sha512-4IxjdtaoGjQPqtFyYXG6kOs9t/UTAh06tlGyCPpvhTZNoKNFUkku3H6MArlazpiKtm+dThdF+p5lQLB/kIu/qw== +aws-cdk-lib@2.131.0: + version "2.131.0" + resolved "https://registry.yarnpkg.com/aws-cdk-lib/-/aws-cdk-lib-2.131.0.tgz#6e336e9a3e77b07052d28c017ea020f5c9948341" + integrity sha512-9XLgiTgY+q0S3K93VPeJO0chIN8BZwZ3aSrILvF868Dz+0NTNrD2m5M0xGK5Rw0uoJS+N+DvGaz/2hLAiVqcBw== dependencies: - "@aws-cdk/asset-awscli-v1" "^2.2.201" + "@aws-cdk/asset-awscli-v1" "^2.2.202" "@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.1" jsonschema "^1.4.1" + mime-types "^2.1.35" minimatch "^3.1.2" punycode "^2.3.1" - semver "^7.5.4" + semver "^7.6.0" table "^6.8.1" yaml "1.10.2" @@ -3669,7 +3670,7 @@ fs-extra@^10.1.0: jsonfile "^6.0.1" universalify "^2.0.0" -fs-extra@^11.1.1: +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== @@ -4039,6 +4040,11 @@ ignore@^5.2.0, ignore@^5.2.4: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.0.tgz#67418ae40d34d6999c95ff56016759c718c82f78" integrity sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg== +ignore@^5.3.1: + version "5.3.1" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef" + integrity sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw== + immediate@~3.0.5: version "3.0.6" resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b" @@ -5950,6 +5956,13 @@ semver@^6.0.0, semver@^6.3.0, semver@^6.3.1: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== +semver@^7.6.0: + version "7.6.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d" + integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg== + dependencies: + lru-cache "^6.0.0" + set-function-length@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.1.1.tgz#4bc39fafb0307224a33e106a7d35ca1218d659ed"