| Package | Description |
|---|---|
| software.amazon.awscdk.services.cloudfront |
Amazon CloudFront Construct Library
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IOrigin.Jsii$Default
Internal default implementation for
IOrigin. |
| Modifier and Type | Class and Description |
|---|---|
static class |
IOrigin.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
IOrigin |
OriginFailoverConfig.getFailoverOrigin()
The origin to use as the fallback origin.
|
IOrigin |
OriginFailoverConfig.Jsii$Proxy.getFailoverOrigin() |
IOrigin |
BehaviorOptions.getOrigin()
The origin that you want CloudFront to route requests to when they match this behavior.
|
IOrigin |
BehaviorOptions.Jsii$Proxy.getOrigin() |
| Modifier and Type | Method and Description |
|---|---|
void |
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 |
OriginFailoverConfig.Builder.failoverOrigin(IOrigin failoverOrigin)
Sets the value of
OriginFailoverConfig.getFailoverOrigin() |
BehaviorOptions.Builder |
BehaviorOptions.Builder.origin(IOrigin origin)
Sets the value of
BehaviorOptions.getOrigin() |
Copyright © 2022. All rights reserved.