| Package | Description |
|---|---|
| software.amazon.awscdk.services.cloudfront.origins |
CloudFront Origins for the CDK CloudFront Library
|
| Modifier and Type | Method and Description |
|---|---|
RestApiOrigin.Builder |
RestApiOrigin.Builder.connectionAttempts(Number connectionAttempts)
The number of times that CloudFront attempts to connect to the origin;
|
RestApiOrigin.Builder |
RestApiOrigin.Builder.connectionTimeout(Duration connectionTimeout)
The number of seconds that CloudFront waits when trying to establish a connection to the origin.
|
static RestApiOrigin.Builder |
RestApiOrigin.Builder.create(RestApi restApi) |
RestApiOrigin.Builder |
RestApiOrigin.Builder.customHeaders(Map<String,String> customHeaders)
A list of HTTP header names and values that CloudFront adds to requests it sends to the origin.
|
RestApiOrigin.Builder |
RestApiOrigin.Builder.keepaliveTimeout(Duration keepaliveTimeout)
Specifies how long, in seconds, CloudFront persists its connection to the origin.
|
RestApiOrigin.Builder |
RestApiOrigin.Builder.originShieldRegion(String originShieldRegion)
When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance.
|
RestApiOrigin.Builder |
RestApiOrigin.Builder.readTimeout(Duration readTimeout)
Specifies how long, in seconds, CloudFront waits for a response from the origin, also known as the origin response timeout.
|
Copyright © 2022. All rights reserved.