// // Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). // You may not use this file except in compliance with the License. // A copy of the License is located at // // http://aws.amazon.com/apache2.0 // // or in the "license" file accompanying this file. This file is distributed // on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either // express or implied. See the License for the specific language governing // permissions and limitations under the License. // #import #import #import NS_ASSUME_NONNULL_BEGIN FOUNDATION_EXPORT NSString *const AWSElasticLoadBalancingErrorDomain; typedef NS_ENUM(NSInteger, AWSElasticLoadBalancingErrorType) { AWSElasticLoadBalancingErrorUnknown, AWSElasticLoadBalancingErrorALPNPolicyNotSupported, AWSElasticLoadBalancingErrorAllocationIdNotFound, AWSElasticLoadBalancingErrorAvailabilityZoneNotSupported, AWSElasticLoadBalancingErrorCertificateNotFound, AWSElasticLoadBalancingErrorDuplicateListener, AWSElasticLoadBalancingErrorDuplicateLoadBalancerName, AWSElasticLoadBalancingErrorDuplicateTagKeys, AWSElasticLoadBalancingErrorDuplicateTargetGroupName, AWSElasticLoadBalancingErrorHealthUnavailable, AWSElasticLoadBalancingErrorIncompatibleProtocols, AWSElasticLoadBalancingErrorInvalidConfigurationRequest, AWSElasticLoadBalancingErrorInvalidLoadBalancerAction, AWSElasticLoadBalancingErrorInvalidScheme, AWSElasticLoadBalancingErrorInvalidSecurityGroup, AWSElasticLoadBalancingErrorInvalidSubnet, AWSElasticLoadBalancingErrorInvalidTarget, AWSElasticLoadBalancingErrorListenerNotFound, AWSElasticLoadBalancingErrorLoadBalancerNotFound, AWSElasticLoadBalancingErrorOperationNotPermitted, AWSElasticLoadBalancingErrorPriorityInUse, AWSElasticLoadBalancingErrorResourceInUse, AWSElasticLoadBalancingErrorRuleNotFound, AWSElasticLoadBalancingErrorSSLPolicyNotFound, AWSElasticLoadBalancingErrorSubnetNotFound, AWSElasticLoadBalancingErrorTargetGroupAssociationLimit, AWSElasticLoadBalancingErrorTargetGroupNotFound, AWSElasticLoadBalancingErrorTooManyActions, AWSElasticLoadBalancingErrorTooManyCertificates, AWSElasticLoadBalancingErrorTooManyListeners, AWSElasticLoadBalancingErrorTooManyLoadBalancers, AWSElasticLoadBalancingErrorTooManyRegistrationsForTargetId, AWSElasticLoadBalancingErrorTooManyRules, AWSElasticLoadBalancingErrorTooManyTags, AWSElasticLoadBalancingErrorTooManyTargetGroups, AWSElasticLoadBalancingErrorTooManyTargets, AWSElasticLoadBalancingErrorTooManyUniqueTargetGroupsPerLoadBalancer, AWSElasticLoadBalancingErrorUnsupportedProtocol, }; typedef NS_ENUM(NSInteger, AWSElasticLoadBalancingActionTypeEnum) { AWSElasticLoadBalancingActionTypeEnumUnknown, AWSElasticLoadBalancingActionTypeEnumForward, AWSElasticLoadBalancingActionTypeEnumAuthenticateOidc, AWSElasticLoadBalancingActionTypeEnumAuthenticateCognito, AWSElasticLoadBalancingActionTypeEnumRedirect, AWSElasticLoadBalancingActionTypeEnumFixedResponse, }; typedef NS_ENUM(NSInteger, AWSElasticLoadBalancingAuthenticateCognitoActionConditionalBehaviorEnum) { AWSElasticLoadBalancingAuthenticateCognitoActionConditionalBehaviorEnumUnknown, AWSElasticLoadBalancingAuthenticateCognitoActionConditionalBehaviorEnumDeny, AWSElasticLoadBalancingAuthenticateCognitoActionConditionalBehaviorEnumAllow, AWSElasticLoadBalancingAuthenticateCognitoActionConditionalBehaviorEnumAuthenticate, }; typedef NS_ENUM(NSInteger, AWSElasticLoadBalancingAuthenticateOidcActionConditionalBehaviorEnum) { AWSElasticLoadBalancingAuthenticateOidcActionConditionalBehaviorEnumUnknown, AWSElasticLoadBalancingAuthenticateOidcActionConditionalBehaviorEnumDeny, AWSElasticLoadBalancingAuthenticateOidcActionConditionalBehaviorEnumAllow, AWSElasticLoadBalancingAuthenticateOidcActionConditionalBehaviorEnumAuthenticate, }; typedef NS_ENUM(NSInteger, AWSElasticLoadBalancingIpAddressType) { AWSElasticLoadBalancingIpAddressTypeUnknown, AWSElasticLoadBalancingIpAddressTypeIpv4, AWSElasticLoadBalancingIpAddressTypeDualstack, }; typedef NS_ENUM(NSInteger, AWSElasticLoadBalancingLoadBalancerSchemeEnum) { AWSElasticLoadBalancingLoadBalancerSchemeEnumUnknown, AWSElasticLoadBalancingLoadBalancerSchemeEnumInternetFacing, AWSElasticLoadBalancingLoadBalancerSchemeEnumInternal, }; typedef NS_ENUM(NSInteger, AWSElasticLoadBalancingLoadBalancerStateEnum) { AWSElasticLoadBalancingLoadBalancerStateEnumUnknown, AWSElasticLoadBalancingLoadBalancerStateEnumActive, AWSElasticLoadBalancingLoadBalancerStateEnumProvisioning, AWSElasticLoadBalancingLoadBalancerStateEnumActiveImpaired, AWSElasticLoadBalancingLoadBalancerStateEnumFailed, }; typedef NS_ENUM(NSInteger, AWSElasticLoadBalancingLoadBalancerTypeEnum) { AWSElasticLoadBalancingLoadBalancerTypeEnumUnknown, AWSElasticLoadBalancingLoadBalancerTypeEnumApplication, AWSElasticLoadBalancingLoadBalancerTypeEnumNetwork, AWSElasticLoadBalancingLoadBalancerTypeEnumGateway, }; typedef NS_ENUM(NSInteger, AWSElasticLoadBalancingProtocolEnum) { AWSElasticLoadBalancingProtocolEnumUnknown, AWSElasticLoadBalancingProtocolEnumHttp, AWSElasticLoadBalancingProtocolEnumHttps, AWSElasticLoadBalancingProtocolEnumTcp, AWSElasticLoadBalancingProtocolEnumTls, AWSElasticLoadBalancingProtocolEnumUdp, AWSElasticLoadBalancingProtocolEnumTcpUdp, AWSElasticLoadBalancingProtocolEnumGeneve, }; typedef NS_ENUM(NSInteger, AWSElasticLoadBalancingRedirectActionStatusCodeEnum) { AWSElasticLoadBalancingRedirectActionStatusCodeEnumUnknown, AWSElasticLoadBalancingRedirectActionStatusCodeEnumHttp301, AWSElasticLoadBalancingRedirectActionStatusCodeEnumHttp302, }; typedef NS_ENUM(NSInteger, AWSElasticLoadBalancingTargetGroupIpAddressTypeEnum) { AWSElasticLoadBalancingTargetGroupIpAddressTypeEnumUnknown, AWSElasticLoadBalancingTargetGroupIpAddressTypeEnumIpv4, AWSElasticLoadBalancingTargetGroupIpAddressTypeEnumIpv6, }; typedef NS_ENUM(NSInteger, AWSElasticLoadBalancingTargetHealthReasonEnum) { AWSElasticLoadBalancingTargetHealthReasonEnumUnknown, AWSElasticLoadBalancingTargetHealthReasonEnumElbRegistrationInProgress, AWSElasticLoadBalancingTargetHealthReasonEnumElbInitialHealthChecking, AWSElasticLoadBalancingTargetHealthReasonEnumTargetResponseCodeMismatch, AWSElasticLoadBalancingTargetHealthReasonEnumTargetTimeout, AWSElasticLoadBalancingTargetHealthReasonEnumTargetFailedHealthChecks, AWSElasticLoadBalancingTargetHealthReasonEnumTargetNotRegistered, AWSElasticLoadBalancingTargetHealthReasonEnumTargetNotInUse, AWSElasticLoadBalancingTargetHealthReasonEnumTargetDeregistrationInProgress, AWSElasticLoadBalancingTargetHealthReasonEnumTargetInvalidState, AWSElasticLoadBalancingTargetHealthReasonEnumTargetIpUnusable, AWSElasticLoadBalancingTargetHealthReasonEnumTargetHealthCheckDisabled, AWSElasticLoadBalancingTargetHealthReasonEnumElbInternalError, }; typedef NS_ENUM(NSInteger, AWSElasticLoadBalancingTargetHealthStateEnum) { AWSElasticLoadBalancingTargetHealthStateEnumUnknown, AWSElasticLoadBalancingTargetHealthStateEnumInitial, AWSElasticLoadBalancingTargetHealthStateEnumHealthy, AWSElasticLoadBalancingTargetHealthStateEnumUnhealthy, AWSElasticLoadBalancingTargetHealthStateEnumUnused, AWSElasticLoadBalancingTargetHealthStateEnumDraining, AWSElasticLoadBalancingTargetHealthStateEnumUnavailable, }; typedef NS_ENUM(NSInteger, AWSElasticLoadBalancingTargetTypeEnum) { AWSElasticLoadBalancingTargetTypeEnumUnknown, AWSElasticLoadBalancingTargetTypeEnumInstance, AWSElasticLoadBalancingTargetTypeEnumIp, AWSElasticLoadBalancingTargetTypeEnumLambda, AWSElasticLoadBalancingTargetTypeEnumAlb, }; @class AWSElasticLoadBalancingAction; @class AWSElasticLoadBalancingAddListenerCertificatesInput; @class AWSElasticLoadBalancingAddListenerCertificatesOutput; @class AWSElasticLoadBalancingAddTagsInput; @class AWSElasticLoadBalancingAddTagsOutput; @class AWSElasticLoadBalancingAuthenticateCognitoActionConfig; @class AWSElasticLoadBalancingAuthenticateOidcActionConfig; @class AWSElasticLoadBalancingAvailabilityZone; @class AWSElasticLoadBalancingCertificate; @class AWSElasticLoadBalancingCipher; @class AWSElasticLoadBalancingCreateListenerInput; @class AWSElasticLoadBalancingCreateListenerOutput; @class AWSElasticLoadBalancingCreateLoadBalancerInput; @class AWSElasticLoadBalancingCreateLoadBalancerOutput; @class AWSElasticLoadBalancingCreateRuleInput; @class AWSElasticLoadBalancingCreateRuleOutput; @class AWSElasticLoadBalancingCreateTargetGroupInput; @class AWSElasticLoadBalancingCreateTargetGroupOutput; @class AWSElasticLoadBalancingDeleteListenerInput; @class AWSElasticLoadBalancingDeleteListenerOutput; @class AWSElasticLoadBalancingDeleteLoadBalancerInput; @class AWSElasticLoadBalancingDeleteLoadBalancerOutput; @class AWSElasticLoadBalancingDeleteRuleInput; @class AWSElasticLoadBalancingDeleteRuleOutput; @class AWSElasticLoadBalancingDeleteTargetGroupInput; @class AWSElasticLoadBalancingDeleteTargetGroupOutput; @class AWSElasticLoadBalancingDeregisterTargetsInput; @class AWSElasticLoadBalancingDeregisterTargetsOutput; @class AWSElasticLoadBalancingDescribeAccountLimitsInput; @class AWSElasticLoadBalancingDescribeAccountLimitsOutput; @class AWSElasticLoadBalancingDescribeListenerCertificatesInput; @class AWSElasticLoadBalancingDescribeListenerCertificatesOutput; @class AWSElasticLoadBalancingDescribeListenersInput; @class AWSElasticLoadBalancingDescribeListenersOutput; @class AWSElasticLoadBalancingDescribeLoadBalancerAttributesInput; @class AWSElasticLoadBalancingDescribeLoadBalancerAttributesOutput; @class AWSElasticLoadBalancingDescribeLoadBalancersInput; @class AWSElasticLoadBalancingDescribeLoadBalancersOutput; @class AWSElasticLoadBalancingDescribeRulesInput; @class AWSElasticLoadBalancingDescribeRulesOutput; @class AWSElasticLoadBalancingDescribeSSLPoliciesInput; @class AWSElasticLoadBalancingDescribeSSLPoliciesOutput; @class AWSElasticLoadBalancingDescribeTagsInput; @class AWSElasticLoadBalancingDescribeTagsOutput; @class AWSElasticLoadBalancingDescribeTargetGroupAttributesInput; @class AWSElasticLoadBalancingDescribeTargetGroupAttributesOutput; @class AWSElasticLoadBalancingDescribeTargetGroupsInput; @class AWSElasticLoadBalancingDescribeTargetGroupsOutput; @class AWSElasticLoadBalancingDescribeTargetHealthInput; @class AWSElasticLoadBalancingDescribeTargetHealthOutput; @class AWSElasticLoadBalancingFixedResponseActionConfig; @class AWSElasticLoadBalancingForwardActionConfig; @class AWSElasticLoadBalancingHostHeaderConditionConfig; @class AWSElasticLoadBalancingHttpHeaderConditionConfig; @class AWSElasticLoadBalancingHttpRequestMethodConditionConfig; @class AWSElasticLoadBalancingLimit; @class AWSElasticLoadBalancingListener; @class AWSElasticLoadBalancingLoadBalancer; @class AWSElasticLoadBalancingLoadBalancerAddress; @class AWSElasticLoadBalancingLoadBalancerAttribute; @class AWSElasticLoadBalancingLoadBalancerState; @class AWSElasticLoadBalancingMatcher; @class AWSElasticLoadBalancingModifyListenerInput; @class AWSElasticLoadBalancingModifyListenerOutput; @class AWSElasticLoadBalancingModifyLoadBalancerAttributesInput; @class AWSElasticLoadBalancingModifyLoadBalancerAttributesOutput; @class AWSElasticLoadBalancingModifyRuleInput; @class AWSElasticLoadBalancingModifyRuleOutput; @class AWSElasticLoadBalancingModifyTargetGroupAttributesInput; @class AWSElasticLoadBalancingModifyTargetGroupAttributesOutput; @class AWSElasticLoadBalancingModifyTargetGroupInput; @class AWSElasticLoadBalancingModifyTargetGroupOutput; @class AWSElasticLoadBalancingPathPatternConditionConfig; @class AWSElasticLoadBalancingQueryStringConditionConfig; @class AWSElasticLoadBalancingQueryStringKeyValuePair; @class AWSElasticLoadBalancingRedirectActionConfig; @class AWSElasticLoadBalancingRegisterTargetsInput; @class AWSElasticLoadBalancingRegisterTargetsOutput; @class AWSElasticLoadBalancingRemoveListenerCertificatesInput; @class AWSElasticLoadBalancingRemoveListenerCertificatesOutput; @class AWSElasticLoadBalancingRemoveTagsInput; @class AWSElasticLoadBalancingRemoveTagsOutput; @class AWSElasticLoadBalancingRule; @class AWSElasticLoadBalancingRuleCondition; @class AWSElasticLoadBalancingRulePriorityPair; @class AWSElasticLoadBalancingSetIpAddressTypeInput; @class AWSElasticLoadBalancingSetIpAddressTypeOutput; @class AWSElasticLoadBalancingSetRulePrioritiesInput; @class AWSElasticLoadBalancingSetRulePrioritiesOutput; @class AWSElasticLoadBalancingSetSecurityGroupsInput; @class AWSElasticLoadBalancingSetSecurityGroupsOutput; @class AWSElasticLoadBalancingSetSubnetsInput; @class AWSElasticLoadBalancingSetSubnetsOutput; @class AWSElasticLoadBalancingSourceIpConditionConfig; @class AWSElasticLoadBalancingSslPolicy; @class AWSElasticLoadBalancingSubnetMapping; @class AWSElasticLoadBalancingTag; @class AWSElasticLoadBalancingTagDescription; @class AWSElasticLoadBalancingTargetDescription; @class AWSElasticLoadBalancingTargetGroup; @class AWSElasticLoadBalancingTargetGroupAttribute; @class AWSElasticLoadBalancingTargetGroupStickinessConfig; @class AWSElasticLoadBalancingTargetGroupTuple; @class AWSElasticLoadBalancingTargetHealth; @class AWSElasticLoadBalancingTargetHealthDescription; /**

