Class OriginBase

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.OriginBase
All Implemented Interfaces:
IOrigin, software.amazon.jsii.JsiiSerializable
Direct Known Subclasses:
FunctionUrlOrigin, HttpOrigin, RestApiOrigin, S3BucketOrigin

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-17T21:37:27.662Z") @Stability(Stable) public abstract class OriginBase extends software.amazon.jsii.JsiiObject implements IOrigin
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.
  • Constructor Details

    • OriginBase

      protected OriginBase(software.amazon.jsii.JsiiObjectRef objRef)
    • OriginBase

      protected OriginBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • OriginBase

      @Stability(Stable) protected OriginBase(@NotNull String domainName, @Nullable OriginProps props)
      Parameters:
      domainName - This parameter is required.
      props -
    • OriginBase

      @Stability(Stable) protected OriginBase(@NotNull String domainName)
      Parameters:
      domainName - This parameter is required.
  • Method Details

    • bind

      @Stability(Stable) @NotNull public OriginBindConfig bind(@NotNull software.constructs.Construct _scope, @NotNull OriginBindOptions options)
      Binds the origin to the associated Distribution.

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

      Specified by:
      bind in interface IOrigin
      Parameters:
      _scope - This parameter is required.
      options - This parameter is required.
    • renderCustomOriginConfig

      @Stability(Stable) @Nullable protected CfnDistribution.CustomOriginConfigProperty renderCustomOriginConfig()
    • renderS3OriginConfig

      @Stability(Stable) @Nullable protected CfnDistribution.S3OriginConfigProperty renderS3OriginConfig()