AWSElasticLoadBalancingModifyRuleInput

Objective-C

@interface AWSElasticLoadBalancingModifyRuleInput

Swift

class AWSElasticLoadBalancingModifyRuleInput
  • The actions. 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.

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

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

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

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

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSElasticLoadBalancingAction *> *_Nullable 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 }
  • The Amazon Resource Name (ARN) of the rule.

    Declaration

    Objective-C

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

    Swift

    var ruleArn: String? { get set }