AWSElasticLoadBalancingAction
Objective-C
@interface AWSElasticLoadBalancingAction
Swift
class AWSElasticLoadBalancingAction
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]
-
[HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when
Typeisauthenticate-cognito.Declaration
Objective-C
@property (nonatomic, strong) AWSElasticLoadBalancingAuthenticateCognitoActionConfig *_Nullable authenticateCognitoConfig;Swift
var authenticateCognitoConfig: AWSElasticLoadBalancingAuthenticateCognitoActionConfig? { get set } -
[HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when
Typeisauthenticate-oidc.Declaration
Objective-C
@property (nonatomic, strong) AWSElasticLoadBalancingAuthenticateOidcActionConfig *_Nullable authenticateOidcConfig;Swift
var authenticateOidcConfig: AWSElasticLoadBalancingAuthenticateOidcActionConfig? { get set } -
[Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when
Typeisfixed-response.Declaration
Objective-C
@property (nonatomic, strong) AWSElasticLoadBalancingFixedResponseActionConfig *_Nullable fixedResponseConfig;Swift
var fixedResponseConfig: AWSElasticLoadBalancingFixedResponseActionConfig? { get set } -
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
Typeisforward. If you specify bothForwardConfigandTargetGroupArn, you can specify only one target group usingForwardConfigand it must be the same target group specified inTargetGroupArn.Declaration
Objective-C
@property (nonatomic, strong) AWSElasticLoadBalancingForwardActionConfig *_Nullable forwardConfig;Swift
var forwardConfig: AWSElasticLoadBalancingForwardActionConfig? { get set } -
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.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable order;Swift
var order: NSNumber? { get set } -
[Application Load Balancer] Information for creating a redirect action. Specify only when
Typeisredirect.Declaration
Objective-C
@property (nonatomic, strong) AWSElasticLoadBalancingRedirectActionConfig *_Nullable redirectConfig;Swift
var redirectConfig: AWSElasticLoadBalancingRedirectActionConfig? { get set } -
The Amazon Resource Name (ARN) of the target group. Specify only when
Typeisforwardand you want to route to a single target group. To route to one or more target groups, useForwardConfiginstead.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable targetGroupArn;Swift
var targetGroupArn: String? { get set } -
The type of action.
Declaration
Objective-C
@property (nonatomic) AWSElasticLoadBalancingActionTypeEnum types;Swift
var types: AWSElasticLoadBalancingActionTypeEnum { get set }
View on GitHub
Install in Dash
AWSElasticLoadBalancingAction Class Reference