Skip to content

Commit

Permalink
revert accidentally deleted doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
samson-keung committed Aug 29, 2024
1 parent 06b471a commit e146ecf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ export abstract class S3BucketOrigin extends cloudfront.OriginBase {

/**
* Create a S3 Origin with Origin Access Identity (OAI) configured
* OAI is a legacy feature and we **strongly** recommend you to use OAC via `withOriginAccessControl()`
* unless it is not supported in your required region (e.g. China regions).
*/
public static withOriginAccessIdentity(bucket: IBucket, props?: S3BucketOriginWithOAIProps): cloudfront.IOrigin {
return new class extends S3BucketOrigin {
Expand Down

0 comments on commit e146ecf

Please sign in to comment.