An Origin that is backed by an S3 bucket.
If the bucket is configured for website hosting, this origin will be configured to use the bucket as an HTTP server origin and will use the bucket's configured website redirects and error handling. Otherwise, the origin is created as a bucket origin and will use CloudFront's redirect and error handling.
new S3Origin(bucket: IBucket, props?: S3OriginProps)
|bind(scope, options)||The method called when a given Origin is added (for the first time) to a Distribution.|
public bind(scope: Construct, options: OriginBindOptions): OriginBindConfig
The method called when a given Origin is added (for the first time) to a Distribution.