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.

    To create a certificate list for the listener, use AddListenerCertificates.

    Declaration

    Objective-C

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

    Swift

    var certificates: [AWSElasticLoadBalancingCertificate]? { get set }
  • The actions for the default rule. The rule must include one forward action or one or more fixed-response actions.

    If the action type is forward, you specify one or more target groups. The protocol of the target group must be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP, TLS, UDP, or TCP_UDP for a Network Load Balancer.

    [HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through an identity provider that is OpenID Connect (OIDC) compliant.

    [HTTPS listeners] If the action type is authenticate-cognito, you authenticate users through the user pools supported by Amazon Cognito.

    [Application Load Balancer] If the action type is redirect, you redirect specified client requests from one URL to another.

    [Application Load Balancer] If the action type is fixed-response, you drop specified client requests and return a custom HTTP response.

    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 port on which the load balancer is listening.

    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.

    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. The following are the possible values:

    • ELBSecurityPolicy-2016-08

    • ELBSecurityPolicy-TLS-1-0-2015-04

    • ELBSecurityPolicy-TLS-1-1-2017-01

    • ELBSecurityPolicy-TLS-1-2-2017-01

    • ELBSecurityPolicy-TLS-1-2-Ext-2018-06

    • ELBSecurityPolicy-FS-2018-06

    • ELBSecurityPolicy-FS-1-1-2019-08

    • ELBSecurityPolicy-FS-1-2-2019-08

    • ELBSecurityPolicy-FS-1-2-Res-2019-08

    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 }