AWSElasticLoadBalancingCreateListenerInput

Objective-C

@interface AWSElasticLoadBalancingCreateListenerInput

Swift

class AWSElasticLoadBalancingCreateListenerInput
  • [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:

    • HTTP1Only

    • HTTP2Only

    • HTTP2Optional

    • HTTP2Preferred

    • None

    For more information, see ALPN policies in the Network Load Balancers Guide.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable alpnPolicy;

    Swift

    var alpnPolicy: [String]? { get set }
  • [HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. Set CertificateArn to the certificate ARN but do not set IsDefault.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSElasticLoadBalancingCertificate *> *_Nullable certificates;

    Swift

    var certificates: [AWSElasticLoadBalancingCertificate]? { get set }
  • The actions for the default rule.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSElasticLoadBalancingAction *> *_Nullable defaultActions;

    Swift

    var defaultActions: [AWSElasticLoadBalancingAction]? { get set }
  • The Amazon Resource Name (ARN) of the load balancer.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable loadBalancerArn;

    Swift

    var loadBalancerArn: String? { get set }
  • The mutual authentication configuration information.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSElasticLoadBalancingMutualAuthenticationAttributes *_Nullable mutualAuthentication;

    Swift

    var mutualAuthentication: AWSElasticLoadBalancingMutualAuthenticationAttributes? { get set }
  • The port on which the load balancer is listening. You cannot specify a port for a Gateway Load Balancer.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable port;

    Swift

    var port: NSNumber? { get set }
  • The protocol for connections from clients to the load balancer. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP. You can’t specify the UDP or TCP_UDP protocol if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.

    Declaration

    Objective-C

    @property (nonatomic) AWSElasticLoadBalancingProtocolEnum protocols;

    Swift

    var protocols: AWSElasticLoadBalancingProtocolEnum { get set }
  • [HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.

    For more information, see Security policies in the Application Load Balancers Guide and Security policies in the Network Load Balancers Guide.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable sslPolicy;

    Swift

    var sslPolicy: String? { get set }
  • The tags to assign to the listener.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSElasticLoadBalancingTag *> *_Nullable tags;

    Swift

    var tags: [AWSElasticLoadBalancingTag]? { get set }