Uses of Interface
software.amazon.awscdk.services.cloudfront.IOrigin
Package
Description
Amazon CloudFront Construct Library
CloudFront Origins for the CDK CloudFront Library
-
Uses of IOrigin in software.amazon.awscdk.services.cloudfront
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIOrigin
.Modifier and TypeClassDescriptionstatic final class
A proxy class which represents a concrete javascript instance of this type.class
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.Modifier and TypeMethodDescriptionOriginFailoverConfig.getFailoverOrigin()
The origin to use as the fallback origin.final IOrigin
OriginFailoverConfig.Jsii$Proxy.getFailoverOrigin()
BehaviorOptions.getOrigin()
The origin that you want CloudFront to route requests to when they match this behavior.final IOrigin
BehaviorOptions.Jsii$Proxy.getOrigin()
Modifier and TypeMethodDescriptionvoid
Distribution.addBehavior
(String pathPattern, IOrigin origin) Adds a new behavior to this distribution for the given pathPattern.void
Distribution.addBehavior
(String pathPattern, IOrigin origin, AddBehaviorOptions behaviorOptions) Adds a new behavior to this distribution for the given pathPattern.OriginFailoverConfig.Builder.failoverOrigin
(IOrigin failoverOrigin) Sets the value ofOriginFailoverConfig.getFailoverOrigin()
Sets the value ofBehaviorOptions.getOrigin()
-
Uses of IOrigin in software.amazon.awscdk.services.cloudfront.origins
Modifier and TypeClassDescriptionclass
An Origin for a Lambda Function URL.class
An Origin for an HTTP server or S3 bucket configured for website hosting.class
An Origin for a v2 load balancer.class
An Origin that represents a group.class
An Origin for an API Gateway REST API.class
A S3 Bucket Origin.class
Deprecated.class
An Origin for a S3 bucket configured as a website endpoint.Modifier and TypeMethodDescriptionOriginGroupProps.getFallbackOrigin()
The fallback origin that should serve requests when the primary fails.final IOrigin
OriginGroupProps.Jsii$Proxy.getFallbackOrigin()
OriginGroupProps.getPrimaryOrigin()
The primary origin that should serve requests for this group.final IOrigin
OriginGroupProps.Jsii$Proxy.getPrimaryOrigin()
static IOrigin
S3BucketOrigin.withBucketDefaults
(IBucket bucket) Create a S3 Origin with default S3 bucket settings (no origin access control).static IOrigin
S3BucketOrigin.withBucketDefaults
(IBucket bucket, OriginProps props) Create a S3 Origin with default S3 bucket settings (no origin access control).static IOrigin
S3BucketOrigin.withOriginAccessControl
(IBucket bucket) Create a S3 Origin with Origin Access Control (OAC) configured.static IOrigin
S3BucketOrigin.withOriginAccessControl
(IBucket bucket, S3BucketOriginWithOACProps props) Create a S3 Origin with Origin Access Control (OAC) configured.static IOrigin
S3BucketOrigin.withOriginAccessIdentity
(IBucket bucket) Create a S3 Origin with Origin Access Identity (OAI) configured OAI is a legacy feature and we strongly recommend you to use OAC viawithOriginAccessControl()
unless it is not supported in your required region (e.g.static IOrigin
S3BucketOrigin.withOriginAccessIdentity
(IBucket bucket, S3BucketOriginWithOAIProps props) Create a S3 Origin with Origin Access Identity (OAI) configured OAI is a legacy feature and we strongly recommend you to use OAC viawithOriginAccessControl()
unless it is not supported in your required region (e.g.Modifier and TypeMethodDescriptionOriginGroup.Builder.fallbackOrigin
(IOrigin fallbackOrigin) The fallback origin that should serve requests when the primary fails.OriginGroupProps.Builder.fallbackOrigin
(IOrigin fallbackOrigin) Sets the value ofOriginGroupProps.getFallbackOrigin()
OriginGroup.Builder.primaryOrigin
(IOrigin primaryOrigin) The primary origin that should serve requests for this group.OriginGroupProps.Builder.primaryOrigin
(IOrigin primaryOrigin) Sets the value ofOriginGroupProps.getPrimaryOrigin()
S3BucketOrigin
orS3StaticWebsiteOrigin
instead.