class OriginBase
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CloudFront.OriginBase |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#OriginBase |
![]() | software.amazon.awscdk.services.cloudfront.OriginBase |
![]() | aws_cdk.aws_cloudfront.OriginBase |
![]() | aws-cdk-lib » aws_cloudfront » OriginBase |
Implements
IOrigin
Implemented by
Function
, Http
, Load
, Rest
, S3
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
Origin
Props
Methods
Name | Description |
---|---|
bind(scope, options) | Binds the origin to the associated Distribution. |
protected render | |
protected render | |
protected render |
bind(scope, options)
public bind(scope: Construct, options: OriginBindOptions): OriginBindConfig
Parameters
- scope
Construct
- options
Origin
Bind 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
protected renderVpcOriginConfig()
protected renderVpcOriginConfig(): VpcOriginConfigProperty
Returns