Skip to content

Commit

Permalink
rewording
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgrain committed Jan 31, 2024
1 parent 38e04d2 commit 412da51
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/aws-cdk-lib/aws-lambda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1011,8 +1011,8 @@ new lambda.Function(this, 'Lambda', {
});
```

Providing a custom, user controlled log group this way is not yet supported in all regions, namely GovCloud and CN.
Please check regional availability.
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.

### Legacy Log Retention

Expand Down
3 changes: 2 additions & 1 deletion packages/aws-cdk-lib/aws-lambda/lib/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,8 @@ export interface FunctionOptions extends EventInvokeConfigOptions {
*
* Use the `logGroup` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it.
*
* Not yet supported in GovCloud and CN regions. Please check regional availability.
* 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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ export interface BucketDeploymentProps {
/**
* The Log Group used for logging of events emitted by the custom resource's lambda function.
*
* Not yet supported in GovCloud and CN regions. Please check regional availability.
* 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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,8 @@ export interface AwsCustomResourceProps {
/**
* The Log Group used for logging of events emitted by the custom resource's lambda function.
*
* Not yet supported in GovCloud and CN regions. Please check regional availability.
* 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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ export interface ProviderProps {
/**
* The Log Group used for logging of events emitted by the custom resource's lambda function.
*
* Not yet supported in GovCloud and CN regions. Please check regional availability.
* 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
*/
Expand Down

0 comments on commit 412da51

Please sign in to comment.