Class: Aws::ElasticLoadBalancingV2::Types::Action

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-elasticloadbalancingv2/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#authenticate_cognito_configTypes::AuthenticateCognitoActionConfig

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



76
77
78
79
80
81
82
83
84
85
86
87
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 76

class Action < Struct.new(
  :type,
  :target_group_arn,
  :authenticate_oidc_config,
  :authenticate_cognito_config,
  :order,
  :redirect_config,
  :fixed_response_config,
  :forward_config)
  SENSITIVE = []
  include Aws::Structure
end

#authenticate_oidc_configTypes::AuthenticateOidcActionConfig

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



76
77
78
79
80
81
82
83
84
85
86
87
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 76

class Action < Struct.new(
  :type,
  :target_group_arn,
  :authenticate_oidc_config,
  :authenticate_cognito_config,
  :order,
  :redirect_config,
  :fixed_response_config,
  :forward_config)
  SENSITIVE = []
  include Aws::Structure
end

#fixed_response_configTypes::FixedResponseActionConfig

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



76
77
78
79
80
81
82
83
84
85
86
87
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 76

class Action < Struct.new(
  :type,
  :target_group_arn,
  :authenticate_oidc_config,
  :authenticate_cognito_config,
  :order,
  :redirect_config,
  :fixed_response_config,
  :forward_config)
  SENSITIVE = []
  include Aws::Structure
end

#forward_configTypes::ForwardActionConfig

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



76
77
78
79
80
81
82
83
84
85
86
87
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 76

class Action < Struct.new(
  :type,
  :target_group_arn,
  :authenticate_oidc_config,
  :authenticate_cognito_config,
  :order,
  :redirect_config,
  :fixed_response_config,
  :forward_config)
  SENSITIVE = []
  include Aws::Structure
end

#orderInteger

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.

Returns:

  • (Integer)


76
77
78
79
80
81
82
83
84
85
86
87
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 76

class Action < Struct.new(
  :type,
  :target_group_arn,
  :authenticate_oidc_config,
  :authenticate_cognito_config,
  :order,
  :redirect_config,
  :fixed_response_config,
  :forward_config)
  SENSITIVE = []
  include Aws::Structure
end

#redirect_configTypes::RedirectActionConfig

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



76
77
78
79
80
81
82
83
84
85
86
87
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 76

class Action < Struct.new(
  :type,
  :target_group_arn,
  :authenticate_oidc_config,
  :authenticate_cognito_config,
  :order,
  :redirect_config,
  :fixed_response_config,
  :forward_config)
  SENSITIVE = []
  include Aws::Structure
end

#target_group_arnString

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.

Returns:

  • (String)


76
77
78
79
80
81
82
83
84
85
86
87
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 76

class Action < Struct.new(
  :type,
  :target_group_arn,
  :authenticate_oidc_config,
  :authenticate_cognito_config,
  :order,
  :redirect_config,
  :fixed_response_config,
  :forward_config)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of action.

Returns:

  • (String)


76
77
78
79
80
81
82
83
84
85
86
87
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 76

class Action < Struct.new(
  :type,
  :target_group_arn,
  :authenticate_oidc_config,
  :authenticate_cognito_config,
  :order,
  :redirect_config,
  :fixed_response_config,
  :forward_config)
  SENSITIVE = []
  include Aws::Structure
end