OriginShield class

CloudFront Origin Shield.

Using Origin Shield can help reduce the load on your origin. For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide.

Constructors

OriginShield({required bool enabled, String? originShieldRegion})
OriginShield.fromXml(XmlElement elem)
factory

Properties

enabled bool
A flag that specifies whether Origin Shield is enabled.
final
hashCode int
The hash code for this object.
no setterinherited
originShieldRegion String?
The AWS Region for Origin Shield.
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