aws-cdk-lib.aws_cloudfront.IOrigin

interface IOrigin

LanguageType name
.NETAmazon.CDK.AWS.CloudFront.IOrigin
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#IOrigin
Javasoftware.amazon.awscdk.services.cloudfront.IOrigin
Pythonaws_cdk.aws_cloudfront.IOrigin
TypeScript (source)aws-cdk-lib » aws_cloudfront » IOrigin

Implemented by HttpOrigin, LoadBalancerV2Origin, OriginGroup, RestApiOrigin, S3Origin

Represents the concept of a CloudFront Origin.

You provide one or more origins when creating a Distribution.

Methods

NameDescription
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 OriginBindOptions

Returns

  • OriginBindConfig

The method called when a given Origin is added (for the first time) to a Distribution.