We recommend new projects start with resources from the AWS provider.
aws-native.elasticloadbalancingv2.getListenerRule
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Specifies a listener rule. The listener must be associated with an Application Load Balancer. Each rule consists of a priority, one or more actions, and one or more conditions. For more information, see Quotas for your Application Load Balancers in the User Guide for Application Load Balancers.
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(rule_arn: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetListenerRuleResult
def get_listener_rule_output(rule_arn: Optional[pulumi.Input[str]] = 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-native:elasticloadbalancingv2:getListenerRule
  arguments:
    # arguments dictionaryThe following arguments are supported:
- RuleArn string
- The Amazon Resource Name (ARN) of the rule.
- RuleArn string
- The Amazon Resource Name (ARN) of the rule.
- ruleArn String
- The Amazon Resource Name (ARN) of the rule.
- ruleArn string
- The Amazon Resource Name (ARN) of the rule.
- rule_arn str
- The Amazon Resource Name (ARN) of the rule.
- ruleArn String
- The Amazon Resource Name (ARN) of the rule.
getListenerRule Result
The following output properties are available:
- Actions
List<Pulumi.Aws Native. Elastic Load Balancing V2. Outputs. Listener Rule Action> 
- The actions.
The rule must include exactly one of the following types of actions: forward,fixed-response, orredirect, and it must be the last action to be performed. If the rule is for an HTTPS listener, it can also optionally include an authentication action.
- Conditions
List<Pulumi.Aws Native. Elastic Load Balancing V2. Outputs. Listener Rule Rule Condition> 
- The conditions.
The rule can optionally include up to one of each of the following conditions: http-request-method,host-header,path-pattern, andsource-ip. A rule can also optionally include one or more of each of the following conditions:http-headerandquery-string.
- IsDefault bool
- Indicates whether this is the default rule.
- Priority int
- The rule priority. A listener can't have multiple rules with the same priority. If you try to reorder rules by updating their priorities, do not specify a new priority if an existing rule already uses this priority, as this can cause an error. If you need to reuse a priority with a different rule, you must remove it as a priority first, and then specify it in a subsequent update.
- RuleArn string
- The Amazon Resource Name (ARN) of the rule.
- Actions
[]ListenerRule Action 
- The actions.
The rule must include exactly one of the following types of actions: forward,fixed-response, orredirect, and it must be the last action to be performed. If the rule is for an HTTPS listener, it can also optionally include an authentication action.
- Conditions
[]ListenerRule Rule Condition 
- The conditions.
The rule can optionally include up to one of each of the following conditions: http-request-method,host-header,path-pattern, andsource-ip. A rule can also optionally include one or more of each of the following conditions:http-headerandquery-string.
- IsDefault bool
- Indicates whether this is the default rule.
- Priority int
- The rule priority. A listener can't have multiple rules with the same priority. If you try to reorder rules by updating their priorities, do not specify a new priority if an existing rule already uses this priority, as this can cause an error. If you need to reuse a priority with a different rule, you must remove it as a priority first, and then specify it in a subsequent update.
- RuleArn string
- The Amazon Resource Name (ARN) of the rule.
- actions
List<ListenerRule Action> 
- The actions.
The rule must include exactly one of the following types of actions: forward,fixed-response, orredirect, and it must be the last action to be performed. If the rule is for an HTTPS listener, it can also optionally include an authentication action.
- conditions
List<ListenerRule Rule Condition> 
- The conditions.
The rule can optionally include up to one of each of the following conditions: http-request-method,host-header,path-pattern, andsource-ip. A rule can also optionally include one or more of each of the following conditions:http-headerandquery-string.
- isDefault Boolean
- Indicates whether this is the default rule.
- priority Integer
- The rule priority. A listener can't have multiple rules with the same priority. If you try to reorder rules by updating their priorities, do not specify a new priority if an existing rule already uses this priority, as this can cause an error. If you need to reuse a priority with a different rule, you must remove it as a priority first, and then specify it in a subsequent update.
- ruleArn String
- The Amazon Resource Name (ARN) of the rule.
- actions
ListenerRule Action[] 
- The actions.
The rule must include exactly one of the following types of actions: forward,fixed-response, orredirect, and it must be the last action to be performed. If the rule is for an HTTPS listener, it can also optionally include an authentication action.
- conditions
ListenerRule Rule Condition[] 
- The conditions.
The rule can optionally include up to one of each of the following conditions: http-request-method,host-header,path-pattern, andsource-ip. A rule can also optionally include one or more of each of the following conditions:http-headerandquery-string.
- isDefault boolean
- Indicates whether this is the default rule.
- priority number
- The rule priority. A listener can't have multiple rules with the same priority. If you try to reorder rules by updating their priorities, do not specify a new priority if an existing rule already uses this priority, as this can cause an error. If you need to reuse a priority with a different rule, you must remove it as a priority first, and then specify it in a subsequent update.
- ruleArn string
- The Amazon Resource Name (ARN) of the rule.
- actions
Sequence[ListenerRule Action] 
- The actions.
The rule must include exactly one of the following types of actions: forward,fixed-response, orredirect, and it must be the last action to be performed. If the rule is for an HTTPS listener, it can also optionally include an authentication action.
- conditions
Sequence[ListenerRule Rule Condition] 
- The conditions.
The rule can optionally include up to one of each of the following conditions: http-request-method,host-header,path-pattern, andsource-ip. A rule can also optionally include one or more of each of the following conditions:http-headerandquery-string.
- is_default bool
- Indicates whether this is the default rule.
- priority int
- The rule priority. A listener can't have multiple rules with the same priority. If you try to reorder rules by updating their priorities, do not specify a new priority if an existing rule already uses this priority, as this can cause an error. If you need to reuse a priority with a different rule, you must remove it as a priority first, and then specify it in a subsequent update.
- rule_arn str
- The Amazon Resource Name (ARN) of the rule.
- actions List<Property Map>
- The actions.
The rule must include exactly one of the following types of actions: forward,fixed-response, orredirect, and it must be the last action to be performed. If the rule is for an HTTPS listener, it can also optionally include an authentication action.
- conditions List<Property Map>
- The conditions.
The rule can optionally include up to one of each of the following conditions: http-request-method,host-header,path-pattern, andsource-ip. A rule can also optionally include one or more of each of the following conditions:http-headerandquery-string.
- isDefault Boolean
- Indicates whether this is the default rule.
- priority Number
- The rule priority. A listener can't have multiple rules with the same priority. If you try to reorder rules by updating their priorities, do not specify a new priority if an existing rule already uses this priority, as this can cause an error. If you need to reuse a priority with a different rule, you must remove it as a priority first, and then specify it in a subsequent update.
- ruleArn String
- The Amazon Resource Name (ARN) of the rule.
Supporting Types
ListenerRuleAction  
- Type string
- The type of action.
- AuthenticateCognito Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Authenticate Cognito Config 
- [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when Typeisauthenticate-cognito.
- AuthenticateOidc Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Authenticate Oidc Config 
- [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when Typeisauthenticate-oidc.
- FixedResponse Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Fixed Response Config 
- [Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when Typeisfixed-response.
- ForwardConfig Pulumi.Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Forward Config 
- Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when Typeisforward. If you specify bothForwardConfigandTargetGroupArn, you can specify only one target group usingForwardConfigand it must be the same target group specified inTargetGroupArn.
- Order int
- The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.
- RedirectConfig Pulumi.Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Redirect Config 
- [Application Load Balancer] Information for creating a redirect action. Specify only when Typeisredirect.
- TargetGroup stringArn 
- The Amazon Resource Name (ARN) of the target group. Specify only when Typeisforwardand you want to route to a single target group. To route to one or more target groups, useForwardConfiginstead.
- Type string
- The type of action.
- AuthenticateCognito ListenerConfig Rule Authenticate Cognito Config 
- [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when Typeisauthenticate-cognito.
- AuthenticateOidc ListenerConfig Rule Authenticate Oidc Config 
- [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when Typeisauthenticate-oidc.
- FixedResponse ListenerConfig Rule Fixed Response Config 
- [Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when Typeisfixed-response.
- ForwardConfig ListenerRule Forward Config 
- Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when Typeisforward. If you specify bothForwardConfigandTargetGroupArn, you can specify only one target group usingForwardConfigand it must be the same target group specified inTargetGroupArn.
- Order int
- The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.
- RedirectConfig ListenerRule Redirect Config 
- [Application Load Balancer] Information for creating a redirect action. Specify only when Typeisredirect.
- TargetGroup stringArn 
- The Amazon Resource Name (ARN) of the target group. Specify only when Typeisforwardand you want to route to a single target group. To route to one or more target groups, useForwardConfiginstead.
- type String
- The type of action.
- authenticateCognito ListenerConfig Rule Authenticate Cognito Config 
- [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when Typeisauthenticate-cognito.
- authenticateOidc ListenerConfig Rule Authenticate Oidc Config 
- [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when Typeisauthenticate-oidc.
- fixedResponse ListenerConfig Rule Fixed Response Config 
- [Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when Typeisfixed-response.
- forwardConfig ListenerRule Forward Config 
- Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when Typeisforward. If you specify bothForwardConfigandTargetGroupArn, you can specify only one target group usingForwardConfigand it must be the same target group specified inTargetGroupArn.
- order Integer
- The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.
- redirectConfig ListenerRule Redirect Config 
- [Application Load Balancer] Information for creating a redirect action. Specify only when Typeisredirect.
- targetGroup StringArn 
- The Amazon Resource Name (ARN) of the target group. Specify only when Typeisforwardand you want to route to a single target group. To route to one or more target groups, useForwardConfiginstead.
- type string
- The type of action.
- authenticateCognito ListenerConfig Rule Authenticate Cognito Config 
- [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when Typeisauthenticate-cognito.
- authenticateOidc ListenerConfig Rule Authenticate Oidc Config 
- [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when Typeisauthenticate-oidc.
- fixedResponse ListenerConfig Rule Fixed Response Config 
- [Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when Typeisfixed-response.
- forwardConfig ListenerRule Forward Config 
- Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when Typeisforward. If you specify bothForwardConfigandTargetGroupArn, you can specify only one target group usingForwardConfigand it must be the same target group specified inTargetGroupArn.
- order number
- The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.
- redirectConfig ListenerRule Redirect Config 
- [Application Load Balancer] Information for creating a redirect action. Specify only when Typeisredirect.
- targetGroup stringArn 
- The Amazon Resource Name (ARN) of the target group. Specify only when Typeisforwardand you want to route to a single target group. To route to one or more target groups, useForwardConfiginstead.
- type str
- The type of action.
- authenticate_cognito_ Listenerconfig Rule Authenticate Cognito Config 
- [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when Typeisauthenticate-cognito.
- authenticate_oidc_ Listenerconfig Rule Authenticate Oidc Config 
- [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when Typeisauthenticate-oidc.
- fixed_response_ Listenerconfig Rule Fixed Response Config 
- [Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when Typeisfixed-response.
- forward_config ListenerRule Forward Config 
- Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when Typeisforward. If you specify bothForwardConfigandTargetGroupArn, you can specify only one target group usingForwardConfigand it must be the same target group specified inTargetGroupArn.
- order int
- The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.
- redirect_config ListenerRule Redirect Config 
- [Application Load Balancer] Information for creating a redirect action. Specify only when Typeisredirect.
- target_group_ strarn 
- The Amazon Resource Name (ARN) of the target group. Specify only when Typeisforwardand you want to route to a single target group. To route to one or more target groups, useForwardConfiginstead.
- type String
- The type of action.
- authenticateCognito Property MapConfig 
- [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when Typeisauthenticate-cognito.
- authenticateOidc Property MapConfig 
- [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when Typeisauthenticate-oidc.
- fixedResponse Property MapConfig 
- [Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when Typeisfixed-response.
- forwardConfig Property Map
- Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when Typeisforward. If you specify bothForwardConfigandTargetGroupArn, you can specify only one target group usingForwardConfigand it must be the same target group specified inTargetGroupArn.
- order Number
- The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.
- redirectConfig Property Map
- [Application Load Balancer] Information for creating a redirect action. Specify only when Typeisredirect.
- targetGroup StringArn 
- The Amazon Resource Name (ARN) of the target group. Specify only when Typeisforwardand you want to route to a single target group. To route to one or more target groups, useForwardConfiginstead.
ListenerRuleAuthenticateCognitoConfig    
- UserPool stringArn 
- The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
- UserPool stringClient Id 
- The ID of the Amazon Cognito user pool client.
- UserPool stringDomain 
- The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.
- AuthenticationRequest Dictionary<string, string>Extra Params 
- The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
- OnUnauthenticated stringRequest 
- The behavior if the user is not authenticated. The following are possible values:- deny```` - Return an HTTP 401 Unauthorized error.
- allow```` - Allow the request to be forwarded to the target.
- authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.
 
- Scope string
- The set of user claims to be requested from the IdP. The default is openid. To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
- string
- The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
- SessionTimeout int
- The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
- UserPool stringArn 
- The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
- UserPool stringClient Id 
- The ID of the Amazon Cognito user pool client.
- UserPool stringDomain 
- The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.
- AuthenticationRequest map[string]stringExtra Params 
- The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
- OnUnauthenticated stringRequest 
- The behavior if the user is not authenticated. The following are possible values:- deny```` - Return an HTTP 401 Unauthorized error.
- allow```` - Allow the request to be forwarded to the target.
- authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.
 
- Scope string
- The set of user claims to be requested from the IdP. The default is openid. To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
- string
- The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
- SessionTimeout int
- The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
- userPool StringArn 
- The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
- userPool StringClient Id 
- The ID of the Amazon Cognito user pool client.
- userPool StringDomain 
- The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.
- authenticationRequest Map<String,String>Extra Params 
- The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
- onUnauthenticated StringRequest 
- The behavior if the user is not authenticated. The following are possible values:- deny```` - Return an HTTP 401 Unauthorized error.
- allow```` - Allow the request to be forwarded to the target.
- authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.
 
- scope String
- The set of user claims to be requested from the IdP. The default is openid. To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
- String
- The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
- sessionTimeout Integer
- The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
- userPool stringArn 
- The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
- userPool stringClient Id 
- The ID of the Amazon Cognito user pool client.
- userPool stringDomain 
- The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.
- authenticationRequest {[key: string]: string}Extra Params 
- The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
- onUnauthenticated stringRequest 
- The behavior if the user is not authenticated. The following are possible values:- deny```` - Return an HTTP 401 Unauthorized error.
- allow```` - Allow the request to be forwarded to the target.
- authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.
 
- scope string
- The set of user claims to be requested from the IdP. The default is openid. To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
- string
- The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
- sessionTimeout number
- The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
- user_pool_ strarn 
- The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
- user_pool_ strclient_ id 
- The ID of the Amazon Cognito user pool client.
- user_pool_ strdomain 
- The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.
- authentication_request_ Mapping[str, str]extra_ params 
- The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
- on_unauthenticated_ strrequest 
- The behavior if the user is not authenticated. The following are possible values:- deny```` - Return an HTTP 401 Unauthorized error.
- allow```` - Allow the request to be forwarded to the target.
- authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.
 
- scope str
- The set of user claims to be requested from the IdP. The default is openid. To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
- str
- The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
- session_timeout int
- The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
- userPool StringArn 
- The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
- userPool StringClient Id 
- The ID of the Amazon Cognito user pool client.
- userPool StringDomain 
- The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.
- authenticationRequest Map<String>Extra Params 
- The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
- onUnauthenticated StringRequest 
- The behavior if the user is not authenticated. The following are possible values:- deny```` - Return an HTTP 401 Unauthorized error.
- allow```` - Allow the request to be forwarded to the target.
- authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.
 
- scope String
- The set of user claims to be requested from the IdP. The default is openid. To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
- String
- The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
- sessionTimeout Number
- The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
ListenerRuleAuthenticateOidcConfig    
- string
- The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- ClientId string
- The OAuth 2.0 client identifier.
- Issuer string
- The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- TokenEndpoint string
- The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- UserInfo stringEndpoint 
- The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- AuthenticationRequest Dictionary<string, string>Extra Params 
- The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
- ClientSecret string
- The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set UseExistingClientSecretto true.
- OnUnauthenticated stringRequest 
- The behavior if the user is not authenticated. The following are possible values:- deny```` - Return an HTTP 401 Unauthorized error.
- allow```` - Allow the request to be forwarded to the target.
- authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.
 
- Scope string
- The set of user claims to be requested from the IdP. The default is openid. To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
- string
- The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
- SessionTimeout int
- The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
- UseExisting boolClient Secret 
- Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false.
- string
- The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- ClientId string
- The OAuth 2.0 client identifier.
- Issuer string
- The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- TokenEndpoint string
- The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- UserInfo stringEndpoint 
- The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- AuthenticationRequest map[string]stringExtra Params 
- The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
- ClientSecret string
- The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set UseExistingClientSecretto true.
- OnUnauthenticated stringRequest 
- The behavior if the user is not authenticated. The following are possible values:- deny```` - Return an HTTP 401 Unauthorized error.
- allow```` - Allow the request to be forwarded to the target.
- authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.
 
- Scope string
- The set of user claims to be requested from the IdP. The default is openid. To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
- string
- The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
- SessionTimeout int
- The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
- UseExisting boolClient Secret 
- Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false.
- String
- The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- clientId String
- The OAuth 2.0 client identifier.
- issuer String
- The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- tokenEndpoint String
- The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- userInfo StringEndpoint 
- The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- authenticationRequest Map<String,String>Extra Params 
- The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
- clientSecret String
- The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set UseExistingClientSecretto true.
- onUnauthenticated StringRequest 
- The behavior if the user is not authenticated. The following are possible values:- deny```` - Return an HTTP 401 Unauthorized error.
- allow```` - Allow the request to be forwarded to the target.
- authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.
 
- scope String
- The set of user claims to be requested from the IdP. The default is openid. To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
- String
- The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
- sessionTimeout Integer
- The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
- useExisting BooleanClient Secret 
- Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false.
- string
- The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- clientId string
- The OAuth 2.0 client identifier.
- issuer string
- The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- tokenEndpoint string
- The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- userInfo stringEndpoint 
- The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- authenticationRequest {[key: string]: string}Extra Params 
- The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
- clientSecret string
- The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set UseExistingClientSecretto true.
- onUnauthenticated stringRequest 
- The behavior if the user is not authenticated. The following are possible values:- deny```` - Return an HTTP 401 Unauthorized error.
- allow```` - Allow the request to be forwarded to the target.
- authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.
 
- scope string
- The set of user claims to be requested from the IdP. The default is openid. To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
- string
- The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
- sessionTimeout number
- The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
- useExisting booleanClient Secret 
- Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false.
- str
- The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- client_id str
- The OAuth 2.0 client identifier.
- issuer str
- The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- token_endpoint str
- The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- user_info_ strendpoint 
- The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- authentication_request_ Mapping[str, str]extra_ params 
- The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
- client_secret str
- The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set UseExistingClientSecretto true.
- on_unauthenticated_ strrequest 
- The behavior if the user is not authenticated. The following are possible values:- deny```` - Return an HTTP 401 Unauthorized error.
- allow```` - Allow the request to be forwarded to the target.
- authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.
 
- scope str
- The set of user claims to be requested from the IdP. The default is openid. To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
- str
- The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
- session_timeout int
- The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
- use_existing_ boolclient_ secret 
- Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false.
- String
- The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- clientId String
- The OAuth 2.0 client identifier.
- issuer String
- The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- tokenEndpoint String
- The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- userInfo StringEndpoint 
- The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
- authenticationRequest Map<String>Extra Params 
- The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
- clientSecret String
- The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set UseExistingClientSecretto true.
- onUnauthenticated StringRequest 
- The behavior if the user is not authenticated. The following are possible values:- deny```` - Return an HTTP 401 Unauthorized error.
- allow```` - Allow the request to be forwarded to the target.
- authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.
 
- scope String
- The set of user claims to be requested from the IdP. The default is openid. To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
- String
- The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
- sessionTimeout Number
- The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
- useExisting BooleanClient Secret 
- Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false.
ListenerRuleFixedResponseConfig    
- StatusCode string
- The HTTP response code (2XX, 4XX, or 5XX).
- ContentType string
- The content type. Valid Values: text/plain | text/css | text/html | application/javascript | application/json
- MessageBody string
- The message.
- StatusCode string
- The HTTP response code (2XX, 4XX, or 5XX).
- ContentType string
- The content type. Valid Values: text/plain | text/css | text/html | application/javascript | application/json
- MessageBody string
- The message.
- statusCode String
- The HTTP response code (2XX, 4XX, or 5XX).
- contentType String
- The content type. Valid Values: text/plain | text/css | text/html | application/javascript | application/json
- messageBody String
- The message.
- statusCode string
- The HTTP response code (2XX, 4XX, or 5XX).
- contentType string
- The content type. Valid Values: text/plain | text/css | text/html | application/javascript | application/json
- messageBody string
- The message.
- status_code str
- The HTTP response code (2XX, 4XX, or 5XX).
- content_type str
- The content type. Valid Values: text/plain | text/css | text/html | application/javascript | application/json
- message_body str
- The message.
- statusCode String
- The HTTP response code (2XX, 4XX, or 5XX).
- contentType String
- The content type. Valid Values: text/plain | text/css | text/html | application/javascript | application/json
- messageBody String
- The message.
ListenerRuleForwardConfig   
- TargetGroup Pulumi.Stickiness Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Target Group Stickiness Config 
- Information about the target group stickiness for a rule.
- TargetGroups List<Pulumi.Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Target Group Tuple> 
- Information about how traffic will be distributed between multiple target groups in a forward rule.
- TargetGroup ListenerStickiness Config Rule Target Group Stickiness Config 
- Information about the target group stickiness for a rule.
- TargetGroups []ListenerRule Target Group Tuple 
- Information about how traffic will be distributed between multiple target groups in a forward rule.
- targetGroup ListenerStickiness Config Rule Target Group Stickiness Config 
- Information about the target group stickiness for a rule.
- targetGroups List<ListenerRule Target Group Tuple> 
- Information about how traffic will be distributed between multiple target groups in a forward rule.
- targetGroup ListenerStickiness Config Rule Target Group Stickiness Config 
- Information about the target group stickiness for a rule.
- targetGroups ListenerRule Target Group Tuple[] 
- Information about how traffic will be distributed between multiple target groups in a forward rule.
- target_group_ Listenerstickiness_ config Rule Target Group Stickiness Config 
- Information about the target group stickiness for a rule.
- target_groups Sequence[ListenerRule Target Group Tuple] 
- Information about how traffic will be distributed between multiple target groups in a forward rule.
- targetGroup Property MapStickiness Config 
- Information about the target group stickiness for a rule.
- targetGroups List<Property Map>
- Information about how traffic will be distributed between multiple target groups in a forward rule.
ListenerRuleHostHeaderConfig    
- Values List<string>
- The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
- Values []string
- The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
- values List<String>
- The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
- values string[]
- The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
- values Sequence[str]
- The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
- values List<String>
- The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
ListenerRuleHttpHeaderConfig    
- HttpHeader stringName 
- The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.
- Values List<string>
- The strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request, we search them in order until a match is found. If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.
- HttpHeader stringName 
- The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.
- Values []string
- The strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request, we search them in order until a match is found. If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.
- httpHeader StringName 
- The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.
- values List<String>
- The strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request, we search them in order until a match is found. If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.
- httpHeader stringName 
- The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.
- values string[]
- The strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request, we search them in order until a match is found. If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.
- http_header_ strname 
- The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.
- values Sequence[str]
- The strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request, we search them in order until a match is found. If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.
- httpHeader StringName 
- The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.
- values List<String>
- The strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request, we search them in order until a match is found. If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.
ListenerRuleHttpRequestMethodConfig     
- Values List<string>
- The name of the request method. The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match. If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.
- Values []string
- The name of the request method. The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match. If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.
- values List<String>
- The name of the request method. The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match. If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.
- values string[]
- The name of the request method. The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match. If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.
- values Sequence[str]
- The name of the request method. The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match. If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.
- values List<String>
- The name of the request method. The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match. If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.
ListenerRulePathPatternConfig    
- Values List<string>
- The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string.
- Values []string
- The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string.
- values List<String>
- The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string.
- values string[]
- The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string.
- values Sequence[str]
- The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string.
- values List<String>
- The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string.
ListenerRuleQueryStringConfig    
- Values
List<Pulumi.Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Query String Key Value> 
- The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Valuesusing a '' character. If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.
- Values
[]ListenerRule Query String Key Value 
- The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Valuesusing a '' character. If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.
- values
List<ListenerRule Query String Key Value> 
- The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Valuesusing a '' character. If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.
- values
ListenerRule Query String Key Value[] 
- The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Valuesusing a '' character. If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.
- values
Sequence[ListenerRule Query String Key Value] 
- The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Valuesusing a '' character. If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.
- values List<Property Map>
- The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Valuesusing a '' character. If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.
ListenerRuleQueryStringKeyValue     
ListenerRuleRedirectConfig   
- StatusCode string
- The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).
- Host string
- The hostname. This component is not percent-encoded. The hostname can contain #{host}.
- Path string
- The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
- Port string
- The port. You can specify a value from 1 to 65535 or #{port}.
- Protocol string
- The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You can't redirect HTTPS to HTTP.
- Query string
- The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
- StatusCode string
- The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).
- Host string
- The hostname. This component is not percent-encoded. The hostname can contain #{host}.
- Path string
- The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
- Port string
- The port. You can specify a value from 1 to 65535 or #{port}.
- Protocol string
- The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You can't redirect HTTPS to HTTP.
- Query string
- The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
- statusCode String
- The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).
- host String
- The hostname. This component is not percent-encoded. The hostname can contain #{host}.
- path String
- The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
- port String
- The port. You can specify a value from 1 to 65535 or #{port}.
- protocol String
- The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You can't redirect HTTPS to HTTP.
- query String
- The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
- statusCode string
- The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).
- host string
- The hostname. This component is not percent-encoded. The hostname can contain #{host}.
- path string
- The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
- port string
- The port. You can specify a value from 1 to 65535 or #{port}.
- protocol string
- The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You can't redirect HTTPS to HTTP.
- query string
- The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
- status_code str
- The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).
- host str
- The hostname. This component is not percent-encoded. The hostname can contain #{host}.
- path str
- The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
- port str
- The port. You can specify a value from 1 to 65535 or #{port}.
- protocol str
- The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You can't redirect HTTPS to HTTP.
- query str
- The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
- statusCode String
- The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).
- host String
- The hostname. This component is not percent-encoded. The hostname can contain #{host}.
- path String
- The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
- port String
- The port. You can specify a value from 1 to 65535 or #{port}.
- protocol String
- The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You can't redirect HTTPS to HTTP.
- query String
- The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
ListenerRuleRuleCondition   
- Field string
- The field in the HTTP request. The following are the possible values:- http-header
- http-request-method
- host-header
- path-pattern
- query-string
- source-ip
 
- HostHeader Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Host Header Config 
- Information for a host header condition. Specify only when Fieldishost-header.
- HttpHeader Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Http Header Config 
- Information for an HTTP header condition. Specify only when Fieldishttp-header.
- HttpRequest Pulumi.Method Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Http Request Method Config 
- Information for an HTTP method condition. Specify only when Fieldishttp-request-method.
- PathPattern Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Path Pattern Config 
- Information for a path pattern condition. Specify only when Fieldispath-pattern.
- QueryString Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Query String Config 
- Information for a query string condition. Specify only when Fieldisquery-string.
- SourceIp Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Source Ip Config 
- Information for a source IP condition. Specify only when Fieldissource-ip.
- Values List<string>
- The condition value. Specify only when - Fieldis- host-headeror- path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use- HostHeaderConfigor- PathPatternConfig. If- Fieldis- host-headerand you're not using- HostHeaderConfig, 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.- A-Z, a-z, 0-9
- .
 
- (matches 0 or more characters)
 
- ? (matches exactly 1 character)
 - If - Fieldis- path-patternand you're not using- PathPatternConfig, you can specify a single path pattern (for example, /img/*). A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.- A-Z, a-z, 0-9
- _ - . $ / ~ " ' @ : +
- & (using &)
- (matches 0 or more characters)
 
- ? (matches exactly 1 character)
 
- Field string
- The field in the HTTP request. The following are the possible values:- http-header
- http-request-method
- host-header
- path-pattern
- query-string
- source-ip
 
- HostHeader ListenerConfig Rule Host Header Config 
- Information for a host header condition. Specify only when Fieldishost-header.
- HttpHeader ListenerConfig Rule Http Header Config 
- Information for an HTTP header condition. Specify only when Fieldishttp-header.
- HttpRequest ListenerMethod Config Rule Http Request Method Config 
- Information for an HTTP method condition. Specify only when Fieldishttp-request-method.
- PathPattern ListenerConfig Rule Path Pattern Config 
- Information for a path pattern condition. Specify only when Fieldispath-pattern.
- QueryString ListenerConfig Rule Query String Config 
- Information for a query string condition. Specify only when Fieldisquery-string.
- SourceIp ListenerConfig Rule Source Ip Config 
- Information for a source IP condition. Specify only when Fieldissource-ip.
- Values []string
- The condition value. Specify only when - Fieldis- host-headeror- path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use- HostHeaderConfigor- PathPatternConfig. If- Fieldis- host-headerand you're not using- HostHeaderConfig, 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.- A-Z, a-z, 0-9
- .
 
- (matches 0 or more characters)
 
- ? (matches exactly 1 character)
 - If - Fieldis- path-patternand you're not using- PathPatternConfig, you can specify a single path pattern (for example, /img/*). A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.- A-Z, a-z, 0-9
- _ - . $ / ~ " ' @ : +
- & (using &)
- (matches 0 or more characters)
 
- ? (matches exactly 1 character)
 
- field String
- The field in the HTTP request. The following are the possible values:- http-header
- http-request-method
- host-header
- path-pattern
- query-string
- source-ip
 
- hostHeader ListenerConfig Rule Host Header Config 
- Information for a host header condition. Specify only when Fieldishost-header.
- httpHeader ListenerConfig Rule Http Header Config 
- Information for an HTTP header condition. Specify only when Fieldishttp-header.
- httpRequest ListenerMethod Config Rule Http Request Method Config 
- Information for an HTTP method condition. Specify only when Fieldishttp-request-method.
- pathPattern ListenerConfig Rule Path Pattern Config 
- Information for a path pattern condition. Specify only when Fieldispath-pattern.
- queryString ListenerConfig Rule Query String Config 
- Information for a query string condition. Specify only when Fieldisquery-string.
- sourceIp ListenerConfig Rule Source Ip Config 
- Information for a source IP condition. Specify only when Fieldissource-ip.
- values List<String>
- The condition value. Specify only when - Fieldis- host-headeror- path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use- HostHeaderConfigor- PathPatternConfig. If- Fieldis- host-headerand you're not using- HostHeaderConfig, 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.- A-Z, a-z, 0-9
- .
 
- (matches 0 or more characters)
 
- ? (matches exactly 1 character)
 - If - Fieldis- path-patternand you're not using- PathPatternConfig, you can specify a single path pattern (for example, /img/*). A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.- A-Z, a-z, 0-9
- _ - . $ / ~ " ' @ : +
- & (using &)
- (matches 0 or more characters)
 
- ? (matches exactly 1 character)
 
- field string
- The field in the HTTP request. The following are the possible values:- http-header
- http-request-method
- host-header
- path-pattern
- query-string
- source-ip
 
- hostHeader ListenerConfig Rule Host Header Config 
- Information for a host header condition. Specify only when Fieldishost-header.
- httpHeader ListenerConfig Rule Http Header Config 
- Information for an HTTP header condition. Specify only when Fieldishttp-header.
- httpRequest ListenerMethod Config Rule Http Request Method Config 
- Information for an HTTP method condition. Specify only when Fieldishttp-request-method.
- pathPattern ListenerConfig Rule Path Pattern Config 
- Information for a path pattern condition. Specify only when Fieldispath-pattern.
- queryString ListenerConfig Rule Query String Config 
- Information for a query string condition. Specify only when Fieldisquery-string.
- sourceIp ListenerConfig Rule Source Ip Config 
- Information for a source IP condition. Specify only when Fieldissource-ip.
- values string[]
- The condition value. Specify only when - Fieldis- host-headeror- path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use- HostHeaderConfigor- PathPatternConfig. If- Fieldis- host-headerand you're not using- HostHeaderConfig, 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.- A-Z, a-z, 0-9
- .
 
- (matches 0 or more characters)
 
- ? (matches exactly 1 character)
 - If - Fieldis- path-patternand you're not using- PathPatternConfig, you can specify a single path pattern (for example, /img/*). A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.- A-Z, a-z, 0-9
- _ - . $ / ~ " ' @ : +
- & (using &)
- (matches 0 or more characters)
 
- ? (matches exactly 1 character)
 
- field str
- The field in the HTTP request. The following are the possible values:- http-header
- http-request-method
- host-header
- path-pattern
- query-string
- source-ip
 
- host_header_ Listenerconfig Rule Host Header Config 
- Information for a host header condition. Specify only when Fieldishost-header.
- http_header_ Listenerconfig Rule Http Header Config 
- Information for an HTTP header condition. Specify only when Fieldishttp-header.
- http_request_ Listenermethod_ config Rule Http Request Method Config 
- Information for an HTTP method condition. Specify only when Fieldishttp-request-method.
- path_pattern_ Listenerconfig Rule Path Pattern Config 
- Information for a path pattern condition. Specify only when Fieldispath-pattern.
- query_string_ Listenerconfig Rule Query String Config 
- Information for a query string condition. Specify only when Fieldisquery-string.
- source_ip_ Listenerconfig Rule Source Ip Config 
- Information for a source IP condition. Specify only when Fieldissource-ip.
- values Sequence[str]
- The condition value. Specify only when - Fieldis- host-headeror- path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use- HostHeaderConfigor- PathPatternConfig. If- Fieldis- host-headerand you're not using- HostHeaderConfig, 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.- A-Z, a-z, 0-9
- .
 
- (matches 0 or more characters)
 
- ? (matches exactly 1 character)
 - If - Fieldis- path-patternand you're not using- PathPatternConfig, you can specify a single path pattern (for example, /img/*). A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.- A-Z, a-z, 0-9
- _ - . $ / ~ " ' @ : +
- & (using &)
- (matches 0 or more characters)
 
- ? (matches exactly 1 character)
 
- field String
- The field in the HTTP request. The following are the possible values:- http-header
- http-request-method
- host-header
- path-pattern
- query-string
- source-ip
 
- hostHeader Property MapConfig 
- Information for a host header condition. Specify only when Fieldishost-header.
- httpHeader Property MapConfig 
- Information for an HTTP header condition. Specify only when Fieldishttp-header.
- httpRequest Property MapMethod Config 
- Information for an HTTP method condition. Specify only when Fieldishttp-request-method.
- pathPattern Property MapConfig 
- Information for a path pattern condition. Specify only when Fieldispath-pattern.
- queryString Property MapConfig 
- Information for a query string condition. Specify only when Fieldisquery-string.
- sourceIp Property MapConfig 
- Information for a source IP condition. Specify only when Fieldissource-ip.
- values List<String>
- The condition value. Specify only when - Fieldis- host-headeror- path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use- HostHeaderConfigor- PathPatternConfig. If- Fieldis- host-headerand you're not using- HostHeaderConfig, 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.- A-Z, a-z, 0-9
- .
 
- (matches 0 or more characters)
 
- ? (matches exactly 1 character)
 - If - Fieldis- path-patternand you're not using- PathPatternConfig, you can specify a single path pattern (for example, /img/*). A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.- A-Z, a-z, 0-9
- _ - . $ / ~ " ' @ : +
- & (using &)
- (matches 0 or more characters)
 
- ? (matches exactly 1 character)
 
ListenerRuleSourceIpConfig    
- Values List<string>
- The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported. If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header.
- Values []string
- The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported. If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header.
- values List<String>
- The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported. If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header.
- values string[]
- The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported. If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header.
- values Sequence[str]
- The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported. If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header.
- values List<String>
- The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported. If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header.
ListenerRuleTargetGroupStickinessConfig     
- DurationSeconds int
- The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
- Enabled bool
- Indicates whether target group stickiness is enabled.
- DurationSeconds int
- The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
- Enabled bool
- Indicates whether target group stickiness is enabled.
- durationSeconds Integer
- The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
- enabled Boolean
- Indicates whether target group stickiness is enabled.
- durationSeconds number
- The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
- enabled boolean
- Indicates whether target group stickiness is enabled.
- duration_seconds int
- The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
- enabled bool
- Indicates whether target group stickiness is enabled.
- durationSeconds Number
- The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
- enabled Boolean
- Indicates whether target group stickiness is enabled.
ListenerRuleTargetGroupTuple    
- TargetGroup stringArn 
- The Amazon Resource Name (ARN) of the target group.
- Weight int
- The weight. The range is 0 to 999.
- TargetGroup stringArn 
- The Amazon Resource Name (ARN) of the target group.
- Weight int
- The weight. The range is 0 to 999.
- targetGroup StringArn 
- The Amazon Resource Name (ARN) of the target group.
- weight Integer
- The weight. The range is 0 to 999.
- targetGroup stringArn 
- The Amazon Resource Name (ARN) of the target group.
- weight number
- The weight. The range is 0 to 999.
- target_group_ strarn 
- The Amazon Resource Name (ARN) of the target group.
- weight int
- The weight. The range is 0 to 999.
- targetGroup StringArn 
- The Amazon Resource Name (ARN) of the target group.
- weight Number
- The weight. The range is 0 to 999.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.