You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8cc9abe
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/@aws-cdk/aws-s3-assets/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,9 +32,10 @@ to an S3 bucket during deployment.
32
32
33
33
`Asset` constructs expose the following deploy-time attributes:
34
34
35
+
*`httpUrl` - the HTTP URL of the asset (i.e. https://s3.us-east-1.amazonaws.com/mybucket/mykey.zip)
35
36
*`s3BucketName` - the name of the assets S3 bucket.
36
37
*`s3ObjectKey` - the S3 object key of the asset file (whether it's a file or a zip archive)
37
-
*`s3Url` - the S3 URL of the asset (i.e. https://s3.us-east-1.amazonaws.com/mybucket/mykey.zip)
38
+
*`s3UrlObject` - the S3 URL of the asset (i.e. s3://mybucket/mykey.zip)
38
39
39
40
In the following example, the various asset attributes are exported as stack outputs:
0 commit comments