Information about an action.

Each rule must include exactly one of the following types of actions: forward, fixed-response, or redirect, and it must be the last action to be performed.

Required parameters: [Type] */ @interface AWSElasticLoadBalancingAction : AWSModel /**

[HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when Type is authenticate-cognito.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingAuthenticateCognitoActionConfig * _Nullable authenticateCognitoConfig; /**

[HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when Type is authenticate-oidc.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingAuthenticateOidcActionConfig * _Nullable authenticateOidcConfig; /**

[Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when Type is fixed-response.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingFixedResponseActionConfig * _Nullable fixedResponseConfig; /**

Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when Type is forward. If you specify both ForwardConfig and TargetGroupArn, you can specify only one target group using ForwardConfig and it must be the same target group specified in TargetGroupArn.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingForwardActionConfig * _Nullable forwardConfig; /**

The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.

*/ @property (nonatomic, strong) NSNumber * _Nullable order; /**

[Application Load Balancer] Information for creating a redirect action. Specify only when Type is redirect.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingRedirectActionConfig * _Nullable redirectConfig; /**

The Amazon Resource Name (ARN) of the target group. Specify only when Type is forward and you want to route to a single target group. To route to one or more target groups, use ForwardConfig instead.

*/ @property (nonatomic, strong) NSString * _Nullable targetGroupArn; /**

The type of action.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingActionTypeEnum types; @end /** */ @interface AWSElasticLoadBalancingAddListenerCertificatesInput : AWSRequest /**

The certificate to add. You can specify one certificate per call. Set CertificateArn to the certificate ARN but do not set IsDefault.

*/ @property (nonatomic, strong) NSArray * _Nullable certificates; /**

The Amazon Resource Name (ARN) of the listener.

*/ @property (nonatomic, strong) NSString * _Nullable listenerArn; @end /** */ @interface AWSElasticLoadBalancingAddListenerCertificatesOutput : AWSModel /**

Information about the certificates in the certificate list.

*/ @property (nonatomic, strong) NSArray * _Nullable certificates; @end /** */ @interface AWSElasticLoadBalancingAddTagsInput : AWSRequest /**

The Amazon Resource Name (ARN) of the resource.

*/ @property (nonatomic, strong) NSArray * _Nullable resourceArns; /**

The tags.

*/ @property (nonatomic, strong) NSArray * _Nullable tags; @end /** */ @interface AWSElasticLoadBalancingAddTagsOutput : AWSModel @end /**

Request parameters to use when integrating with Amazon Cognito to authenticate users.

Required parameters: [UserPoolArn, UserPoolClientId, UserPoolDomain] */ @interface AWSElasticLoadBalancingAuthenticateCognitoActionConfig : AWSModel /**

The query parameters (up to 10) to include in the redirect request to the authorization endpoint.

*/ @property (nonatomic, strong) NSDictionary * _Nullable authenticationRequestExtraParams; /**

The behavior if the user is not authenticated. The following are possible values:

  • deny - Return an HTTP 401 Unauthorized error.

  • allow - Allow the request to be forwarded to the target.

  • authenticate - Redirect the request to the IdP authorization endpoint. This is the default value.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingAuthenticateCognitoActionConditionalBehaviorEnum onUnauthenticatedRequest; /**

The set of user claims to be requested from the IdP. The default is openid.

To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.

*/ @property (nonatomic, strong) NSString * _Nullable scope; /**

The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.

*/ @property (nonatomic, strong) NSString * _Nullable sessionCookieName; /**

The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).

*/ @property (nonatomic, strong) NSNumber * _Nullable sessionTimeout; /**

The Amazon Resource Name (ARN) of the Amazon Cognito user pool.

*/ @property (nonatomic, strong) NSString * _Nullable userPoolArn; /**

The ID of the Amazon Cognito user pool client.

*/ @property (nonatomic, strong) NSString * _Nullable userPoolClientId; /**

The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.

*/ @property (nonatomic, strong) NSString * _Nullable userPoolDomain; @end /**

Request parameters when using an identity provider (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.

Required parameters: [Issuer, AuthorizationEndpoint, TokenEndpoint, UserInfoEndpoint, ClientId] */ @interface AWSElasticLoadBalancingAuthenticateOidcActionConfig : AWSModel /**

The query parameters (up to 10) to include in the redirect request to the authorization endpoint.

*/ @property (nonatomic, strong) NSDictionary * _Nullable authenticationRequestExtraParams; /**

The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

*/ @property (nonatomic, strong) NSString * _Nullable authorizationEndpoint; /**

The OAuth 2.0 client identifier.

*/ @property (nonatomic, strong) NSString * _Nullable clientId; /**

The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set UseExistingClientSecret to true.

*/ @property (nonatomic, strong) NSString * _Nullable clientSecret; /**

The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

*/ @property (nonatomic, strong) NSString * _Nullable issuer; /**

The behavior if the user is not authenticated. The following are possible values:

  • deny - Return an HTTP 401 Unauthorized error.

  • allow - Allow the request to be forwarded to the target.

  • authenticate - Redirect the request to the IdP authorization endpoint. This is the default value.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingAuthenticateOidcActionConditionalBehaviorEnum onUnauthenticatedRequest; /**

The set of user claims to be requested from the IdP. The default is openid.

To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.

*/ @property (nonatomic, strong) NSString * _Nullable scope; /**

The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.

*/ @property (nonatomic, strong) NSString * _Nullable sessionCookieName; /**

The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).

*/ @property (nonatomic, strong) NSNumber * _Nullable sessionTimeout; /**

The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

*/ @property (nonatomic, strong) NSString * _Nullable tokenEndpoint; /**

Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false.

*/ @property (nonatomic, strong) NSNumber * _Nullable useExistingClientSecret; /**

The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

*/ @property (nonatomic, strong) NSString * _Nullable userInfoEndpoint; @end /**

Information about an Availability Zone.

*/ @interface AWSElasticLoadBalancingAvailabilityZone : AWSModel /**

[Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP address per Availability Zone when you create an internal-facing load balancer. For internal load balancers, you can specify a private IP address from the IPv4 range of the subnet.

*/ @property (nonatomic, strong) NSArray * _Nullable loadBalancerAddresses; /**

[Application Load Balancers on Outposts] The ID of the Outpost.

*/ @property (nonatomic, strong) NSString * _Nullable outpostId; /**

The ID of the subnet. You can specify one subnet per Availability Zone.

*/ @property (nonatomic, strong) NSString * _Nullable subnetId; /**

The name of the Availability Zone.

*/ @property (nonatomic, strong) NSString * _Nullable zoneName; @end /**

Information about an SSL server certificate.

*/ @interface AWSElasticLoadBalancingCertificate : AWSModel /**

The Amazon Resource Name (ARN) of the certificate.

*/ @property (nonatomic, strong) NSString * _Nullable certificateArn; /**

Indicates whether the certificate is the default certificate. Do not set this value when specifying a certificate as an input. This value is not included in the output when describing a listener, but is included when describing listener certificates.

*/ @property (nonatomic, strong) NSNumber * _Nullable isDefault; @end /**

Information about a cipher used in a policy.

*/ @interface AWSElasticLoadBalancingCipher : AWSModel /**

The name of the cipher.

*/ @property (nonatomic, strong) NSString * _Nullable name; /**

The priority of the cipher.

*/ @property (nonatomic, strong) NSNumber * _Nullable priority; @end /** */ @interface AWSElasticLoadBalancingCreateListenerInput : AWSRequest /**

[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.

*/ @property (nonatomic, strong) NSArray * _Nullable alpnPolicy; /**

[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.

*/ @property (nonatomic, strong) NSArray * _Nullable certificates; /**

The actions for the default rule.

*/ @property (nonatomic, strong) NSArray * _Nullable defaultActions; /**

The Amazon Resource Name (ARN) of the load balancer.

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

The port on which the load balancer is listening. You cannot specify a port for a Gateway Load Balancer.

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

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.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingProtocolEnum protocols; /**

[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.

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

The tags to assign to the listener.

*/ @property (nonatomic, strong) NSArray * _Nullable tags; @end /** */ @interface AWSElasticLoadBalancingCreateListenerOutput : AWSModel /**

Information about the listener.

*/ @property (nonatomic, strong) NSArray * _Nullable listeners; @end /** */ @interface AWSElasticLoadBalancingCreateLoadBalancerInput : AWSRequest /**

[Application Load Balancers on Outposts] The ID of the customer-owned address pool (CoIP pool).

*/ @property (nonatomic, strong) NSString * _Nullable customerOwnedIpv4Pool; /**

The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

*/ @property (nonatomic, assign) AWSElasticLoadBalancingIpAddressType ipAddressType; /**

The name of the load balancer.

This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, must not begin or end with a hyphen, and must not begin with "internal-".

*/ @property (nonatomic, strong) NSString * _Nullable name; /**

The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet.

The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer.

The default is an Internet-facing load balancer.

You cannot specify a scheme for a Gateway Load Balancer.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingLoadBalancerSchemeEnum scheme; /**

[Application Load Balancers] The IDs of the security groups for the load balancer.

*/ @property (nonatomic, strong) NSArray * _Nullable securityGroups; /**

The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both.

[Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets.

[Application Load Balancers on Outposts] You must specify one Outpost subnet.

[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.

[Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.

[Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You cannot specify Elastic IP addresses for your subnets.

*/ @property (nonatomic, strong) NSArray * _Nullable subnetMappings; /**

The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. To specify an Elastic IP address, specify subnet mappings instead of subnets.

[Application Load Balancers] You must specify subnets from at least two Availability Zones.

[Application Load Balancers on Outposts] You must specify one Outpost subnet.

[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.

[Network Load Balancers] You can specify subnets from one or more Availability Zones.

[Gateway Load Balancers] You can specify subnets from one or more Availability Zones.

*/ @property (nonatomic, strong) NSArray * _Nullable subnets; /**

The tags to assign to the load balancer.

*/ @property (nonatomic, strong) NSArray * _Nullable tags; /**

The type of load balancer. The default is application.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingLoadBalancerTypeEnum types; @end /** */ @interface AWSElasticLoadBalancingCreateLoadBalancerOutput : AWSModel /**

Information about the load balancer.

*/ @property (nonatomic, strong) NSArray * _Nullable loadBalancers; @end /** */ @interface AWSElasticLoadBalancingCreateRuleInput : AWSRequest /**

The actions.

*/ @property (nonatomic, strong) NSArray * _Nullable actions; /**

The conditions.

*/ @property (nonatomic, strong) NSArray * _Nullable conditions; /**

The Amazon Resource Name (ARN) of the listener.

*/ @property (nonatomic, strong) NSString * _Nullable listenerArn; /**

The rule priority. A listener can't have multiple rules with the same priority.

*/ @property (nonatomic, strong) NSNumber * _Nullable priority; /**

The tags to assign to the rule.

*/ @property (nonatomic, strong) NSArray * _Nullable tags; @end /** */ @interface AWSElasticLoadBalancingCreateRuleOutput : AWSModel /**

Information about the rule.

*/ @property (nonatomic, strong) NSArray * _Nullable rules; @end /** */ @interface AWSElasticLoadBalancingCreateTargetGroupInput : AWSRequest /**

Indicates whether health checks are enabled. If the target type is lambda, health checks are disabled by default but can be enabled. If the target type is instance, ip, or alb, health checks are always enabled and cannot be disabled.

*/ @property (nonatomic, strong) NSNumber * _Nullable healthCheckEnabled; /**

The approximate amount of time, in seconds, between health checks of an individual target. The range is 5-300. If the target group protocol is TCP, TLS, UDP, TCP_UDP, HTTP or HTTPS, the default is 30 seconds. If the target group protocol is GENEVE, the default is 10 seconds. If the target type is lambda, the default is 35 seconds.

*/ @property (nonatomic, strong) NSNumber * _Nullable healthCheckIntervalSeconds; /**

[HTTP/HTTPS health checks] The destination for health checks on the targets.

[HTTP1 or HTTP2 protocol version] The ping path. The default is /.

[GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.

*/ @property (nonatomic, strong) NSString * _Nullable healthCheckPath; /**

The port the load balancer uses when performing health checks on targets. If the protocol is HTTP, HTTPS, TCP, TLS, UDP, or TCP_UDP, the default is traffic-port, which is the port on which each target receives traffic from the load balancer. If the protocol is GENEVE, the default is port 80.

*/ @property (nonatomic, strong) NSString * _Nullable healthCheckPort; /**

The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingProtocolEnum healthCheckProtocol; /**

The amount of time, in seconds, during which no response from a target means a failed health check. The range is 2–120 seconds. For target groups with a protocol of HTTP, the default is 6 seconds. For target groups with a protocol of TCP, TLS or HTTPS, the default is 10 seconds. For target groups with a protocol of GENEVE, the default is 5 seconds. If the target type is lambda, the default is 30 seconds.

*/ @property (nonatomic, strong) NSNumber * _Nullable healthCheckTimeoutSeconds; /**

The number of consecutive health check successes required before considering a target healthy. The range is 2-10. If the target group protocol is TCP, TCP_UDP, UDP, TLS, HTTP or HTTPS, the default is 5. For target groups with a protocol of GENEVE, the default is 5. If the target type is lambda, the default is 5.

*/ @property (nonatomic, strong) NSNumber * _Nullable healthyThresholdCount; /**

The type of IP address used for this target group. The possible values are ipv4 and ipv6. This is an optional parameter. If not specified, the IP address type defaults to ipv4.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingTargetGroupIpAddressTypeEnum ipAddressType; /**

[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target. For target groups with a protocol of TCP, TCP_UDP, UDP or TLS the range is 200-599. For target groups with a protocol of HTTP or HTTPS, the range is 200-499. For target groups with a protocol of GENEVE, the range is 200-399.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingMatcher * _Nullable matcher; /**

The name of the target group.

This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

*/ @property (nonatomic, strong) NSString * _Nullable name; /**

The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target. If the target is a Lambda function, this parameter does not apply. If the protocol is GENEVE, the supported port is 6081.

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

The protocol to use for routing traffic to the targets. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, or TCP_UDP. For Gateway Load Balancers, the supported protocol is GENEVE. A TCP_UDP listener must be associated with a TCP_UDP target group. If the target is a Lambda function, this parameter does not apply.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingProtocolEnum protocols; /**

[HTTP/HTTPS protocol] The protocol version. Specify GRPC to send requests to targets using gRPC. Specify HTTP2 to send requests to targets using HTTP/2. The default is HTTP1, which sends requests to targets using HTTP/1.1.

*/ @property (nonatomic, strong) NSString * _Nullable protocolVersion; /**

The tags to assign to the target group.

*/ @property (nonatomic, strong) NSArray * _Nullable tags; /**

The type of target that you must specify when registering targets with this target group. You can't specify targets for a target group using more than one target type.

  • instance - Register targets by instance ID. This is the default value.

  • ip - Register targets by IP address. You can specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP addresses.

  • lambda - Register a single Lambda function as a target.

  • alb - Register a single Application Load Balancer as a target.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingTargetTypeEnum targetType; /**

The number of consecutive health check failures required before considering a target unhealthy. The range is 2-10. If the target group protocol is TCP, TCP_UDP, UDP, TLS, HTTP or HTTPS, the default is 2. For target groups with a protocol of GENEVE, the default is 2. If the target type is lambda, the default is 5.

*/ @property (nonatomic, strong) NSNumber * _Nullable unhealthyThresholdCount; /**

The identifier of the virtual private cloud (VPC). If the target is a Lambda function, this parameter does not apply. Otherwise, this parameter is required.

*/ @property (nonatomic, strong) NSString * _Nullable vpcId; @end /** */ @interface AWSElasticLoadBalancingCreateTargetGroupOutput : AWSModel /**

Information about the target group.

*/ @property (nonatomic, strong) NSArray * _Nullable targetGroups; @end /** */ @interface AWSElasticLoadBalancingDeleteListenerInput : AWSRequest /**

The Amazon Resource Name (ARN) of the listener.

*/ @property (nonatomic, strong) NSString * _Nullable listenerArn; @end /** */ @interface AWSElasticLoadBalancingDeleteListenerOutput : AWSModel @end /** */ @interface AWSElasticLoadBalancingDeleteLoadBalancerInput : AWSRequest /**

The Amazon Resource Name (ARN) of the load balancer.

*/ @property (nonatomic, strong) NSString * _Nullable loadBalancerArn; @end /** */ @interface AWSElasticLoadBalancingDeleteLoadBalancerOutput : AWSModel @end /** */ @interface AWSElasticLoadBalancingDeleteRuleInput : AWSRequest /**

The Amazon Resource Name (ARN) of the rule.

*/ @property (nonatomic, strong) NSString * _Nullable ruleArn; @end /** */ @interface AWSElasticLoadBalancingDeleteRuleOutput : AWSModel @end /** */ @interface AWSElasticLoadBalancingDeleteTargetGroupInput : AWSRequest /**

The Amazon Resource Name (ARN) of the target group.

*/ @property (nonatomic, strong) NSString * _Nullable targetGroupArn; @end /** */ @interface AWSElasticLoadBalancingDeleteTargetGroupOutput : AWSModel @end /** */ @interface AWSElasticLoadBalancingDeregisterTargetsInput : AWSRequest /**

The Amazon Resource Name (ARN) of the target group.

*/ @property (nonatomic, strong) NSString * _Nullable targetGroupArn; /**

The targets. If you specified a port override when you registered a target, you must specify both the target ID and the port when you deregister it.

*/ @property (nonatomic, strong) NSArray * _Nullable targets; @end /** */ @interface AWSElasticLoadBalancingDeregisterTargetsOutput : AWSModel @end /** */ @interface AWSElasticLoadBalancingDescribeAccountLimitsInput : AWSRequest /**

The marker for the next set of results. (You received this marker from a previous call.)

*/ @property (nonatomic, strong) NSString * _Nullable marker; /**

The maximum number of results to return with this call.

*/ @property (nonatomic, strong) NSNumber * _Nullable pageSize; @end /** */ @interface AWSElasticLoadBalancingDescribeAccountLimitsOutput : AWSModel /**

Information about the limits.

*/ @property (nonatomic, strong) NSArray * _Nullable limits; /**

If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

*/ @property (nonatomic, strong) NSString * _Nullable nextMarker; @end /** */ @interface AWSElasticLoadBalancingDescribeListenerCertificatesInput : AWSRequest /**

The Amazon Resource Names (ARN) of the listener.

*/ @property (nonatomic, strong) NSString * _Nullable listenerArn; /**

The marker for the next set of results. (You received this marker from a previous call.)

*/ @property (nonatomic, strong) NSString * _Nullable marker; /**

The maximum number of results to return with this call.

*/ @property (nonatomic, strong) NSNumber * _Nullable pageSize; @end /** */ @interface AWSElasticLoadBalancingDescribeListenerCertificatesOutput : AWSModel /**

Information about the certificates.

*/ @property (nonatomic, strong) NSArray * _Nullable certificates; /**

If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

*/ @property (nonatomic, strong) NSString * _Nullable nextMarker; @end /** */ @interface AWSElasticLoadBalancingDescribeListenersInput : AWSRequest /**

The Amazon Resource Names (ARN) of the listeners.

*/ @property (nonatomic, strong) NSArray * _Nullable listenerArns; /**

The Amazon Resource Name (ARN) of the load balancer.

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

The marker for the next set of results. (You received this marker from a previous call.)

*/ @property (nonatomic, strong) NSString * _Nullable marker; /**

The maximum number of results to return with this call.

*/ @property (nonatomic, strong) NSNumber * _Nullable pageSize; @end /** */ @interface AWSElasticLoadBalancingDescribeListenersOutput : AWSModel /**

Information about the listeners.

*/ @property (nonatomic, strong) NSArray * _Nullable listeners; /**

If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

*/ @property (nonatomic, strong) NSString * _Nullable nextMarker; @end /** */ @interface AWSElasticLoadBalancingDescribeLoadBalancerAttributesInput : AWSRequest /**

The Amazon Resource Name (ARN) of the load balancer.

*/ @property (nonatomic, strong) NSString * _Nullable loadBalancerArn; @end /** */ @interface AWSElasticLoadBalancingDescribeLoadBalancerAttributesOutput : AWSModel /**

Information about the load balancer attributes.

*/ @property (nonatomic, strong) NSArray * _Nullable attributes; @end /** */ @interface AWSElasticLoadBalancingDescribeLoadBalancersInput : AWSRequest /**

The Amazon Resource Names (ARN) of the load balancers. You can specify up to 20 load balancers in a single call.

*/ @property (nonatomic, strong) NSArray * _Nullable loadBalancerArns; /**

The marker for the next set of results. (You received this marker from a previous call.)

*/ @property (nonatomic, strong) NSString * _Nullable marker; /**

The names of the load balancers.

*/ @property (nonatomic, strong) NSArray * _Nullable names; /**

The maximum number of results to return with this call.

*/ @property (nonatomic, strong) NSNumber * _Nullable pageSize; @end /** */ @interface AWSElasticLoadBalancingDescribeLoadBalancersOutput : AWSModel /**

Information about the load balancers.

*/ @property (nonatomic, strong) NSArray * _Nullable loadBalancers; /**

If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

*/ @property (nonatomic, strong) NSString * _Nullable nextMarker; @end /** */ @interface AWSElasticLoadBalancingDescribeRulesInput : AWSRequest /**

The Amazon Resource Name (ARN) of the listener.

*/ @property (nonatomic, strong) NSString * _Nullable listenerArn; /**

The marker for the next set of results. (You received this marker from a previous call.)

*/ @property (nonatomic, strong) NSString * _Nullable marker; /**

The maximum number of results to return with this call.

*/ @property (nonatomic, strong) NSNumber * _Nullable pageSize; /**

The Amazon Resource Names (ARN) of the rules.

*/ @property (nonatomic, strong) NSArray * _Nullable ruleArns; @end /** */ @interface AWSElasticLoadBalancingDescribeRulesOutput : AWSModel /**

If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

*/ @property (nonatomic, strong) NSString * _Nullable nextMarker; /**

Information about the rules.

*/ @property (nonatomic, strong) NSArray * _Nullable rules; @end /** */ @interface AWSElasticLoadBalancingDescribeSSLPoliciesInput : AWSRequest /**

The type of load balancer. The default lists the SSL policies for all load balancers.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingLoadBalancerTypeEnum loadBalancerType; /**

The marker for the next set of results. (You received this marker from a previous call.)

*/ @property (nonatomic, strong) NSString * _Nullable marker; /**

The names of the policies.

*/ @property (nonatomic, strong) NSArray * _Nullable names; /**

The maximum number of results to return with this call.

*/ @property (nonatomic, strong) NSNumber * _Nullable pageSize; @end /** */ @interface AWSElasticLoadBalancingDescribeSSLPoliciesOutput : AWSModel /**

If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

*/ @property (nonatomic, strong) NSString * _Nullable nextMarker; /**

Information about the security policies.

*/ @property (nonatomic, strong) NSArray * _Nullable sslPolicies; @end /** */ @interface AWSElasticLoadBalancingDescribeTagsInput : AWSRequest /**

The Amazon Resource Names (ARN) of the resources. You can specify up to 20 resources in a single call.

*/ @property (nonatomic, strong) NSArray * _Nullable resourceArns; @end /** */ @interface AWSElasticLoadBalancingDescribeTagsOutput : AWSModel /**

Information about the tags.

*/ @property (nonatomic, strong) NSArray * _Nullable tagDescriptions; @end /** */ @interface AWSElasticLoadBalancingDescribeTargetGroupAttributesInput : AWSRequest /**

The Amazon Resource Name (ARN) of the target group.

*/ @property (nonatomic, strong) NSString * _Nullable targetGroupArn; @end /** */ @interface AWSElasticLoadBalancingDescribeTargetGroupAttributesOutput : AWSModel /**

Information about the target group attributes

*/ @property (nonatomic, strong) NSArray * _Nullable attributes; @end /** */ @interface AWSElasticLoadBalancingDescribeTargetGroupsInput : AWSRequest /**

The Amazon Resource Name (ARN) of the load balancer.

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

The marker for the next set of results. (You received this marker from a previous call.)

*/ @property (nonatomic, strong) NSString * _Nullable marker; /**

The names of the target groups.

*/ @property (nonatomic, strong) NSArray * _Nullable names; /**

The maximum number of results to return with this call.

*/ @property (nonatomic, strong) NSNumber * _Nullable pageSize; /**

The Amazon Resource Names (ARN) of the target groups.

*/ @property (nonatomic, strong) NSArray * _Nullable targetGroupArns; @end /** */ @interface AWSElasticLoadBalancingDescribeTargetGroupsOutput : AWSModel /**

If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

*/ @property (nonatomic, strong) NSString * _Nullable nextMarker; /**

Information about the target groups.

*/ @property (nonatomic, strong) NSArray * _Nullable targetGroups; @end /** */ @interface AWSElasticLoadBalancingDescribeTargetHealthInput : AWSRequest /**

The Amazon Resource Name (ARN) of the target group.

*/ @property (nonatomic, strong) NSString * _Nullable targetGroupArn; /**

The targets.

*/ @property (nonatomic, strong) NSArray * _Nullable targets; @end /** */ @interface AWSElasticLoadBalancingDescribeTargetHealthOutput : AWSModel /**

Information about the health of the targets.

*/ @property (nonatomic, strong) NSArray * _Nullable targetHealthDescriptions; @end /**

Information about an action that returns a custom HTTP response.

Required parameters: [StatusCode] */ @interface AWSElasticLoadBalancingFixedResponseActionConfig : AWSModel /**

The content type.

Valid Values: text/plain | text/css | text/html | application/javascript | application/json

*/ @property (nonatomic, strong) NSString * _Nullable contentType; /**

The message.

*/ @property (nonatomic, strong) NSString * _Nullable messageBody; /**

The HTTP response code (2XX, 4XX, or 5XX).

*/ @property (nonatomic, strong) NSString * _Nullable statusCode; @end /**

Information about a forward action.

*/ @interface AWSElasticLoadBalancingForwardActionConfig : AWSModel /**

The target group stickiness for the rule.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingTargetGroupStickinessConfig * _Nullable targetGroupStickinessConfig; /**

The target groups. For Network Load Balancers, you can specify a single target group.

*/ @property (nonatomic, strong) NSArray * _Nullable targetGroups; @end /**

Information about a host header condition.

*/ @interface AWSElasticLoadBalancingHostHeaderConditionConfig : AWSModel /**

The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).

If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.

*/ @property (nonatomic, strong) NSArray * _Nullable values; @end /**

Information about an HTTP header condition.

There is a set of standard HTTP header fields. You can also define custom HTTP header fields.

*/ @interface AWSElasticLoadBalancingHttpHeaderConditionConfig : AWSModel /**

The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.

You can't use an HTTP header condition to specify the host header. Use HostHeaderConditionConfig to specify a host header condition.

*/ @property (nonatomic, strong) NSString * _Nullable httpHeaderName; /**

The strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).

If the same header appears multiple times in the request, we search them in order until a match is found.

If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.

*/ @property (nonatomic, strong) NSArray * _Nullable values; @end /**

Information about an HTTP method condition.

HTTP defines a set of request methods, also referred to as HTTP verbs. For more information, see the HTTP Method Registry. You can also define custom HTTP methods.

*/ @interface AWSElasticLoadBalancingHttpRequestMethodConditionConfig : AWSModel /**

The name of the request method. The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match.

If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.

*/ @property (nonatomic, strong) NSArray * _Nullable values; @end /**

Information about an Elastic Load Balancing resource limit for your Amazon Web Services account.

*/ @interface AWSElasticLoadBalancingLimit : AWSModel /**

The maximum value of the limit.

*/ @property (nonatomic, strong) NSString * _Nullable max; /**

The name of the limit. The possible values are:

  • application-load-balancers

  • condition-values-per-alb-rule

  • condition-wildcards-per-alb-rule

  • gateway-load-balancers

  • gateway-load-balancers-per-vpc

  • geneve-target-groups

  • listeners-per-application-load-balancer

  • listeners-per-network-load-balancer

  • network-load-balancers

  • rules-per-application-load-balancer

  • target-groups

  • target-groups-per-action-on-application-load-balancer

  • target-groups-per-action-on-network-load-balancer

  • target-groups-per-application-load-balancer

  • targets-per-application-load-balancer

  • targets-per-availability-zone-per-gateway-load-balancer

  • targets-per-availability-zone-per-network-load-balancer

  • targets-per-network-load-balancer

*/ @property (nonatomic, strong) NSString * _Nullable name; @end /**

Information about a listener.

*/ @interface AWSElasticLoadBalancingListener : AWSModel /**

[TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.

*/ @property (nonatomic, strong) NSArray * _Nullable alpnPolicy; /**

[HTTPS or TLS listener] The default certificate for the listener.

*/ @property (nonatomic, strong) NSArray * _Nullable certificates; /**

The default actions for the listener.

*/ @property (nonatomic, strong) NSArray * _Nullable defaultActions; /**

The Amazon Resource Name (ARN) of the listener.

*/ @property (nonatomic, strong) NSString * _Nullable listenerArn; /**

The Amazon Resource Name (ARN) of the load balancer.

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

The port on which the load balancer is listening.

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

The protocol for connections from clients to the load balancer.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingProtocolEnum protocols; /**

[HTTPS or TLS listener] The security policy that defines which protocols and ciphers are supported.

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

Information about a load balancer.

*/ @interface AWSElasticLoadBalancingLoadBalancer : AWSModel /**

The subnets for the load balancer.

*/ @property (nonatomic, strong) NSArray * _Nullable availabilityZones; /**

The ID of the Amazon Route 53 hosted zone associated with the load balancer.

*/ @property (nonatomic, strong) NSString * _Nullable canonicalHostedZoneId; /**

The date and time the load balancer was created.

*/ @property (nonatomic, strong) NSDate * _Nullable createdTime; /**

[Application Load Balancers on Outposts] The ID of the customer-owned address pool.

*/ @property (nonatomic, strong) NSString * _Nullable customerOwnedIpv4Pool; /**

The public DNS name of the load balancer.

*/ @property (nonatomic, strong) NSString * _Nullable DNSName; /**

The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

*/ @property (nonatomic, assign) AWSElasticLoadBalancingIpAddressType ipAddressType; /**

The Amazon Resource Name (ARN) of the load balancer.

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

The name of the load balancer.

*/ @property (nonatomic, strong) NSString * _Nullable loadBalancerName; /**

The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet.

The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingLoadBalancerSchemeEnum scheme; /**

The IDs of the security groups for the load balancer.

*/ @property (nonatomic, strong) NSArray * _Nullable securityGroups; /**

The state of the load balancer.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingLoadBalancerState * _Nullable state; /**

The type of load balancer.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingLoadBalancerTypeEnum types; /**

The ID of the VPC for the load balancer.

*/ @property (nonatomic, strong) NSString * _Nullable vpcId; @end /**

Information about a static IP address for a load balancer.

*/ @interface AWSElasticLoadBalancingLoadBalancerAddress : AWSModel /**

[Network Load Balancers] The allocation ID of the Elastic IP address for an internal-facing load balancer.

*/ @property (nonatomic, strong) NSString * _Nullable allocationId; /**

[Network Load Balancers] The IPv6 address.

*/ @property (nonatomic, strong) NSString * _Nullable IPv6Address; /**

The static IP address.

*/ @property (nonatomic, strong) NSString * _Nullable ipAddress; /**

[Network Load Balancers] The private IPv4 address for an internal load balancer.

*/ @property (nonatomic, strong) NSString * _Nullable privateIPv4Address; @end /**

Information about a load balancer attribute.

*/ @interface AWSElasticLoadBalancingLoadBalancerAttribute : AWSModel /**

The name of the attribute.

The following attributes are supported by all load balancers:

  • deletion_protection.enabled - Indicates whether deletion protection is enabled. The value is true or false. The default is false.

  • load_balancing.cross_zone.enabled - Indicates whether cross-zone load balancing is enabled. The possible values are true and false. The default for Network Load Balancers and Gateway Load Balancers is false. The default for Application Load Balancers is true, and cannot be changed.

The following attributes are supported by both Application Load Balancers and Network Load Balancers:

  • access_logs.s3.enabled - Indicates whether access logs are enabled. The value is true or false. The default is false.

  • access_logs.s3.bucket - The name of the S3 bucket for the access logs. This attribute is required if access logs are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permissions to write to the bucket.

  • access_logs.s3.prefix - The prefix for the location in the S3 bucket for the access logs.

  • ipv6.deny_all_igw_traffic - Blocks internet gateway (IGW) access to the load balancer. It is set to false for internet-facing load balancers and true for internal load balancers, preventing unintended access to your internal load balancer through an internet gateway.

The following attributes are supported by only Application Load Balancers:

  • idle_timeout.timeout_seconds - The idle timeout value, in seconds. The valid range is 1-4000 seconds. The default is 60 seconds.

  • routing.http.desync_mitigation_mode - Determines how the load balancer handles requests that might pose a security risk to your application. The possible values are monitor, defensive, and strictest. The default is defensive.

  • routing.http.drop_invalid_header_fields.enabled - Indicates whether HTTP headers with invalid header fields are removed by the load balancer (true) or routed to targets (false). The default is false.

  • routing.http.preserve_host_header.enabled - Indicates whether the Application Load Balancer should preserve the Host header in the HTTP request and send it to the target without any change. The possible values are true and false. The default is false.

  • routing.http.x_amzn_tls_version_and_cipher_suite.enabled - Indicates whether the two headers (x-amzn-tls-version and x-amzn-tls-cipher-suite), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. The x-amzn-tls-version header has information about the TLS protocol version negotiated with the client, and the x-amzn-tls-cipher-suite header has information about the cipher suite negotiated with the client. Both headers are in OpenSSL format. The possible values for the attribute are true and false. The default is false.

  • routing.http.xff_client_port.enabled - Indicates whether the X-Forwarded-For header should preserve the source port that the client used to connect to the load balancer. The possible values are true and false. The default is false.

  • routing.http.xff_header_processing.mode - Enables you to modify, preserve, or remove the X-Forwarded-For header in the HTTP request before the Application Load Balancer sends the request to the target. The possible values are append, preserve, and remove. The default is append.

    • If the value is append, the Application Load Balancer adds the client IP address (of the last hop) to the X-Forwarded-For header in the HTTP request before it sends it to targets.

    • If the value is preserve the Application Load Balancer preserves the X-Forwarded-For header in the HTTP request, and sends it to targets without any change.

    • If the value is remove, the Application Load Balancer removes the X-Forwarded-For header in the HTTP request before it sends it to targets.

  • routing.http2.enabled - Indicates whether HTTP/2 is enabled. The possible values are true and false. The default is true. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens.

  • waf.fail_open.enabled - Indicates whether to allow a WAF-enabled load balancer to route requests to targets if it is unable to forward the request to Amazon Web Services WAF. The possible values are true and false. The default is false.

*/ @property (nonatomic, strong) NSString * _Nullable key; /**

The value of the attribute.

*/ @property (nonatomic, strong) NSString * _Nullable value; @end /**

Information about the state of the load balancer.

*/ @interface AWSElasticLoadBalancingLoadBalancerState : AWSModel /**

The state code. The initial state of the load balancer is provisioning. After the load balancer is fully set up and ready to route traffic, its state is active. If load balancer is routing traffic but does not have the resources it needs to scale, its state isactive_impaired. If the load balancer could not be set up, its state is failed.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingLoadBalancerStateEnum code; /**

A description of the state.

*/ @property (nonatomic, strong) NSString * _Nullable reason; @end /**

The codes to use when checking for a successful response from a target. If the protocol version is gRPC, these are gRPC codes. Otherwise, these are HTTP codes.

*/ @interface AWSElasticLoadBalancingMatcher : AWSModel /**

You can specify values between 0 and 99. You can specify multiple values (for example, "0,1") or a range of values (for example, "0-5"). The default value is 12.

*/ @property (nonatomic, strong) NSString * _Nullable grpcCode; /**

For Application Load Balancers, you can specify values between 200 and 499, with the default value being 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").

For Network Load Balancers, you can specify values between 200 and 599, with the default value being 200-399. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").

For Gateway Load Balancers, this must be "200–399".

Note that when using shorthand syntax, some values such as commas need to be escaped.

*/ @property (nonatomic, strong) NSString * _Nullable httpCode; @end /** */ @interface AWSElasticLoadBalancingModifyListenerInput : AWSRequest /**

[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.

*/ @property (nonatomic, strong) NSArray * _Nullable alpnPolicy; /**

[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.

*/ @property (nonatomic, strong) NSArray * _Nullable certificates; /**

The actions for the default rule.

*/ @property (nonatomic, strong) NSArray * _Nullable defaultActions; /**

The Amazon Resource Name (ARN) of the listener.

*/ @property (nonatomic, strong) NSString * _Nullable listenerArn; /**

The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load Balancer.

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

The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingProtocolEnum protocols; /**

[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 or Security policies in the Network Load Balancers Guide.

*/ @property (nonatomic, strong) NSString * _Nullable sslPolicy; @end /** */ @interface AWSElasticLoadBalancingModifyListenerOutput : AWSModel /**

Information about the modified listener.

*/ @property (nonatomic, strong) NSArray * _Nullable listeners; @end /** */ @interface AWSElasticLoadBalancingModifyLoadBalancerAttributesInput : AWSRequest /**

The load balancer attributes.

*/ @property (nonatomic, strong) NSArray * _Nullable attributes; /**

The Amazon Resource Name (ARN) of the load balancer.

*/ @property (nonatomic, strong) NSString * _Nullable loadBalancerArn; @end /** */ @interface AWSElasticLoadBalancingModifyLoadBalancerAttributesOutput : AWSModel /**

Information about the load balancer attributes.

*/ @property (nonatomic, strong) NSArray * _Nullable attributes; @end /** */ @interface AWSElasticLoadBalancingModifyRuleInput : AWSRequest /**

The actions.

*/ @property (nonatomic, strong) NSArray * _Nullable actions; /**

The conditions.

*/ @property (nonatomic, strong) NSArray * _Nullable conditions; /**

The Amazon Resource Name (ARN) of the rule.

*/ @property (nonatomic, strong) NSString * _Nullable ruleArn; @end /** */ @interface AWSElasticLoadBalancingModifyRuleOutput : AWSModel /**

Information about the modified rule.

*/ @property (nonatomic, strong) NSArray * _Nullable rules; @end /** */ @interface AWSElasticLoadBalancingModifyTargetGroupAttributesInput : AWSRequest /**

The attributes.

*/ @property (nonatomic, strong) NSArray * _Nullable attributes; /**

The Amazon Resource Name (ARN) of the target group.

*/ @property (nonatomic, strong) NSString * _Nullable targetGroupArn; @end /** */ @interface AWSElasticLoadBalancingModifyTargetGroupAttributesOutput : AWSModel /**

Information about the attributes.

*/ @property (nonatomic, strong) NSArray * _Nullable attributes; @end /** */ @interface AWSElasticLoadBalancingModifyTargetGroupInput : AWSRequest /**

Indicates whether health checks are enabled.

*/ @property (nonatomic, strong) NSNumber * _Nullable healthCheckEnabled; /**

The approximate amount of time, in seconds, between health checks of an individual target.

*/ @property (nonatomic, strong) NSNumber * _Nullable healthCheckIntervalSeconds; /**

[HTTP/HTTPS health checks] The destination for health checks on the targets.

[HTTP1 or HTTP2 protocol version] The ping path. The default is /.

[GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.

*/ @property (nonatomic, strong) NSString * _Nullable healthCheckPath; /**

The port the load balancer uses when performing health checks on targets.

*/ @property (nonatomic, strong) NSString * _Nullable healthCheckPort; /**

The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingProtocolEnum healthCheckProtocol; /**

[HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.

*/ @property (nonatomic, strong) NSNumber * _Nullable healthCheckTimeoutSeconds; /**

The number of consecutive health checks successes required before considering an unhealthy target healthy.

*/ @property (nonatomic, strong) NSNumber * _Nullable healthyThresholdCount; /**

[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target. For target groups with a protocol of TCP, TCP_UDP, UDP or TLS the range is 200-599. For target groups with a protocol of HTTP or HTTPS, the range is 200-499. For target groups with a protocol of GENEVE, the range is 200-399.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingMatcher * _Nullable matcher; /**

The Amazon Resource Name (ARN) of the target group.

*/ @property (nonatomic, strong) NSString * _Nullable targetGroupArn; /**

The number of consecutive health check failures required before considering the target unhealthy.

*/ @property (nonatomic, strong) NSNumber * _Nullable unhealthyThresholdCount; @end /** */ @interface AWSElasticLoadBalancingModifyTargetGroupOutput : AWSModel /**

Information about the modified target group.

*/ @property (nonatomic, strong) NSArray * _Nullable targetGroups; @end /**

Information about a path pattern condition.

*/ @interface AWSElasticLoadBalancingPathPatternConditionConfig : AWSModel /**

The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).

If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use QueryStringConditionConfig.

*/ @property (nonatomic, strong) NSArray * _Nullable values; @end /**

Information about a query string condition.

The query string component of a URI starts after the first '?' character and is terminated by either a '#' character or the end of the URI. A typical query string contains key/value pairs separated by '&' characters. The allowed characters are specified by RFC 3986. Any character can be percentage encoded.

*/ @interface AWSElasticLoadBalancingQueryStringConditionConfig : AWSModel /**

The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Values using a '\' character.

If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.

*/ @property (nonatomic, strong) NSArray * _Nullable values; @end /**

Information about a key/value pair.

*/ @interface AWSElasticLoadBalancingQueryStringKeyValuePair : AWSModel /**

The key. You can omit the key.

*/ @property (nonatomic, strong) NSString * _Nullable key; /**

The value.

*/ @property (nonatomic, strong) NSString * _Nullable value; @end /**

Information about a redirect action.

A URI consists of the following components: protocol://hostname:port/path?query. You must modify at least one of the following components to avoid a redirect loop: protocol, hostname, port, or path. Any components that you do not modify retain their original values.

You can reuse URI components using the following reserved keywords:

  • #{protocol}

  • #{host}

  • #{port}

  • #{path} (the leading "/" is removed)

  • #{query}

For example, you can change the path to "/new/#{path}", the hostname to "example.#{host}", or the query to "#{query}&value=xyz".

Required parameters: [StatusCode] */ @interface AWSElasticLoadBalancingRedirectActionConfig : AWSModel /**

The hostname. This component is not percent-encoded. The hostname can contain #{host}.

*/ @property (nonatomic, strong) NSString * _Nullable host; /**

The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.

*/ @property (nonatomic, strong) NSString * _Nullable path; /**

The port. You can specify a value from 1 to 65535 or #{port}.

*/ @property (nonatomic, strong) NSString * _Nullable port; /**

The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.

*/ @property (nonatomic, strong) NSString * _Nullable protocols; /**

The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.

*/ @property (nonatomic, strong) NSString * _Nullable query; /**

The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).

*/ @property (nonatomic, assign) AWSElasticLoadBalancingRedirectActionStatusCodeEnum statusCode; @end /** */ @interface AWSElasticLoadBalancingRegisterTargetsInput : AWSRequest /**

The Amazon Resource Name (ARN) of the target group.

*/ @property (nonatomic, strong) NSString * _Nullable targetGroupArn; /**

The targets.

*/ @property (nonatomic, strong) NSArray * _Nullable targets; @end /** */ @interface AWSElasticLoadBalancingRegisterTargetsOutput : AWSModel @end /** */ @interface AWSElasticLoadBalancingRemoveListenerCertificatesInput : AWSRequest /**

The certificate to remove. You can specify one certificate per call. Set CertificateArn to the certificate ARN but do not set IsDefault.

*/ @property (nonatomic, strong) NSArray * _Nullable certificates; /**

The Amazon Resource Name (ARN) of the listener.

*/ @property (nonatomic, strong) NSString * _Nullable listenerArn; @end /** */ @interface AWSElasticLoadBalancingRemoveListenerCertificatesOutput : AWSModel @end /** */ @interface AWSElasticLoadBalancingRemoveTagsInput : AWSRequest /**

The Amazon Resource Name (ARN) of the resource.

*/ @property (nonatomic, strong) NSArray * _Nullable resourceArns; /**

The tag keys for the tags to remove.

*/ @property (nonatomic, strong) NSArray * _Nullable tagKeys; @end /** */ @interface AWSElasticLoadBalancingRemoveTagsOutput : AWSModel @end /**

Information about a rule.

*/ @interface AWSElasticLoadBalancingRule : AWSModel /**

The actions. Each rule must include exactly one of the following types of actions: forward, redirect, or fixed-response, and it must be the last action to be performed.

*/ @property (nonatomic, strong) NSArray * _Nullable actions; /**

The conditions. Each rule can include zero or one of the following conditions: http-request-method, host-header, path-pattern, and source-ip, and zero or more of the following conditions: http-header and query-string.

*/ @property (nonatomic, strong) NSArray * _Nullable conditions; /**

Indicates whether this is the default rule.

*/ @property (nonatomic, strong) NSNumber * _Nullable isDefault; /**

The priority.

*/ @property (nonatomic, strong) NSString * _Nullable priority; /**

The Amazon Resource Name (ARN) of the rule.

*/ @property (nonatomic, strong) NSString * _Nullable ruleArn; @end /**

Information about a condition for a rule.

Each rule can optionally include up to one of each of the following conditions: http-request-method, host-header, path-pattern, and source-ip. Each rule can also optionally include one or more of each of the following conditions: http-header and query-string. Note that the value for a condition cannot be empty.

*/ @interface AWSElasticLoadBalancingRuleCondition : AWSModel /**

The field in the HTTP request. The following are the possible values:

  • http-header

  • http-request-method

  • host-header

  • path-pattern

  • query-string

  • source-ip

*/ @property (nonatomic, strong) NSString * _Nullable field; /**

Information for a host header condition. Specify only when Field is host-header.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingHostHeaderConditionConfig * _Nullable hostHeaderConfig; /**

Information for an HTTP header condition. Specify only when Field is http-header.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingHttpHeaderConditionConfig * _Nullable httpHeaderConfig; /**

Information for an HTTP method condition. Specify only when Field is http-request-method.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingHttpRequestMethodConditionConfig * _Nullable httpRequestMethodConfig; /**

Information for a path pattern condition. Specify only when Field is path-pattern.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingPathPatternConditionConfig * _Nullable pathPatternConfig; /**

Information for a query string condition. Specify only when Field is query-string.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingQueryStringConditionConfig * _Nullable queryStringConfig; /**

Information for a source IP condition. Specify only when Field is source-ip.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingSourceIpConditionConfig * _Nullable sourceIpConfig; /**

The condition value. Specify only when Field is host-header or path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use HostHeaderConfig or PathPatternConfig.

If Field is host-header and you are not using HostHeaderConfig, you can specify a single host name (for example, my.example.com) in Values. A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • - .

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

If Field is path-pattern and you are not using PathPatternConfig, you can specify a single path pattern (for example, /img/*) in Values. A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • _ - . $ / ~ " ' @ : +

  • & (using &)

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

*/ @property (nonatomic, strong) NSArray * _Nullable values; @end /**

Information about the priorities for the rules for a listener.

*/ @interface AWSElasticLoadBalancingRulePriorityPair : AWSModel /**

The rule priority.

*/ @property (nonatomic, strong) NSNumber * _Nullable priority; /**

The Amazon Resource Name (ARN) of the rule.

*/ @property (nonatomic, strong) NSString * _Nullable ruleArn; @end /** */ @interface AWSElasticLoadBalancingSetIpAddressTypeInput : AWSRequest /**

The IP address type. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingIpAddressType ipAddressType; /**

The Amazon Resource Name (ARN) of the load balancer.

*/ @property (nonatomic, strong) NSString * _Nullable loadBalancerArn; @end /** */ @interface AWSElasticLoadBalancingSetIpAddressTypeOutput : AWSModel /**

The IP address type.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingIpAddressType ipAddressType; @end /** */ @interface AWSElasticLoadBalancingSetRulePrioritiesInput : AWSRequest /**

The rule priorities.

*/ @property (nonatomic, strong) NSArray * _Nullable rulePriorities; @end /** */ @interface AWSElasticLoadBalancingSetRulePrioritiesOutput : AWSModel /**

Information about the rules.

*/ @property (nonatomic, strong) NSArray * _Nullable rules; @end /** */ @interface AWSElasticLoadBalancingSetSecurityGroupsInput : AWSRequest /**

The Amazon Resource Name (ARN) of the load balancer.

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

The IDs of the security groups.

*/ @property (nonatomic, strong) NSArray * _Nullable securityGroups; @end /** */ @interface AWSElasticLoadBalancingSetSecurityGroupsOutput : AWSModel /**

The IDs of the security groups associated with the load balancer.

*/ @property (nonatomic, strong) NSArray * _Nullable securityGroupIds; @end /** */ @interface AWSElasticLoadBalancingSetSubnetsInput : AWSRequest /**

[Network Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener. .

*/ @property (nonatomic, assign) AWSElasticLoadBalancingIpAddressType ipAddressType; /**

The Amazon Resource Name (ARN) of the load balancer.

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

The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.

[Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets.

[Application Load Balancers on Outposts] You must specify one Outpost subnet.

[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.

[Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.

*/ @property (nonatomic, strong) NSArray * _Nullable subnetMappings; /**

The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.

[Application Load Balancers] You must specify subnets from at least two Availability Zones.

[Application Load Balancers on Outposts] You must specify one Outpost subnet.

[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.

[Network Load Balancers] You can specify subnets from one or more Availability Zones.

*/ @property (nonatomic, strong) NSArray * _Nullable subnets; @end /** */ @interface AWSElasticLoadBalancingSetSubnetsOutput : AWSModel /**

Information about the subnets.

*/ @property (nonatomic, strong) NSArray * _Nullable availabilityZones; /**

[Network Load Balancers] The IP address type.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingIpAddressType ipAddressType; @end /**

Information about a source IP condition.

You can use this condition to route based on the IP address of the source that connects to the load balancer. If a client is behind a proxy, this is the IP address of the proxy not the IP address of the client.

*/ @interface AWSElasticLoadBalancingSourceIpConditionConfig : AWSModel /**

The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported.

If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header. To search for addresses in the X-Forwarded-For header, use HttpHeaderConditionConfig.

*/ @property (nonatomic, strong) NSArray * _Nullable values; @end /**

Information about a policy used for SSL negotiation.

*/ @interface AWSElasticLoadBalancingSslPolicy : AWSModel /**

The ciphers.

*/ @property (nonatomic, strong) NSArray * _Nullable ciphers; /**

The name of the policy.

*/ @property (nonatomic, strong) NSString * _Nullable name; /**

The protocols.

*/ @property (nonatomic, strong) NSArray * _Nullable sslProtocols; /**

The supported load balancers.

*/ @property (nonatomic, strong) NSArray * _Nullable supportedLoadBalancerTypes; @end /**

Information about a subnet mapping.

*/ @interface AWSElasticLoadBalancingSubnetMapping : AWSModel /**

[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.

*/ @property (nonatomic, strong) NSString * _Nullable allocationId; /**

[Network Load Balancers] The IPv6 address.

*/ @property (nonatomic, strong) NSString * _Nullable IPv6Address; /**

[Network Load Balancers] The private IPv4 address for an internal load balancer.

*/ @property (nonatomic, strong) NSString * _Nullable privateIPv4Address; /**

The ID of the subnet.

*/ @property (nonatomic, strong) NSString * _Nullable subnetId; @end /**

Information about a tag.

Required parameters: [Key] */ @interface AWSElasticLoadBalancingTag : AWSModel /**

The key of the tag.

*/ @property (nonatomic, strong) NSString * _Nullable key; /**

The value of the tag.

*/ @property (nonatomic, strong) NSString * _Nullable value; @end /**

The tags associated with a resource.

*/ @interface AWSElasticLoadBalancingTagDescription : AWSModel /**

The Amazon Resource Name (ARN) of the resource.

*/ @property (nonatomic, strong) NSString * _Nullable resourceArn; /**

Information about the tags.

*/ @property (nonatomic, strong) NSArray * _Nullable tags; @end /**

Information about a target.

Required parameters: [Id] */ @interface AWSElasticLoadBalancingTargetDescription : AWSModel /**

An Availability Zone or all. This determines whether the target receives traffic from the load balancer nodes in the specified Availability Zone or from all enabled Availability Zones for the load balancer.

For Application Load Balancer target groups, the specified Availability Zone value is only applicable when cross-zone load balancing is off. Otherwise the parameter is ignored and treated as all.

This parameter is not supported if the target type of the target group is instance or alb.

If the target type is ip and the IP address is in a subnet of the VPC for the target group, the Availability Zone is automatically detected and this parameter is optional. If the IP address is outside the VPC, this parameter is required.

For Application Load Balancer target groups with cross-zone load balancing off, if the target type is ip and the IP address is outside of the VPC for the target group, this should be an Availability Zone inside the VPC for the target group.

If the target type is lambda, this parameter is optional and the only supported value is all.

*/ @property (nonatomic, strong) NSString * _Nullable availabilityZone; /**

The ID of the target. If the target type of the target group is instance, specify an instance ID. If the target type is ip, specify an IP address. If the target type is lambda, specify the ARN of the Lambda function. If the target type is alb, specify the ARN of the Application Load Balancer target.

*/ @property (nonatomic, strong) NSString * _Nullable identifier; /**

The port on which the target is listening. If the target group protocol is GENEVE, the supported port is 6081. If the target type is alb, the targeted Application Load Balancer must have at least one listener whose port matches the target group port. Not used if the target is a Lambda function.

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

Information about a target group.

*/ @interface AWSElasticLoadBalancingTargetGroup : AWSModel /**

Indicates whether health checks are enabled.

*/ @property (nonatomic, strong) NSNumber * _Nullable healthCheckEnabled; /**

The approximate amount of time, in seconds, between health checks of an individual target.

*/ @property (nonatomic, strong) NSNumber * _Nullable healthCheckIntervalSeconds; /**

The destination for health checks on the targets.

*/ @property (nonatomic, strong) NSString * _Nullable healthCheckPath; /**

The port to use to connect with the target.

*/ @property (nonatomic, strong) NSString * _Nullable healthCheckPort; /**

The protocol to use to connect with the target. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingProtocolEnum healthCheckProtocol; /**

The amount of time, in seconds, during which no response means a failed health check.

*/ @property (nonatomic, strong) NSNumber * _Nullable healthCheckTimeoutSeconds; /**

The number of consecutive health checks successes required before considering an unhealthy target healthy.

*/ @property (nonatomic, strong) NSNumber * _Nullable healthyThresholdCount; /**

The type of IP address used for this target group. The possible values are ipv4 and ipv6. This is an optional parameter. If not specified, the IP address type defaults to ipv4.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingTargetGroupIpAddressTypeEnum ipAddressType; /**

The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.

*/ @property (nonatomic, strong) NSArray * _Nullable loadBalancerArns; /**

The HTTP or gRPC codes to use when checking for a successful response from a target.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingMatcher * _Nullable matcher; /**

The port on which the targets are listening. Not used if the target is a Lambda function.

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

The protocol to use for routing traffic to the targets.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingProtocolEnum protocols; /**

[HTTP/HTTPS protocol] The protocol version. The possible values are GRPC, HTTP1, and HTTP2.

*/ @property (nonatomic, strong) NSString * _Nullable protocolVersion; /**

The Amazon Resource Name (ARN) of the target group.

*/ @property (nonatomic, strong) NSString * _Nullable targetGroupArn; /**

The name of the target group.

*/ @property (nonatomic, strong) NSString * _Nullable targetGroupName; /**

The type of target that you must specify when registering targets with this target group. The possible values are instance (register targets by instance ID), ip (register targets by IP address), lambda (register a single Lambda function as a target), or alb (register a single Application Load Balancer as a target).

*/ @property (nonatomic, assign) AWSElasticLoadBalancingTargetTypeEnum targetType; /**

The number of consecutive health check failures required before considering the target unhealthy.

*/ @property (nonatomic, strong) NSNumber * _Nullable unhealthyThresholdCount; /**

The ID of the VPC for the targets.

*/ @property (nonatomic, strong) NSString * _Nullable vpcId; @end /**

Information about a target group attribute.

*/ @interface AWSElasticLoadBalancingTargetGroupAttribute : AWSModel /**

The name of the attribute.

The following attributes are supported by all load balancers:

  • deregistration_delay.timeout_seconds - The amount of time, in seconds, for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds. If the target is a Lambda function, this attribute is not supported.

  • stickiness.enabled - Indicates whether target stickiness is enabled. The value is true or false. The default is false.

  • stickiness.type - Indicates the type of stickiness. The possible values are:

    • lb_cookie and app_cookie for Application Load Balancers.

    • source_ip for Network Load Balancers.

    • source_ip_dest_ip and source_ip_dest_ip_proto for Gateway Load Balancers.

The following attributes are supported by Application Load Balancers and Network Load Balancers:

  • load_balancing.cross_zone.enabled - Indicates whether cross zone load balancing is enabled. The value is true, false or use_load_balancer_configuration. The default is use_load_balancer_configuration.

  • target_group_health.dns_failover.minimum_healthy_targets.count - The minimum number of targets that must be healthy. If the number of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are off or an integer from 1 to the maximum number of targets. The default is off.

  • target_group_health.dns_failover.minimum_healthy_targets.percentage - The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are off or an integer from 1 to 100. The default is off.

  • target_group_health.unhealthy_state_routing.minimum_healthy_targets.count - The minimum number of targets that must be healthy. If the number of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are 1 to the maximum number of targets. The default is 1.

  • target_group_health.unhealthy_state_routing.minimum_healthy_targets.percentage - The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are off or an integer from 1 to 100. The default is off.

The following attributes are supported only if the load balancer is an Application Load Balancer and the target is an instance or an IP address:

  • load_balancing.algorithm.type - The load balancing algorithm determines how the load balancer selects targets when routing requests. The value is round_robin or least_outstanding_requests. The default is round_robin.

  • slow_start.duration_seconds - The time period, in seconds, during which a newly registered target receives an increasing share of the traffic to the target group. After this time period ends, the target receives its full share of traffic. The range is 30-900 seconds (15 minutes). The default is 0 seconds (disabled).

  • stickiness.app_cookie.cookie_name - Indicates the name of the application-based cookie. Names that start with the following prefixes are not allowed: AWSALB, AWSALBAPP, and AWSALBTG; they're reserved for use by the load balancer.

  • stickiness.app_cookie.duration_seconds - The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the application-based cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).

  • stickiness.lb_cookie.duration_seconds - The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).

The following attribute is supported only if the load balancer is an Application Load Balancer and the target is a Lambda function:

  • lambda.multi_value_headers.enabled - Indicates whether the request and response headers that are exchanged between the load balancer and the Lambda function include arrays of values or strings. The value is true or false. The default is false. If the value is false and the request contains a duplicate header field name or query parameter key, the load balancer uses the last value sent by the client.

The following attributes are supported only by Network Load Balancers:

  • deregistration_delay.connection_termination.enabled - Indicates whether the load balancer terminates connections at the end of the deregistration timeout. The value is true or false. The default is false.

  • preserve_client_ip.enabled - Indicates whether client IP preservation is enabled. The value is true or false. The default is disabled if the target group type is IP address and the target group protocol is TCP or TLS. Otherwise, the default is enabled. Client IP preservation cannot be disabled for UDP and TCP_UDP target groups.

  • proxy_protocol_v2.enabled - Indicates whether Proxy Protocol version 2 is enabled. The value is true or false. The default is false.

The following attributes are supported only by Gateway Load Balancers:

  • target_failover.on_deregistration - Indicates how the Gateway Load Balancer handles existing flows when a target is deregistered. The possible values are rebalance and no_rebalance. The default is no_rebalance. The two attributes (target_failover.on_deregistration and target_failover.on_unhealthy) can't be set independently. The value you set for both attributes must be the same.

  • target_failover.on_unhealthy - Indicates how the Gateway Load Balancer handles existing flows when a target is unhealthy. The possible values are rebalance and no_rebalance. The default is no_rebalance. The two attributes (target_failover.on_deregistration and target_failover.on_unhealthy) cannot be set independently. The value you set for both attributes must be the same.

*/ @property (nonatomic, strong) NSString * _Nullable key; /**

The value of the attribute.

*/ @property (nonatomic, strong) NSString * _Nullable value; @end /**

Information about the target group stickiness for a rule.

*/ @interface AWSElasticLoadBalancingTargetGroupStickinessConfig : AWSModel /**

The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).

*/ @property (nonatomic, strong) NSNumber * _Nullable durationSeconds; /**

Indicates whether target group stickiness is enabled.

*/ @property (nonatomic, strong) NSNumber * _Nullable enabled; @end /**

Information about how traffic will be distributed between multiple target groups in a forward rule.

*/ @interface AWSElasticLoadBalancingTargetGroupTuple : AWSModel /**

The Amazon Resource Name (ARN) of the target group.

*/ @property (nonatomic, strong) NSString * _Nullable targetGroupArn; /**

The weight. The range is 0 to 999.

*/ @property (nonatomic, strong) NSNumber * _Nullable weight; @end /**

Information about the current health of a target.

*/ @interface AWSElasticLoadBalancingTargetHealth : AWSModel /**

A description of the target health that provides additional details. If the state is healthy, a description is not provided.

*/ @property (nonatomic, strong) NSString * _Nullable detail; /**

The reason code.

If the target state is healthy, a reason code is not provided.

If the target state is initial, the reason code can be one of the following values:

  • Elb.RegistrationInProgress - The target is in the process of being registered with the load balancer.

  • Elb.InitialHealthChecking - The load balancer is still sending the target the minimum number of health checks required to determine its health status.

If the target state is unhealthy, the reason code can be one of the following values:

  • Target.ResponseCodeMismatch - The health checks did not return an expected HTTP code. Applies only to Application Load Balancers and Gateway Load Balancers.

  • Target.Timeout - The health check requests timed out. Applies only to Application Load Balancers and Gateway Load Balancers.

  • Target.FailedHealthChecks - The load balancer received an error while establishing a connection to the target or the target response was malformed.

  • Elb.InternalError - The health checks failed due to an internal error. Applies only to Application Load Balancers.

If the target state is unused, the reason code can be one of the following values:

  • Target.NotRegistered - The target is not registered with the target group.

  • Target.NotInUse - The target group is not used by any load balancer or the target is in an Availability Zone that is not enabled for its load balancer.

  • Target.InvalidState - The target is in the stopped or terminated state.

  • Target.IpUnusable - The target IP address is reserved for use by a load balancer.

If the target state is draining, the reason code can be the following value:

  • Target.DeregistrationInProgress - The target is in the process of being deregistered and the deregistration delay period has not expired.

If the target state is unavailable, the reason code can be the following value:

  • Target.HealthCheckDisabled - Health checks are disabled for the target group. Applies only to Application Load Balancers.

  • Elb.InternalError - Target health is unavailable due to an internal error. Applies only to Network Load Balancers.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingTargetHealthReasonEnum reason; /**

The state of the target.

*/ @property (nonatomic, assign) AWSElasticLoadBalancingTargetHealthStateEnum state; @end /**

Information about the health of a target.

*/ @interface AWSElasticLoadBalancingTargetHealthDescription : AWSModel /**

The port to use to connect with the target.

*/ @property (nonatomic, strong) NSString * _Nullable healthCheckPort; /**

The description of the target.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingTargetDescription * _Nullable target; /**

The health information for the target.

*/ @property (nonatomic, strong) AWSElasticLoadBalancingTargetHealth * _Nullable targetHealth; @end NS_ASSUME_NONNULL_END