Uses of Class
software.amazon.awscdk.services.cloudfront.origins.RestApiOrigin.Builder
Packages that use RestApiOrigin.Builder
Package
Description
CloudFront Origins for the CDK CloudFront Library
-
Uses of RestApiOrigin.Builder in software.amazon.awscdk.services.cloudfront.origins
Methods in software.amazon.awscdk.services.cloudfront.origins that return RestApiOrigin.BuilderModifier 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.BuilderRestApiOrigin.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.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.