class OriginBase
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudFront.OriginBase |
Java | software.amazon.awscdk.services.cloudfront.OriginBase |
Python | aws_cdk.aws_cloudfront.OriginBase |
TypeScript (source) | @aws-cdk/aws-cloudfront » OriginBase |
Implements
IOrigin
Implemented by
Http, Load, Rest
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.
Initializer (protected)
super(domainName: string, props?: OriginProps)
Parameters
- domainName
string - props
OriginProps
Methods
| Name | Description |
|---|---|
| bind(_scope, options) | Binds the origin to the associated Distribution. |
| protected render | |
| protected render |
bind(_scope, options)
public bind(_scope: Construct, options: OriginBindOptions): OriginBindConfig
Parameters
- _scope
Construct - options
OriginBind Options
Returns
Binds the origin to the associated Distribution.
Can be used to grant permissions, create dependent resources, etc.
protected renderCustomOriginConfig()
protected renderCustomOriginConfig(): CustomOriginConfigProperty
Returns
protected renderS3OriginConfig()
protected renderS3OriginConfig(): S3OriginConfigProperty
Returns

.NET
Java
Python
TypeScript (