ViewerCertificate class

A complex type that specifies the following:

  • Which SSL/TLS certificate to use when viewers request objects using HTTPS
  • Whether you want CloudFront to use dedicated IP addresses or SNI when you're using alternate domain names in your object names
  • The minimum protocol version that you want CloudFront to use when communicating with viewers
For more information, see Using an HTTPS Connection to Access Your Objects in the Amazon Amazon CloudFront Developer Guide.

Constructors

ViewerCertificate({String? aCMCertificateArn, String? certificate, CertificateSource? certificateSource, bool? cloudFrontDefaultCertificate, String? iAMCertificateId, MinimumProtocolVersion? minimumProtocolVersion, SSLSupportMethod? sSLSupportMethod})
ViewerCertificate.fromXml(XmlElement elem)
factory

Properties

aCMCertificateArn String?
final
certificate String?
Include one of these values to specify the following:
final
certificateSource CertificateSource?
final
cloudFrontDefaultCertificate bool?
final
hashCode int
The hash code for this object.
no setterinherited
iAMCertificateId String?
final
minimumProtocolVersion MinimumProtocolVersion?
Specify the minimum version of the SSL/TLS protocol that you want CloudFront to use for HTTPS connections between viewers and CloudFront: SSLv3 or TLSv1. CloudFront serves your objects only to viewers that support SSL/TLS version that you specify and later versions. The TLSv1 protocol is more secure, so we recommend that you specify SSLv3 only if your users are using browsers or devices that don't support TLSv1. Note the following:
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sSLSupportMethod SSLSupportMethod?
If you specify a value for ACMCertificateArn or for IAMCertificateId, you must also specify how you want CloudFront to serve HTTPS requests: using a method that works for all clients or one that works for most clients:
final

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