You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ElasticLoadBalancingV2::Types::ModifyRuleInput

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

Overview

Note:

When making an API call, you may pass ModifyRuleInput data as a hash:

{
  rule_arn: "RuleArn", # required
  conditions: [
    {
      field: "ConditionFieldName",
      values: ["StringValue"],
    },
  ],
  actions: [
    {
      type: "forward", # required, accepts forward
      target_group_arn: "TargetGroupArn", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<Types::Action>

The actions. The target group must use the HTTP or HTTPS protocol.

Returns:



1646
1647
1648
1649
1650
1651
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1646

class ModifyRuleInput < Struct.new(
  :rule_arn,
  :conditions,
  :actions)
  include Aws::Structure
end

#conditionsArray<Types::RuleCondition>

The conditions.

Returns:



1646
1647
1648
1649
1650
1651
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1646

class ModifyRuleInput < Struct.new(
  :rule_arn,
  :conditions,
  :actions)
  include Aws::Structure
end

#rule_arnString

The Amazon Resource Name (ARN) of the rule.

Returns:

  • (String)


1646
1647
1648
1649
1650
1651
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1646

class ModifyRuleInput < Struct.new(
  :rule_arn,
  :conditions,
  :actions)
  include Aws::Structure
end