This is the preferred interface for making CloudFront ViewerCertificates with Fugue. If you want to manage a CloudFront ViewerCertificate with Fugue, the new function is the right place to start.

Table of Contents

Module Members



new CloudFront ViewerCertificate (Constructor)

Call this constructor to create a new Fugue.Core.AWS.CloudFront.ViewerCertificate value.

Type Signature

 fun { cloudFrontDefaultCertificate: Optional<Bool>,
       sslSupportMethod: Optional<SSLSupportMethod>,
       minimumProtocolVersion: Optional<MinimumProtocolVersion>,
       acmCertificate: Optional<AcmCertificate>,
       iamCertificate: Optional<IAMCertificate> } -> ViewerCertificate
Argument: 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, set to true.

Type: Optional<Bool>

Argument: sslSupportMethod

A CloudFront.SSLSupportMethod value that specifies how you want CloudFront to serve HTTPS requests.

Type: Optional<SSLSupportMethod>

Argument: minimumProtocolVersion

A CloudFront.MinimumProtocolVersion value that specifies the minimum version of the SSL protocol that you want CloudFront to use, SSLv3 or TLSv1, for HTTPS connections. CloudFront will serve your objects only to browsers or devices that support at least the SSL version that you specify.

Type: Optional<MinimumProtocolVersion>

Argument: acmCertificate

A CloudFront.AcmCertificate value that points to an external ACM Certificate.

Type: Optional<AcmCertificate>

Argument: iamCertificate

A CloudFront.IAMCertificate value that points to an external IAM Certificate.

Type: Optional<IAMCertificate>


A Fugue.Core.AWS.CloudFront.ViewerCertificate value.

Type: ViewerCertificate