AWSElasticLoadBalancingRule

Objective-C

@interface AWSElasticLoadBalancingRule

Swift

class AWSElasticLoadBalancingRule

Information about a rule.

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

    Declaration

    Objective-C

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

    Swift

    var actions: [AWSElasticLoadBalancingAction]? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSElasticLoadBalancingRuleCondition *> *_Nullable conditions;

    Swift

    var conditions: [AWSElasticLoadBalancingRuleCondition]? { get set }
  • Indicates whether this is the default rule.

    Declaration

    Objective-C

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

    Swift

    var isDefault: NSNumber? { get set }
  • The priority.

    Declaration

    Objective-C

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

    Swift

    var priority: String? { get set }
  • The Amazon Resource Name (ARN) of the rule.

    Declaration

    Objective-C

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

    Swift

    var ruleArn: String? { get set }