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.

Returns:



1437
1438
1439
1440
1441
1442
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1437

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

#conditionsArray<Types::RuleCondition>

The conditions.

Returns:



1437
1438
1439
1440
1441
1442
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1437

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

#rule_arnString

The Amazon Resource Name (ARN) of the rule.

Returns:

  • (String)


1437
1438
1439
1440
1441
1442
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1437

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