Uses of Interface
software.amazon.awscdk.services.cloudfront.IOrigin
Packages that use IOrigin
Package
Description
Amazon CloudFront Construct Library
CloudFront Origins for the CDK CloudFront Library
-
Uses of IOrigin in software.amazon.awscdk.services.cloudfront
Subinterfaces of IOrigin in software.amazon.awscdk.services.cloudfrontModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIOrigin.Classes in software.amazon.awscdk.services.cloudfront that implement IOriginModifier and TypeClassDescriptionstatic final classA proxy class which represents a concrete javascript instance of this type.classRepresents 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 in software.amazon.awscdk.services.cloudfront that return IOriginModifier and TypeMethodDescriptionOriginFailoverConfig.getFailoverOrigin()The origin to use as the fallback origin.final IOriginOriginFailoverConfig.Jsii$Proxy.getFailoverOrigin()BehaviorOptions.getOrigin()The origin that you want CloudFront to route requests to when they match this behavior.final IOriginBehaviorOptions.Jsii$Proxy.getOrigin()Methods in software.amazon.awscdk.services.cloudfront with parameters of type IOriginModifier and TypeMethodDescriptionvoidDistribution.addBehavior(String pathPattern, IOrigin origin) Adds a new behavior to this distribution for the given pathPattern.voidDistribution.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
Classes in software.amazon.awscdk.services.cloudfront.origins that implement IOriginModifier and TypeClassDescriptionclassAn Origin for a Lambda Function URL.classAn Origin for an HTTP server or S3 bucket configured for website hosting.classAn Origin for a v2 load balancer.classAn Origin that represents a group.classAn Origin for an API Gateway REST API.classA S3 Bucket Origin.classDeprecated.classAn Origin for a S3 bucket configured as a website endpoint.classRepresents a distribution's VPC origin.Methods in software.amazon.awscdk.services.cloudfront.origins that return IOriginModifier and TypeMethodDescriptionOriginGroupProps.getFallbackOrigin()The fallback origin that should serve requests when the primary fails.final IOriginOriginGroupProps.Jsii$Proxy.getFallbackOrigin()OriginGroupProps.getPrimaryOrigin()The primary origin that should serve requests for this group.final IOriginOriginGroupProps.Jsii$Proxy.getPrimaryOrigin()static IOriginS3BucketOrigin.withBucketDefaults(IBucket bucket) Create a S3 Origin with default S3 bucket settings (no origin access control).static IOriginS3BucketOrigin.withBucketDefaults(IBucket bucket, OriginProps props) Create a S3 Origin with default S3 bucket settings (no origin access control).static IOriginFunctionUrlOrigin.withOriginAccessControl(IFunctionUrl lambdaFunctionUrl) Create a Lambda Function URL Origin with Origin Access Control (OAC) configured.static IOriginFunctionUrlOrigin.withOriginAccessControl(IFunctionUrl lambdaFunctionUrl, FunctionUrlOriginWithOACProps props) Create a Lambda Function URL Origin with Origin Access Control (OAC) configured.static IOriginS3BucketOrigin.withOriginAccessControl(IBucket bucket) Create a S3 Origin with Origin Access Control (OAC) configured.static IOriginS3BucketOrigin.withOriginAccessControl(IBucket bucket, S3BucketOriginWithOACProps props) Create a S3 Origin with Origin Access Control (OAC) configured.static IOriginS3BucketOrigin.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 IOriginS3BucketOrigin.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.Methods in software.amazon.awscdk.services.cloudfront.origins with parameters of type IOriginModifier 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()
S3BucketOriginorS3StaticWebsiteOrigininstead.