-
Notifications
You must be signed in to change notification settings - Fork 4.5k
s3 asset object s3 url #7221
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-s3-assetseffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.good first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdin-progressThis issue is being actively worked on.This issue is being actively worked on.
Description
add a method or property to get the 's3://bucket/key' style url from the Asset in aws-s3-assets
Use Case
In many places s3 assets are used in other constructs. In many projects I see:
people doing something like: s3://${myAsset.s3BucketName}/${myAsset.s3ObjectKey}
you could easily make small mistakes doing this, while it's such a common need.
Proposed Solution
add a property to Asset s3ObjectUrl which holds s3://${myAsset.s3BucketName}/${myAsset.s3ObjectKey}
Other
- 👋 I may be able to implement this feature request
-
⚠️ This feature might incur a breaking change
This is a 🚀 Feature Request
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-s3-assetseffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.good first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdin-progressThis issue is being actively worked on.This issue is being actively worked on.