Viewing docs for AWS v7.24.0
published on Tuesday, Mar 31, 2026 by Pulumi
published on Tuesday, Mar 31, 2026 by Pulumi
Viewing docs for AWS v7.24.0
published on Tuesday, Mar 31, 2026 by Pulumi
published on Tuesday, Mar 31, 2026 by Pulumi
Provides information about an AWS Elastic Load Balancing Listener Rule.
Example Usage
Match by Rule ARN
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const config = new pulumi.Config();
const lbRuleArn = config.require("lbRuleArn");
const example = aws.lb.getListenerRule({
arn: lbRuleArn,
});
import pulumi
import pulumi_aws as aws
config = pulumi.Config()
lb_rule_arn = config.require("lbRuleArn")
example = aws.lb.get_listener_rule(arn=lb_rule_arn)
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
lbRuleArn := cfg.Require("lbRuleArn")
_, err := lb.LookupListenerRule(ctx, &lb.LookupListenerRuleArgs{
Arn: pulumi.StringRef(lbRuleArn),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var lbRuleArn = config.Require("lbRuleArn");
var example = Aws.LB.GetListenerRule.Invoke(new()
{
Arn = lbRuleArn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.lb.LbFunctions;
import com.pulumi.aws.lb.inputs.GetListenerRuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var lbRuleArn = config.require("lbRuleArn");
final var example = LbFunctions.getListenerRule(GetListenerRuleArgs.builder()
.arn(lbRuleArn)
.build());
}
}
configuration:
lbRuleArn:
type: string
variables:
example:
fn::invoke:
function: aws:lb:getListenerRule
arguments:
arn: ${lbRuleArn}
Match by Listener ARN and Priority
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const config = new pulumi.Config();
const lbListenerArn = config.require("lbListenerArn");
const lbRulePriority = config.requireNumber("lbRulePriority");
const example = aws.lb.getListenerRule({
listenerArn: lbListenerArn,
priority: lbRulePriority,
});
import pulumi
import pulumi_aws as aws
config = pulumi.Config()
lb_listener_arn = config.require("lbListenerArn")
lb_rule_priority = config.require_float("lbRulePriority")
example = aws.lb.get_listener_rule(listener_arn=lb_listener_arn,
priority=lb_rule_priority)
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
lbListenerArn := cfg.Require("lbListenerArn")
lbRulePriority := cfg.RequireFloat64("lbRulePriority")
_, err := lb.LookupListenerRule(ctx, &lb.LookupListenerRuleArgs{
ListenerArn: pulumi.StringRef(lbListenerArn),
Priority: pulumi.IntRef(lbRulePriority),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var lbListenerArn = config.Require("lbListenerArn");
var lbRulePriority = config.RequireDouble("lbRulePriority");
var example = Aws.LB.GetListenerRule.Invoke(new()
{
ListenerArn = lbListenerArn,
Priority = lbRulePriority,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.lb.LbFunctions;
import com.pulumi.aws.lb.inputs.GetListenerRuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var lbListenerArn = config.require("lbListenerArn");
final var lbRulePriority = config.require("lbRulePriority");
final var example = LbFunctions.getListenerRule(GetListenerRuleArgs.builder()
.listenerArn(lbListenerArn)
.priority(lbRulePriority)
.build());
}
}
configuration:
lbListenerArn:
type: string
lbRulePriority:
type: number
variables:
example:
fn::invoke:
function: aws:lb:getListenerRule
arguments:
listenerArn: ${lbListenerArn}
priority: ${lbRulePriority}
Using getListenerRule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getListenerRule(args: GetListenerRuleArgs, opts?: InvokeOptions): Promise<GetListenerRuleResult>
function getListenerRuleOutput(args: GetListenerRuleOutputArgs, opts?: InvokeOptions): Output<GetListenerRuleResult>def get_listener_rule(actions: Optional[Sequence[GetListenerRuleAction]] = None,
arn: Optional[str] = None,
conditions: Optional[Sequence[GetListenerRuleCondition]] = None,
listener_arn: Optional[str] = None,
priority: Optional[int] = None,
region: Optional[str] = None,
transforms: Optional[Sequence[GetListenerRuleTransform]] = None,
opts: Optional[InvokeOptions] = None) -> GetListenerRuleResult
def get_listener_rule_output(actions: Optional[pulumi.Input[Sequence[pulumi.Input[GetListenerRuleActionArgs]]]] = None,
arn: Optional[pulumi.Input[str]] = None,
conditions: Optional[pulumi.Input[Sequence[pulumi.Input[GetListenerRuleConditionArgs]]]] = None,
listener_arn: Optional[pulumi.Input[str]] = None,
priority: Optional[pulumi.Input[int]] = None,
region: Optional[pulumi.Input[str]] = None,
transforms: Optional[pulumi.Input[Sequence[pulumi.Input[GetListenerRuleTransformArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetListenerRuleResult]func LookupListenerRule(ctx *Context, args *LookupListenerRuleArgs, opts ...InvokeOption) (*LookupListenerRuleResult, error)
func LookupListenerRuleOutput(ctx *Context, args *LookupListenerRuleOutputArgs, opts ...InvokeOption) LookupListenerRuleResultOutput> Note: This function is named LookupListenerRule in the Go SDK.
public static class GetListenerRule
{
public static Task<GetListenerRuleResult> InvokeAsync(GetListenerRuleArgs args, InvokeOptions? opts = null)
public static Output<GetListenerRuleResult> Invoke(GetListenerRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetListenerRuleResult> getListenerRule(GetListenerRuleArgs args, InvokeOptions options)
public static Output<GetListenerRuleResult> getListenerRule(GetListenerRuleArgs args, InvokeOptions options)
fn::invoke:
function: aws:lb/getListenerRule:getListenerRule
arguments:
# arguments dictionaryThe following arguments are supported:
- Actions
List<Get
Listener Rule Action> - List of actions associated with the rule, sorted by
order. Detailed below. - Arn string
- ARN of the Listener Rule.
Either
arnorlistenerArnmust be set. - Conditions
List<Get
Listener Rule Condition> - Set of conditions associated with the rule. Detailed below.
- Listener
Arn string - ARN of the associated Listener.
Either
arnorlistenerArnmust be set. - Priority int
- Priority of the Listener Rule within the Listener.
Must be set if
listenerArnis set, otherwise must not be set. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Transforms
List<Get
Listener Rule Transform> - Block for transform to apply to requests that match this rule. Detailed below.
- Actions
[]Get
Listener Rule Action - List of actions associated with the rule, sorted by
order. Detailed below. - Arn string
- ARN of the Listener Rule.
Either
arnorlistenerArnmust be set. - Conditions
[]Get
Listener Rule Condition - Set of conditions associated with the rule. Detailed below.
- Listener
Arn string - ARN of the associated Listener.
Either
arnorlistenerArnmust be set. - Priority int
- Priority of the Listener Rule within the Listener.
Must be set if
listenerArnis set, otherwise must not be set. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Transforms
[]Get
Listener Rule Transform - Block for transform to apply to requests that match this rule. Detailed below.
- actions
List<Get
Listener Rule Action> - List of actions associated with the rule, sorted by
order. Detailed below. - arn String
- ARN of the Listener Rule.
Either
arnorlistenerArnmust be set. - conditions
List<Get
Listener Rule Condition> - Set of conditions associated with the rule. Detailed below.
- listener
Arn String - ARN of the associated Listener.
Either
arnorlistenerArnmust be set. - priority Integer
- Priority of the Listener Rule within the Listener.
Must be set if
listenerArnis set, otherwise must not be set. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- transforms
List<Get
Listener Rule Transform> - Block for transform to apply to requests that match this rule. Detailed below.
- actions
Get
Listener Rule Action[] - List of actions associated with the rule, sorted by
order. Detailed below. - arn string
- ARN of the Listener Rule.
Either
arnorlistenerArnmust be set. - conditions
Get
Listener Rule Condition[] - Set of conditions associated with the rule. Detailed below.
- listener
Arn string - ARN of the associated Listener.
Either
arnorlistenerArnmust be set. - priority number
- Priority of the Listener Rule within the Listener.
Must be set if
listenerArnis set, otherwise must not be set. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- transforms
Get
Listener Rule Transform[] - Block for transform to apply to requests that match this rule. Detailed below.
- actions
Sequence[Get
Listener Rule Action] - List of actions associated with the rule, sorted by
order. Detailed below. - arn str
- ARN of the Listener Rule.
Either
arnorlistenerArnmust be set. - conditions
Sequence[Get
Listener Rule Condition] - Set of conditions associated with the rule. Detailed below.
- listener_
arn str - ARN of the associated Listener.
Either
arnorlistenerArnmust be set. - priority int
- Priority of the Listener Rule within the Listener.
Must be set if
listenerArnis set, otherwise must not be set. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- transforms
Sequence[Get
Listener Rule Transform] - Block for transform to apply to requests that match this rule. Detailed below.
- actions List<Property Map>
- List of actions associated with the rule, sorted by
order. Detailed below. - arn String
- ARN of the Listener Rule.
Either
arnorlistenerArnmust be set. - conditions List<Property Map>
- Set of conditions associated with the rule. Detailed below.
- listener
Arn String - ARN of the associated Listener.
Either
arnorlistenerArnmust be set. - priority Number
- Priority of the Listener Rule within the Listener.
Must be set if
listenerArnis set, otherwise must not be set. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- transforms List<Property Map>
- Block for transform to apply to requests that match this rule. Detailed below.
getListenerRule Result
The following output properties are available:
- Arn string
- ARN of the target group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Listener
Arn string - Priority int
- Region string
- Dictionary<string, string>
- Tags assigned to the Listener Rule.
- Actions
List<Get
Listener Rule Action> - List of actions associated with the rule, sorted by
order. Detailed below. - Conditions
List<Get
Listener Rule Condition> - Set of conditions associated with the rule. Detailed below.
- Transforms
List<Get
Listener Rule Transform> - Block for transform to apply to requests that match this rule. Detailed below.
- Arn string
- ARN of the target group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Listener
Arn string - Priority int
- Region string
- map[string]string
- Tags assigned to the Listener Rule.
- Actions
[]Get
Listener Rule Action - List of actions associated with the rule, sorted by
order. Detailed below. - Conditions
[]Get
Listener Rule Condition - Set of conditions associated with the rule. Detailed below.
- Transforms
[]Get
Listener Rule Transform - Block for transform to apply to requests that match this rule. Detailed below.
- arn String
- ARN of the target group.
- id String
- The provider-assigned unique ID for this managed resource.
- listener
Arn String - priority Integer
- region String
- Map<String,String>
- Tags assigned to the Listener Rule.
- actions
List<Get
Listener Rule Action> - List of actions associated with the rule, sorted by
order. Detailed below. - conditions
List<Get
Listener Rule Condition> - Set of conditions associated with the rule. Detailed below.
- transforms
List<Get
Listener Rule Transform> - Block for transform to apply to requests that match this rule. Detailed below.
- arn string
- ARN of the target group.
- id string
- The provider-assigned unique ID for this managed resource.
- listener
Arn string - priority number
- region string
- {[key: string]: string}
- Tags assigned to the Listener Rule.
- actions
Get
Listener Rule Action[] - List of actions associated with the rule, sorted by
order. Detailed below. - conditions
Get
Listener Rule Condition[] - Set of conditions associated with the rule. Detailed below.
- transforms
Get
Listener Rule Transform[] - Block for transform to apply to requests that match this rule. Detailed below.
- arn str
- ARN of the target group.
- id str
- The provider-assigned unique ID for this managed resource.
- listener_
arn str - priority int
- region str
- Mapping[str, str]
- Tags assigned to the Listener Rule.
- actions
Sequence[Get
Listener Rule Action] - List of actions associated with the rule, sorted by
order. Detailed below. - conditions
Sequence[Get
Listener Rule Condition] - Set of conditions associated with the rule. Detailed below.
- transforms
Sequence[Get
Listener Rule Transform] - Block for transform to apply to requests that match this rule. Detailed below.
- arn String
- ARN of the target group.
- id String
- The provider-assigned unique ID for this managed resource.
- listener
Arn String - priority Number
- region String
- Map<String>
- Tags assigned to the Listener Rule.
- actions List<Property Map>
- List of actions associated with the rule, sorted by
order. Detailed below. - conditions List<Property Map>
- Set of conditions associated with the rule. Detailed below.
- transforms List<Property Map>
- Block for transform to apply to requests that match this rule. Detailed below.
Supporting Types
GetListenerRuleAction
- Order int
- The evaluation order of the action.
- Type string
- Type of transform.
- Authenticate
Cognitos List<GetListener Rule Action Authenticate Cognito> - An action to authenticate using Amazon Cognito. Detailed below.
- Authenticate
Oidcs List<GetListener Rule Action Authenticate Oidc> - An action to authenticate using OIDC. Detailed below.
- Fixed
Responses List<GetListener Rule Action Fixed Response> - An action to return a fixed response. Detailed below.
- Forwards
List<Get
Listener Rule Action Forward> - An action to forward the request. Detailed below.
- Jwt
Validations List<GetListener Rule Action Jwt Validation> - An action to validate using JWT. Detailed below.
- Redirects
List<Get
Listener Rule Action Redirect> - An action to redirect the request. Detailed below.
- Order int
- The evaluation order of the action.
- Type string
- Type of transform.
- Authenticate
Cognitos []GetListener Rule Action Authenticate Cognito - An action to authenticate using Amazon Cognito. Detailed below.
- Authenticate
Oidcs []GetListener Rule Action Authenticate Oidc - An action to authenticate using OIDC. Detailed below.
- Fixed
Responses []GetListener Rule Action Fixed Response - An action to return a fixed response. Detailed below.
- Forwards
[]Get
Listener Rule Action Forward - An action to forward the request. Detailed below.
- Jwt
Validations []GetListener Rule Action Jwt Validation - An action to validate using JWT. Detailed below.
- Redirects
[]Get
Listener Rule Action Redirect - An action to redirect the request. Detailed below.
- order Integer
- The evaluation order of the action.
- type String
- Type of transform.
- authenticate
Cognitos List<GetListener Rule Action Authenticate Cognito> - An action to authenticate using Amazon Cognito. Detailed below.
- authenticate
Oidcs List<GetListener Rule Action Authenticate Oidc> - An action to authenticate using OIDC. Detailed below.
- fixed
Responses List<GetListener Rule Action Fixed Response> - An action to return a fixed response. Detailed below.
- forwards
List<Get
Listener Rule Action Forward> - An action to forward the request. Detailed below.
- jwt
Validations List<GetListener Rule Action Jwt Validation> - An action to validate using JWT. Detailed below.
- redirects
List<Get
Listener Rule Action Redirect> - An action to redirect the request. Detailed below.
- order number
- The evaluation order of the action.
- type string
- Type of transform.
- authenticate
Cognitos GetListener Rule Action Authenticate Cognito[] - An action to authenticate using Amazon Cognito. Detailed below.
- authenticate
Oidcs GetListener Rule Action Authenticate Oidc[] - An action to authenticate using OIDC. Detailed below.
- fixed
Responses GetListener Rule Action Fixed Response[] - An action to return a fixed response. Detailed below.
- forwards
Get
Listener Rule Action Forward[] - An action to forward the request. Detailed below.
- jwt
Validations GetListener Rule Action Jwt Validation[] - An action to validate using JWT. Detailed below.
- redirects
Get
Listener Rule Action Redirect[] - An action to redirect the request. Detailed below.
- order int
- The evaluation order of the action.
- type str
- Type of transform.
- authenticate_
cognitos Sequence[GetListener Rule Action Authenticate Cognito] - An action to authenticate using Amazon Cognito. Detailed below.
- authenticate_
oidcs Sequence[GetListener Rule Action Authenticate Oidc] - An action to authenticate using OIDC. Detailed below.
- fixed_
responses Sequence[GetListener Rule Action Fixed Response] - An action to return a fixed response. Detailed below.
- forwards
Sequence[Get
Listener Rule Action Forward] - An action to forward the request. Detailed below.
- jwt_
validations Sequence[GetListener Rule Action Jwt Validation] - An action to validate using JWT. Detailed below.
- redirects
Sequence[Get
Listener Rule Action Redirect] - An action to redirect the request. Detailed below.
- order Number
- The evaluation order of the action.
- type String
- Type of transform.
- authenticate
Cognitos List<Property Map> - An action to authenticate using Amazon Cognito. Detailed below.
- authenticate
Oidcs List<Property Map> - An action to authenticate using OIDC. Detailed below.
- fixed
Responses List<Property Map> - An action to return a fixed response. Detailed below.
- forwards List<Property Map>
- An action to forward the request. Detailed below.
- jwt
Validations List<Property Map> - An action to validate using JWT. Detailed below.
- redirects List<Property Map>
- An action to redirect the request. Detailed below.
GetListenerRuleActionAuthenticateCognito
- Authentication
Request Dictionary<string, string>Extra Params - Set of additional parameters for the request. Detailed below.
- On
Unauthenticated stringRequest - Behavior when the client is not authenticated.
- Scope string
- Set of user claims requested.
- string
- Name of the cookie used to maintain session information.
- Session
Timeout int - Maximum duration of the authentication session in seconds.
- User
Pool stringArn - ARN of the Cognito user pool.
- User
Pool stringClient Id - ID of the Cognito user pool client.
- User
Pool stringDomain - Domain prefix or fully-qualified domain name of the Cognito user pool.
- Authentication
Request map[string]stringExtra Params - Set of additional parameters for the request. Detailed below.
- On
Unauthenticated stringRequest - Behavior when the client is not authenticated.
- Scope string
- Set of user claims requested.
- string
- Name of the cookie used to maintain session information.
- Session
Timeout int - Maximum duration of the authentication session in seconds.
- User
Pool stringArn - ARN of the Cognito user pool.
- User
Pool stringClient Id - ID of the Cognito user pool client.
- User
Pool stringDomain - Domain prefix or fully-qualified domain name of the Cognito user pool.
- authentication
Request Map<String,String>Extra Params - Set of additional parameters for the request. Detailed below.
- on
Unauthenticated StringRequest - Behavior when the client is not authenticated.
- scope String
- Set of user claims requested.
- String
- Name of the cookie used to maintain session information.
- session
Timeout Integer - Maximum duration of the authentication session in seconds.
- user
Pool StringArn - ARN of the Cognito user pool.
- user
Pool StringClient Id - ID of the Cognito user pool client.
- user
Pool StringDomain - Domain prefix or fully-qualified domain name of the Cognito user pool.
- authentication
Request {[key: string]: string}Extra Params - Set of additional parameters for the request. Detailed below.
- on
Unauthenticated stringRequest - Behavior when the client is not authenticated.
- scope string
- Set of user claims requested.
- string
- Name of the cookie used to maintain session information.
- session
Timeout number - Maximum duration of the authentication session in seconds.
- user
Pool stringArn - ARN of the Cognito user pool.
- user
Pool stringClient Id - ID of the Cognito user pool client.
- user
Pool stringDomain - Domain prefix or fully-qualified domain name of the Cognito user pool.
- authentication_
request_ Mapping[str, str]extra_ params - Set of additional parameters for the request. Detailed below.
- on_
unauthenticated_ strrequest - Behavior when the client is not authenticated.
- scope str
- Set of user claims requested.
- str
- Name of the cookie used to maintain session information.
- session_
timeout int - Maximum duration of the authentication session in seconds.
- user_
pool_ strarn - ARN of the Cognito user pool.
- user_
pool_ strclient_ id - ID of the Cognito user pool client.
- user_
pool_ strdomain - Domain prefix or fully-qualified domain name of the Cognito user pool.
- authentication
Request Map<String>Extra Params - Set of additional parameters for the request. Detailed below.
- on
Unauthenticated StringRequest - Behavior when the client is not authenticated.
- scope String
- Set of user claims requested.
- String
- Name of the cookie used to maintain session information.
- session
Timeout Number - Maximum duration of the authentication session in seconds.
- user
Pool StringArn - ARN of the Cognito user pool.
- user
Pool StringClient Id - ID of the Cognito user pool client.
- user
Pool StringDomain - Domain prefix or fully-qualified domain name of the Cognito user pool.
GetListenerRuleActionAuthenticateOidc
- Authentication
Request Dictionary<string, string>Extra Params - Set of additional parameters for the request. Detailed below.
- string
- The authorization endpoint of the IdP.
- Client
Id string - OAuth 2.0 client identifier.
- Issuer string
- Issuer of the JWT.
- On
Unauthenticated stringRequest - Behavior when the client is not authenticated.
- Scope string
- Set of user claims requested.
- string
- Name of the cookie used to maintain session information.
- Session
Timeout int - Maximum duration of the authentication session in seconds.
- Token
Endpoint string - The token endpoint of the IdP.
- User
Info stringEndpoint - The user info endpoint of the IdP.
- Authentication
Request map[string]stringExtra Params - Set of additional parameters for the request. Detailed below.
- string
- The authorization endpoint of the IdP.
- Client
Id string - OAuth 2.0 client identifier.
- Issuer string
- Issuer of the JWT.
- On
Unauthenticated stringRequest - Behavior when the client is not authenticated.
- Scope string
- Set of user claims requested.
- string
- Name of the cookie used to maintain session information.
- Session
Timeout int - Maximum duration of the authentication session in seconds.
- Token
Endpoint string - The token endpoint of the IdP.
- User
Info stringEndpoint - The user info endpoint of the IdP.
- authentication
Request Map<String,String>Extra Params - Set of additional parameters for the request. Detailed below.
- String
- The authorization endpoint of the IdP.
- client
Id String - OAuth 2.0 client identifier.
- issuer String
- Issuer of the JWT.
- on
Unauthenticated StringRequest - Behavior when the client is not authenticated.
- scope String
- Set of user claims requested.
- String
- Name of the cookie used to maintain session information.
- session
Timeout Integer - Maximum duration of the authentication session in seconds.
- token
Endpoint String - The token endpoint of the IdP.
- user
Info StringEndpoint - The user info endpoint of the IdP.
- authentication
Request {[key: string]: string}Extra Params - Set of additional parameters for the request. Detailed below.
- string
- The authorization endpoint of the IdP.
- client
Id string - OAuth 2.0 client identifier.
- issuer string
- Issuer of the JWT.
- on
Unauthenticated stringRequest - Behavior when the client is not authenticated.
- scope string
- Set of user claims requested.
- string
- Name of the cookie used to maintain session information.
- session
Timeout number - Maximum duration of the authentication session in seconds.
- token
Endpoint string - The token endpoint of the IdP.
- user
Info stringEndpoint - The user info endpoint of the IdP.
- authentication_
request_ Mapping[str, str]extra_ params - Set of additional parameters for the request. Detailed below.
- str
- The authorization endpoint of the IdP.
- client_
id str - OAuth 2.0 client identifier.
- issuer str
- Issuer of the JWT.
- on_
unauthenticated_ strrequest - Behavior when the client is not authenticated.
- scope str
- Set of user claims requested.
- str
- Name of the cookie used to maintain session information.
- session_
timeout int - Maximum duration of the authentication session in seconds.
- token_
endpoint str - The token endpoint of the IdP.
- user_
info_ strendpoint - The user info endpoint of the IdP.
- authentication
Request Map<String>Extra Params - Set of additional parameters for the request. Detailed below.
- String
- The authorization endpoint of the IdP.
- client
Id String - OAuth 2.0 client identifier.
- issuer String
- Issuer of the JWT.
- on
Unauthenticated StringRequest - Behavior when the client is not authenticated.
- scope String
- Set of user claims requested.
- String
- Name of the cookie used to maintain session information.
- session
Timeout Number - Maximum duration of the authentication session in seconds.
- token
Endpoint String - The token endpoint of the IdP.
- user
Info StringEndpoint - The user info endpoint of the IdP.
GetListenerRuleActionFixedResponse
- Content
Type string - Content type of the response.
- Message
Body string - Message body of the response.
- Status
Code string - The HTTP redirect code.
- Content
Type string - Content type of the response.
- Message
Body string - Message body of the response.
- Status
Code string - The HTTP redirect code.
- content
Type String - Content type of the response.
- message
Body String - Message body of the response.
- status
Code String - The HTTP redirect code.
- content
Type string - Content type of the response.
- message
Body string - Message body of the response.
- status
Code string - The HTTP redirect code.
- content_
type str - Content type of the response.
- message_
body str - Message body of the response.
- status_
code str - The HTTP redirect code.
- content
Type String - Content type of the response.
- message
Body String - Message body of the response.
- status
Code String - The HTTP redirect code.
GetListenerRuleActionForward
- Stickinesses
List<Get
Listener Rule Action Forward Stickiness> - Target group stickiness for the rule. Detailed below.
- Target
Groups List<GetListener Rule Action Forward Target Group> - Set of target groups for the action. Detailed below.
- Stickinesses
[]Get
Listener Rule Action Forward Stickiness - Target group stickiness for the rule. Detailed below.
- Target
Groups []GetListener Rule Action Forward Target Group - Set of target groups for the action. Detailed below.
- stickinesses
List<Get
Listener Rule Action Forward Stickiness> - Target group stickiness for the rule. Detailed below.
- target
Groups List<GetListener Rule Action Forward Target Group> - Set of target groups for the action. Detailed below.
- stickinesses
Get
Listener Rule Action Forward Stickiness[] - Target group stickiness for the rule. Detailed below.
- target
Groups GetListener Rule Action Forward Target Group[] - Set of target groups for the action. Detailed below.
- stickinesses
Sequence[Get
Listener Rule Action Forward Stickiness] - Target group stickiness for the rule. Detailed below.
- target_
groups Sequence[GetListener Rule Action Forward Target Group] - Set of target groups for the action. Detailed below.
- stickinesses List<Property Map>
- Target group stickiness for the rule. Detailed below.
- target
Groups List<Property Map> - Set of target groups for the action. Detailed below.
GetListenerRuleActionForwardStickiness
GetListenerRuleActionForwardTargetGroup
GetListenerRuleActionJwtValidation
- Issuer string
- Issuer of the JWT.
- Jwks
Endpoint string - JSON Web Key Set (JWKS) endpoint.
- Additional
Claims List<GetListener Rule Action Jwt Validation Additional Claim> - Additional claims to validate.
- Issuer string
- Issuer of the JWT.
- Jwks
Endpoint string - JSON Web Key Set (JWKS) endpoint.
- Additional
Claims []GetListener Rule Action Jwt Validation Additional Claim - Additional claims to validate.
- issuer String
- Issuer of the JWT.
- jwks
Endpoint String - JSON Web Key Set (JWKS) endpoint.
- additional
Claims List<GetListener Rule Action Jwt Validation Additional Claim> - Additional claims to validate.
- issuer string
- Issuer of the JWT.
- jwks
Endpoint string - JSON Web Key Set (JWKS) endpoint.
- additional
Claims GetListener Rule Action Jwt Validation Additional Claim[] - Additional claims to validate.
- issuer str
- Issuer of the JWT.
- jwks_
endpoint str - JSON Web Key Set (JWKS) endpoint.
- additional_
claims Sequence[GetListener Rule Action Jwt Validation Additional Claim] - Additional claims to validate.
- issuer String
- Issuer of the JWT.
- jwks
Endpoint String - JSON Web Key Set (JWKS) endpoint.
- additional
Claims List<Property Map> - Additional claims to validate.
GetListenerRuleActionJwtValidationAdditionalClaim
GetListenerRuleActionRedirect
GetListenerRuleCondition
- Host
Headers List<GetListener Rule Condition Host Header> - Host header patterns to match. Detailed below.
- Http
Headers List<GetListener Rule Condition Http Header> - HTTP header and values to match. Detailed below.
- Http
Request List<GetMethods Listener Rule Condition Http Request Method> - Contains a single attribute
values, which contains a set of HTTP request methods. - Path
Patterns List<GetListener Rule Condition Path Pattern> - Path patterns to compare against the request URL. Detailed below.
- Query
Strings List<GetListener Rule Condition Query String> - Query string parameters to match. Detailed below.
- Source
Ips List<GetListener Rule Condition Source Ip> - Contains a single attribute
values, which contains a set of source IPs in CIDR notation.
- Host
Headers []GetListener Rule Condition Host Header - Host header patterns to match. Detailed below.
- Http
Headers []GetListener Rule Condition Http Header - HTTP header and values to match. Detailed below.
- Http
Request []GetMethods Listener Rule Condition Http Request Method - Contains a single attribute
values, which contains a set of HTTP request methods. - Path
Patterns []GetListener Rule Condition Path Pattern - Path patterns to compare against the request URL. Detailed below.
- Query
Strings []GetListener Rule Condition Query String - Query string parameters to match. Detailed below.
- Source
Ips []GetListener Rule Condition Source Ip - Contains a single attribute
values, which contains a set of source IPs in CIDR notation.
- host
Headers List<GetListener Rule Condition Host Header> - Host header patterns to match. Detailed below.
- http
Headers List<GetListener Rule Condition Http Header> - HTTP header and values to match. Detailed below.
- http
Request List<GetMethods Listener Rule Condition Http Request Method> - Contains a single attribute
values, which contains a set of HTTP request methods. - path
Patterns List<GetListener Rule Condition Path Pattern> - Path patterns to compare against the request URL. Detailed below.
- query
Strings List<GetListener Rule Condition Query String> - Query string parameters to match. Detailed below.
- source
Ips List<GetListener Rule Condition Source Ip> - Contains a single attribute
values, which contains a set of source IPs in CIDR notation.
- host
Headers GetListener Rule Condition Host Header[] - Host header patterns to match. Detailed below.
- http
Headers GetListener Rule Condition Http Header[] - HTTP header and values to match. Detailed below.
- http
Request GetMethods Listener Rule Condition Http Request Method[] - Contains a single attribute
values, which contains a set of HTTP request methods. - path
Patterns GetListener Rule Condition Path Pattern[] - Path patterns to compare against the request URL. Detailed below.
- query
Strings GetListener Rule Condition Query String[] - Query string parameters to match. Detailed below.
- source
Ips GetListener Rule Condition Source Ip[] - Contains a single attribute
values, which contains a set of source IPs in CIDR notation.
- host_
headers Sequence[GetListener Rule Condition Host Header] - Host header patterns to match. Detailed below.
- http_
headers Sequence[GetListener Rule Condition Http Header] - HTTP header and values to match. Detailed below.
- http_
request_ Sequence[Getmethods Listener Rule Condition Http Request Method] - Contains a single attribute
values, which contains a set of HTTP request methods. - path_
patterns Sequence[GetListener Rule Condition Path Pattern] - Path patterns to compare against the request URL. Detailed below.
- query_
strings Sequence[GetListener Rule Condition Query String] - Query string parameters to match. Detailed below.
- source_
ips Sequence[GetListener Rule Condition Source Ip] - Contains a single attribute
values, which contains a set of source IPs in CIDR notation.
- host
Headers List<Property Map> - Host header patterns to match. Detailed below.
- http
Headers List<Property Map> - HTTP header and values to match. Detailed below.
- http
Request List<Property Map>Methods - Contains a single attribute
values, which contains a set of HTTP request methods. - path
Patterns List<Property Map> - Path patterns to compare against the request URL. Detailed below.
- query
Strings List<Property Map> - Query string parameters to match. Detailed below.
- source
Ips List<Property Map> - Contains a single attribute
values, which contains a set of source IPs in CIDR notation.
GetListenerRuleConditionHostHeader
- Regex
Values List<string> - Set of regular expressions to compare against the request URL.
- Values List<string>
- Set of
key-valuepairs indicating the query string parameters to match.
- Regex
Values []string - Set of regular expressions to compare against the request URL.
- Values []string
- Set of
key-valuepairs indicating the query string parameters to match.
- regex
Values List<String> - Set of regular expressions to compare against the request URL.
- values List<String>
- Set of
key-valuepairs indicating the query string parameters to match.
- regex
Values string[] - Set of regular expressions to compare against the request URL.
- values string[]
- Set of
key-valuepairs indicating the query string parameters to match.
- regex_
values Sequence[str] - Set of regular expressions to compare against the request URL.
- values Sequence[str]
- Set of
key-valuepairs indicating the query string parameters to match.
- regex
Values List<String> - Set of regular expressions to compare against the request URL.
- values List<String>
- Set of
key-valuepairs indicating the query string parameters to match.
GetListenerRuleConditionHttpHeader
- Http
Header stringName - Name of the HTTP header to match.
- Regex
Values List<string> - Set of regular expressions to compare against the request URL.
- Values List<string>
- Set of
key-valuepairs indicating the query string parameters to match.
- Http
Header stringName - Name of the HTTP header to match.
- Regex
Values []string - Set of regular expressions to compare against the request URL.
- Values []string
- Set of
key-valuepairs indicating the query string parameters to match.
- http
Header StringName - Name of the HTTP header to match.
- regex
Values List<String> - Set of regular expressions to compare against the request URL.
- values List<String>
- Set of
key-valuepairs indicating the query string parameters to match.
- http
Header stringName - Name of the HTTP header to match.
- regex
Values string[] - Set of regular expressions to compare against the request URL.
- values string[]
- Set of
key-valuepairs indicating the query string parameters to match.
- http_
header_ strname - Name of the HTTP header to match.
- regex_
values Sequence[str] - Set of regular expressions to compare against the request URL.
- values Sequence[str]
- Set of
key-valuepairs indicating the query string parameters to match.
- http
Header StringName - Name of the HTTP header to match.
- regex
Values List<String> - Set of regular expressions to compare against the request URL.
- values List<String>
- Set of
key-valuepairs indicating the query string parameters to match.
GetListenerRuleConditionHttpRequestMethod
- Values List<string>
- Set of
key-valuepairs indicating the query string parameters to match.
- Values []string
- Set of
key-valuepairs indicating the query string parameters to match.
- values List<String>
- Set of
key-valuepairs indicating the query string parameters to match.
- values string[]
- Set of
key-valuepairs indicating the query string parameters to match.
- values Sequence[str]
- Set of
key-valuepairs indicating the query string parameters to match.
- values List<String>
- Set of
key-valuepairs indicating the query string parameters to match.
GetListenerRuleConditionPathPattern
- Regex
Values List<string> - Set of regular expressions to compare against the request URL.
- Values List<string>
- Set of
key-valuepairs indicating the query string parameters to match.
- Regex
Values []string - Set of regular expressions to compare against the request URL.
- Values []string
- Set of
key-valuepairs indicating the query string parameters to match.
- regex
Values List<String> - Set of regular expressions to compare against the request URL.
- values List<String>
- Set of
key-valuepairs indicating the query string parameters to match.
- regex
Values string[] - Set of regular expressions to compare against the request URL.
- values string[]
- Set of
key-valuepairs indicating the query string parameters to match.
- regex_
values Sequence[str] - Set of regular expressions to compare against the request URL.
- values Sequence[str]
- Set of
key-valuepairs indicating the query string parameters to match.
- regex
Values List<String> - Set of regular expressions to compare against the request URL.
- values List<String>
- Set of
key-valuepairs indicating the query string parameters to match.
GetListenerRuleConditionQueryString
- Values
List<Get
Listener Rule Condition Query String Value> - Set of
key-valuepairs indicating the query string parameters to match.
- Values
[]Get
Listener Rule Condition Query String Value - Set of
key-valuepairs indicating the query string parameters to match.
- values
List<Get
Listener Rule Condition Query String Value> - Set of
key-valuepairs indicating the query string parameters to match.
- values
Get
Listener Rule Condition Query String Value[] - Set of
key-valuepairs indicating the query string parameters to match.
- values
Sequence[Get
Listener Rule Condition Query String Value] - Set of
key-valuepairs indicating the query string parameters to match.
- values List<Property Map>
- Set of
key-valuepairs indicating the query string parameters to match.
GetListenerRuleConditionQueryStringValue
GetListenerRuleConditionSourceIp
- Values List<string>
- Set of
key-valuepairs indicating the query string parameters to match.
- Values []string
- Set of
key-valuepairs indicating the query string parameters to match.
- values List<String>
- Set of
key-valuepairs indicating the query string parameters to match.
- values string[]
- Set of
key-valuepairs indicating the query string parameters to match.
- values Sequence[str]
- Set of
key-valuepairs indicating the query string parameters to match.
- values List<String>
- Set of
key-valuepairs indicating the query string parameters to match.
GetListenerRuleTransform
- Type string
- Type of transform.
- Host
Header List<GetRewrite Configs Listener Rule Transform Host Header Rewrite Config> - Block for host header rewrite. Detailed below.
- Url
Rewrite List<GetConfigs Listener Rule Transform Url Rewrite Config> - Block for URL rewrite. Detailed below.
- Type string
- Type of transform.
- Host
Header []GetRewrite Configs Listener Rule Transform Host Header Rewrite Config - Block for host header rewrite. Detailed below.
- Url
Rewrite []GetConfigs Listener Rule Transform Url Rewrite Config - Block for URL rewrite. Detailed below.
- type String
- Type of transform.
- host
Header List<GetRewrite Configs Listener Rule Transform Host Header Rewrite Config> - Block for host header rewrite. Detailed below.
- url
Rewrite List<GetConfigs Listener Rule Transform Url Rewrite Config> - Block for URL rewrite. Detailed below.
- type string
- Type of transform.
- host
Header GetRewrite Configs Listener Rule Transform Host Header Rewrite Config[] - Block for host header rewrite. Detailed below.
- url
Rewrite GetConfigs Listener Rule Transform Url Rewrite Config[] - Block for URL rewrite. Detailed below.
- type str
- Type of transform.
- host_
header_ Sequence[Getrewrite_ configs Listener Rule Transform Host Header Rewrite Config] - Block for host header rewrite. Detailed below.
- url_
rewrite_ Sequence[Getconfigs Listener Rule Transform Url Rewrite Config] - Block for URL rewrite. Detailed below.
- type String
- Type of transform.
- host
Header List<Property Map>Rewrite Configs - Block for host header rewrite. Detailed below.
- url
Rewrite List<Property Map>Configs - Block for URL rewrite. Detailed below.
GetListenerRuleTransformHostHeaderRewriteConfig
- Rewrites
List<Get
Listener Rule Transform Host Header Rewrite Config Rewrite> - Block for URL rewrite configuration. Detailed below.
- Rewrites
[]Get
Listener Rule Transform Host Header Rewrite Config Rewrite - Block for URL rewrite configuration. Detailed below.
- rewrites
List<Get
Listener Rule Transform Host Header Rewrite Config Rewrite> - Block for URL rewrite configuration. Detailed below.
- rewrites
Get
Listener Rule Transform Host Header Rewrite Config Rewrite[] - Block for URL rewrite configuration. Detailed below.
- rewrites
Sequence[Get
Listener Rule Transform Host Header Rewrite Config Rewrite] - Block for URL rewrite configuration. Detailed below.
- rewrites List<Property Map>
- Block for URL rewrite configuration. Detailed below.
GetListenerRuleTransformHostHeaderRewriteConfigRewrite
GetListenerRuleTransformUrlRewriteConfig
- Rewrites
List<Get
Listener Rule Transform Url Rewrite Config Rewrite> - Block for URL rewrite configuration. Detailed below.
- Rewrites
[]Get
Listener Rule Transform Url Rewrite Config Rewrite - Block for URL rewrite configuration. Detailed below.
- rewrites
List<Get
Listener Rule Transform Url Rewrite Config Rewrite> - Block for URL rewrite configuration. Detailed below.
- rewrites
Get
Listener Rule Transform Url Rewrite Config Rewrite[] - Block for URL rewrite configuration. Detailed below.
- rewrites
Sequence[Get
Listener Rule Transform Url Rewrite Config Rewrite] - Block for URL rewrite configuration. Detailed below.
- rewrites List<Property Map>
- Block for URL rewrite configuration. Detailed below.
GetListenerRuleTransformUrlRewriteConfigRewrite
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v7.24.0
published on Tuesday, Mar 31, 2026 by Pulumi
published on Tuesday, Mar 31, 2026 by Pulumi
