Class: Aws::VPCLattice::Types::RuleAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::VPCLattice::Types::RuleAction
- Defined in:
- gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb
Overview
Note:
RuleAction is a union - when making an API calls you must set exactly one of the members.
Note:
RuleAction is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RuleAction corresponding to the set member.
Describes the action for a rule.
Direct Known Subclasses
Defined Under Namespace
Classes: FixedResponse, Forward, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#fixed_response ⇒ Types::FixedResponseAction
The fixed response action.
-
#forward ⇒ Types::ForwardAction
The forward action.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#fixed_response ⇒ Types::FixedResponseAction
The fixed response action. The rule returns a custom HTTP response.
4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4396 class RuleAction < Struct.new( :forward, :fixed_response, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Forward < RuleAction; end class FixedResponse < RuleAction; end class Unknown < RuleAction; end end |
#forward ⇒ Types::ForwardAction
The forward action. Traffic that matches the rule is forwarded to the specified target groups.
4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4396 class RuleAction < Struct.new( :forward, :fixed_response, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Forward < RuleAction; end class FixedResponse < RuleAction; end class Unknown < RuleAction; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
4396 4397 4398 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4396 def unknown @unknown end |