CustomOriginConfig class

A customer origin.

Constructors

CustomOriginConfig({required int hTTPPort, required int hTTPSPort, required OriginProtocolPolicy originProtocolPolicy, int? originKeepaliveTimeout, int? originReadTimeout, OriginSslProtocols? originSslProtocols})
CustomOriginConfig.fromXml(XmlElement elem)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hTTPPort int
The HTTP port the custom origin listens on.
final
hTTPSPort int
The HTTPS port the custom origin listens on.
final
originKeepaliveTimeout int?
You can create a custom keep-alive timeout. All timeout units are in seconds. The default keep-alive timeout is 5 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 1 second; the maximum is 60 seconds.
final
originProtocolPolicy OriginProtocolPolicy
The origin protocol policy to apply to your origin.
final
originReadTimeout int?
You can create a custom origin read timeout. All timeout units are in seconds. The default origin read timeout is 30 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 4 seconds; the maximum is 60 seconds.
final
originSslProtocols OriginSslProtocols?
The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toXml(String elemName, {List<XmlAttribute>? attributes}) → XmlElement

Operators

operator ==(Object other) bool
The equality operator.
inherited