IOrigin

class aws_cdk.aws_cloudfront.IOrigin(*args, **kwds)

Bases: typing_extensions.Protocol

Represents the concept of a CloudFront Origin.

You provide one or more origins when creating a Distribution.

Methods

bind(scope, *, origin_id)

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

Parameters
  • scope (Construct) –

  • origin_id (str) – The identifier of this Origin, as assigned by the Distribution this Origin has been used added to.

Return type

OriginBindConfig