interface IOrigin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudFront.IOrigin |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#IOrigin |
Java | software.amazon.awscdk.services.cloudfront.IOrigin |
Python | aws_cdk.aws_cloudfront.IOrigin |
TypeScript (source) | aws-cdk-lib » aws_cloudfront » IOrigin |
Implemented by
Function, Http, Load, Origin, Rest, S3, S3
Obtainable from
Function.withOriginAccessControl(), S3.withBucketDefaults(), S3.withOriginAccessControl(), S3.withOriginAccessIdentity()
Represents the concept of a CloudFront Origin.
You provide one or more origins when creating a Distribution.
Methods
| Name | Description |
|---|---|
| bind(scope, options) | The method called when a given Origin is added (for the first time) to a Distribution. |
bind(scope, options)
public bind(scope: Construct, options: OriginBindOptions): OriginBindConfig
Parameters
- scope
Construct - options
OriginBind Options
Returns
The method called when a given Origin is added (for the first time) to a Distribution.

.NET
Go
Java
Python
TypeScript (