Skip to content

Commit

Permalink
add: source for s3 URL regex
Browse files Browse the repository at this point in the history
  • Loading branch information
sreeram-narayanan committed Jan 15, 2024
1 parent ec32c6b commit 44ac54b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aws/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (

const (
// Regex for S3 URLs, VPCE interface endpoint
// Source - https://github.com/aws/amazon-ssm-agent/blob/mainline/agent/s3util/s3uri.go
vpceURLPattern = "^((.+)\\.)?" + // maybe a bucket name
"(bucket|accesspoint|control)\\.vpce-[-a-z0-9]+\\." + // VPC endpoint DNS name
"s3[.-]" + // S3 service name
Expand Down

0 comments on commit 44ac54b

Please sign in to comment.