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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ModifyRuleInput as input to an Aws::Client method, you can use a vanilla 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:

#conditionsArray<Types::RuleCondition>

The conditions.

Returns:

#rule_arnString

The Amazon Resource Name (ARN) of the rule.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the rule.