CustomOriginConfig class

A custom origin. A custom origin is any origin that is not an Amazon S3 bucket, with one exception. An Amazon S3 bucket that is configured with static website hosting is a custom 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 that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on.
final
hTTPSPort int
The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on.
final
originKeepaliveTimeout int?
Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don’t specify otherwise) is 5 seconds.
final
originProtocolPolicy OriginProtocolPolicy
Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are:
final
originReadTimeout int?
Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don’t specify otherwise) is 30 seconds.
final
originSslProtocols OriginSslProtocols?
Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS. Valid values include SSLv3, TLSv1, TLSv1.1, and TLSv1.2.
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