Show / Hide Table of Contents

Class 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.

Inheritance
object
OriginBase
FunctionUrlOrigin
HttpOrigin
RestApiOrigin
S3BucketOrigin
VpcOrigin_
Implements
IOrigin
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class OriginBase : DeputyBase, IOrigin
Syntax (vb)
Public MustInherit Class OriginBase Inherits DeputyBase Implements IOrigin

Synopsis

Constructors

OriginBase(string, IOriginProps?)

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.

Methods

Bind(Construct, IOriginBindOptions)

Binds the origin to the associated Distribution.

RenderCustomOriginConfig()

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.

RenderS3OriginConfig()

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.

RenderVpcOriginConfig()

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.

ValidateResponseCompletionTimeoutWithReadTimeout(Duration?, Duration?)

Validates that responseCompletionTimeout is greater than or equal to readTimeout when both are specified.

Constructors

OriginBase(string, IOriginProps?)

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.

protected OriginBase(string domainName, IOriginProps? props = null)
Parameters
domainName string
props IOriginProps

Methods

Bind(Construct, IOriginBindOptions)

Binds the origin to the associated Distribution.

public virtual IOriginBindConfig Bind(Construct scope, IOriginBindOptions options)
Parameters
scope Construct
options IOriginBindOptions
Returns

IOriginBindConfig

Remarks

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

RenderCustomOriginConfig()

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.

protected virtual CfnDistribution.ICustomOriginConfigProperty? RenderCustomOriginConfig()
Returns

CfnDistribution.ICustomOriginConfigProperty

RenderS3OriginConfig()

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.

protected virtual CfnDistribution.IS3OriginConfigProperty? RenderS3OriginConfig()
Returns

CfnDistribution.IS3OriginConfigProperty

RenderVpcOriginConfig()

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.

protected virtual CfnDistribution.IVpcOriginConfigProperty? RenderVpcOriginConfig()
Returns

CfnDistribution.IVpcOriginConfigProperty

ValidateResponseCompletionTimeoutWithReadTimeout(Duration?, Duration?)

Validates that responseCompletionTimeout is greater than or equal to readTimeout when both are specified.

protected virtual void ValidateResponseCompletionTimeoutWithReadTimeout(Duration? responseCompletionTimeout = null, Duration? readTimeout = null)
Parameters
responseCompletionTimeout Duration
readTimeout Duration
Remarks

This method should be called by subclasses that support readTimeout.

Implements

IOrigin
Back to top Generated by DocFX