Paws::ELBv2::ModifyRule - Arguments for method ModifyRule on Paws::ELBv2
This class represents the parameters used for calling the method ModifyRule on the Elastic Load Balancing service. Use the attributes of this class as arguments to method ModifyRule.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyRule.
my $elasticloadbalancing = Paws->service('ELBv2'); # To modify a rule # This example modifies the condition for the specified rule. my $ModifyRuleOutput = $elasticloadbalancing->ModifyRule( 'Conditions' => [ { 'Field' => 'path-pattern', 'Values' => ['/images/*'] } ], 'RuleArn' => 'arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/9683b2d02a6cabee' ); # Results: my $Rules = $ModifyRuleOutput->Rules; # Returns a L<Paws::ELBv2::ModifyRuleOutput> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing/ModifyRule
The actions.
If the action type is forward, you specify a target group. The protocol of the target group must be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP or TLS for a Network Load Balancer.
forward
[HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through an identity provider that is OpenID Connect (OIDC) compliant.
authenticate-oidc
[HTTPS listeners] If the action type is authenticate-cognito, you authenticate users through the user pools supported by Amazon Cognito.
authenticate-cognito
[Application Load Balancer] If the action type is redirect, you redirect specified client requests from one URL to another.
redirect
[Application Load Balancer] If the action type is fixed-response, you drop specified client requests and return a custom HTTP response.
fixed-response
The conditions. Each condition specifies a field name and a single value.
If the field name is host-header, you can specify a single host name (for example, my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters. You can include up to three wildcard characters.
host-header
A-Z, a-z, 0-9
- .
* (matches 0 or more characters)
? (matches exactly 1 character)
If the field name is path-pattern, you can specify a single path pattern. A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters. You can include up to three wildcard characters.
path-pattern
_ - . $ / ~ " ' @ : +
& (using &)
The Amazon Resource Name (ARN) of the rule.
This class forms part of Paws, documenting arguments for method ModifyRule in Paws::ELBv2
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.