AWS SDK for .NET Documentation
ViewerCertificate Class
AmazonAmazon.CloudFront.ModelViewerCertificate Did this page help you?   Yes   No    Tell us about it...
A complex type that contains information about viewer certificates for this distribution.
Declaration Syntax
C#
public class ViewerCertificate
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ViewerCertificate()()()()
Initializes a new instance of the ViewerCertificate class

CloudFrontDefaultCertificate
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.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IAMCertificateId
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.

SSLSupportMethod
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.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithCloudFrontDefaultCertificate(Boolean) Obsolete.
Sets the CloudFrontDefaultCertificate property

WithIAMCertificateId(String) Obsolete.
Sets the IAMCertificateId property

WithSSLSupportMethod(String) Obsolete.
Sets the SSLSupportMethod property

Inheritance Hierarchy
Object
ViewerCertificate

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)