Listener

public struct Listener : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The port on which the instance is listening.

    Declaration

    Swift

    public let instancePort: Int
  • The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or SSL. If the front-end protocol is TCP or SSL, the back-end protocol must be TCP or SSL. If the front-end protocol is HTTP or HTTPS, the back-end protocol must be HTTP or HTTPS. If there is another listener with the same InstancePort whose InstanceProtocol is secure, (HTTPS or SSL), the listener’s InstanceProtocol must also be secure. If there is another listener with the same InstancePort whose InstanceProtocol is HTTP or TCP, the listener’s InstanceProtocol must be HTTP or TCP.

    Declaration

    Swift

    public let instanceProtocol: String?
  • The port on which the load balancer is listening. On EC2-VPC, you can specify any port from the range 1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.

    Declaration

    Swift

    public let loadBalancerPort: Int
  • The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL.

    Declaration

    Swift

    public let `protocol`: String
  • The Amazon Resource Name (ARN) of the server certificate.

    Declaration

    Swift

    public let sSLCertificateId: String?
  • Undocumented

    Declaration

    Swift

    public init(instancePort: Int, instanceProtocol: String? = nil, loadBalancerPort: Int, protocol: String, sSLCertificateId: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws