Uses of Class
software.amazon.awscdk.services.cloudfront.origins.RestApiOrigin.Builder
Package
Description
CloudFront Origins for the CDK CloudFront Library
-
Uses of RestApiOrigin.Builder in software.amazon.awscdk.services.cloudfront.origins
Modifier and TypeMethodDescriptionRestApiOrigin.Builder.connectionAttempts
(Number connectionAttempts) The number of times that CloudFront attempts to connect to the origin;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
(RestApiBase restApi) 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.keepaliveTimeout
(Duration keepaliveTimeout) Specifies how long, in seconds, CloudFront persists its connection to the origin.RestApiOrigin.Builder.originAccessControlId
(String originAccessControlId) The unique identifier of an origin access control for this origin.A unique identifier for the origin.RestApiOrigin.Builder.originPath
(String originPath) An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.RestApiOrigin.Builder.originShieldEnabled
(Boolean originShieldEnabled) Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false.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.readTimeout
(Duration readTimeout) Specifies how long, in seconds, CloudFront waits for a response from the origin, also known as the origin response timeout.