A complex type that contains information about viewer certificates for this distribution.
public class ViewerCertificate
Initializes a new instance of theclass
Gets and sets the property CloudFrontDefaultCertificate. If you want viewers to use HTTPS to request your objects and you're using the CloudFront domain name of your distribution in your object URLs (for example, https://d111111abcdef8.cloudfront.net/logo.jpg), set to true. Omit this value if you are setting an IAMCertificateId.
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the type of the current instance.(Inherited from Object.)
Gets and sets the property IAMCertificateId. If you want viewers to use HTTPS to request your objects and you're using an alternate domain name in your object URLs (for example, https://example.com/logo.jpg), specify the IAM certificate identifier of the custom viewer certificate for this distribution. Specify either this value or CloudFrontDefaultCertificate.
Gets and sets the property SSLSupportMethod. If you specify a value for IAMCertificateId, you must also specify how you want CloudFront to serve HTTPS requests. Valid values are vip and sni-only. If you specify vip, CloudFront uses dedicated IP addresses for your content and can respond to HTTPS requests from any viewer. However, you must request permission to use this feature, and you incur additional monthly charges. If you specify sni-only, CloudFront can only respond to HTTPS requests from viewers that support Server Name Indication (SNI). All modern browsers support SNI, but some browsers still in use don't support SNI. Do not specify a value for SSLSupportMethod if you specified true for CloudFrontDefaultCertificate.
Returns a string that represents the current object.(Inherited from Object.)
Sets the CloudFrontDefaultCertificate property
Sets the IAMCertificateId property
Sets the SSLSupportMethod property
Assembly: AWSSDK (Module: AWSSDK) Version: 188.8.131.52 (184.108.40.206)