Skip to content

Commit

Permalink
docs: add reference link for VPC origin traffic restriction (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
mazyu36 authored Feb 22, 2025
1 parent 81671c8 commit f88ff63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/constructs/cdn-load-balancer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export class CdnLoadBalancer extends Construct {
logBucket: cloudFrontAccessLogBucket,
});

// Ref: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront_origins-readme.html#restrict-traffic-coming-to-the-vpc-origin
const getSg = new cr.AwsCustomResource(this, 'GetSecurityGroup', {
onCreate: {
service: 'ec2',
Expand Down

0 comments on commit f88ff63

Please sign in to comment.