# OriginBase

Represents a distribution origin, that describes the Amazon S3 bucket, HTTP server (for example, a web server), Amazon MediaStore, or other server from which CloudFront gets your files.

Implements: [IOrigin](/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront.IOrigin.html)
Superclass of: [MediaPackageV2Origin](/cdk/api/v2/docs/@aws-cdk_aws-mediapackagev2-alpha.MediaPackageV2Origin.html), [FunctionUrlOrigin](/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront_origins.FunctionUrlOrigin.html), [HttpOrigin](/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront_origins.HttpOrigin.html), LoadBalancerV2Origin, RestApiOrigin, S3BucketOrigin, S3StaticWebsiteOrigin, VpcOrigin

- Source: [`aws-cloudfront/lib/origin.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-cloudfront/lib/origin.ts#L204)
- Type last changed: v2.216.0 · 22 Sep 2025

## Methods

- `bind(scope: Construct, options: OriginBindOptions): OriginBindConfig` — Binds the origin to the associated Distribution.

  Can be used to grant permissions, create dependent resources, etc.
