Fugue.AWS.ELB.ListenerServerCertificate

Table of Contents

Module Members

external

(Function)

Create a reference to an externally defined certificate appropriate for use with an Listener.

Example:

serverCert: ELB.ListenerServerCertificate.external("arn:aws:iam:REGION:YOURACCOUNTNUMBER:server-certificate/YOURCERTIFICATEARN")
listener: ELB.Listener.new {
  protocol: ELB.HTTPS,
  loadBalancerPort: 443,
  instancePort: 3000,
  serverCertificate: serverCert
}

Type Signature

 fun (String) -> ListenerServerCertificate
Argument: arn

The ARN of the certificate. Must be a certificate defined in IAM or ACM.

Type: String

Returns:

An ELB.ListenerServerCertificate that references the certificate specified by the provided arn.

Type: ListenerServerCertificate