Uses of Class
software.amazon.awscdk.services.cloudfront.origins.LoadBalancerV2Origin.Builder
Package
Description
CloudFront Origins for the CDK CloudFront Library
-
Uses of LoadBalancerV2Origin.Builder in software.amazon.awscdk.services.cloudfront.origins
Modifier and TypeMethodDescriptionLoadBalancerV2Origin.Builder.connectionAttempts
(Number connectionAttempts) The number of times that CloudFront attempts to connect to the origin;LoadBalancerV2Origin.Builder.connectionTimeout
(Duration connectionTimeout) The number of seconds that CloudFront waits when trying to establish a connection to the origin.static LoadBalancerV2Origin.Builder
LoadBalancerV2Origin.Builder.create
(ILoadBalancerV2 loadBalancer) LoadBalancerV2Origin.Builder.customHeaders
(Map<String, String> customHeaders) A list of HTTP header names and values that CloudFront adds to requests it sends to the origin.The HTTP port that CloudFront uses to connect to the origin.The HTTPS port that CloudFront uses to connect to the origin.LoadBalancerV2Origin.Builder.keepaliveTimeout
(Duration keepaliveTimeout) Specifies how long, in seconds, CloudFront persists its connection to the origin.LoadBalancerV2Origin.Builder.originAccessControlId
(String originAccessControlId) The unique identifier of an origin access control for this origin.A unique identifier for the origin.LoadBalancerV2Origin.Builder.originPath
(String originPath) An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.LoadBalancerV2Origin.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.LoadBalancerV2Origin.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.LoadBalancerV2Origin.Builder.originSslProtocols
(List<? extends OriginSslPolicy> originSslProtocols) The SSL versions to use when interacting with the origin.LoadBalancerV2Origin.Builder.protocolPolicy
(OriginProtocolPolicy protocolPolicy) Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.LoadBalancerV2Origin.Builder.readTimeout
(Duration readTimeout) Specifies how long, in seconds, CloudFront waits for a response from the origin, also known as the origin response timeout.