AWS Native v0.49.0, Jan 26 23
AWS Native v0.49.0, Jan 26 23
aws-native.elasticloadbalancingv2.ListenerRule
Resource Type definition for AWS::ElasticLoadBalancingV2::ListenerRule
Create ListenerRule Resource
new ListenerRule(name: string, args: ListenerRuleArgs, opts?: CustomResourceOptions);
@overload
def ListenerRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
actions: Optional[Sequence[ListenerRuleActionArgs]] = None,
conditions: Optional[Sequence[ListenerRuleRuleConditionArgs]] = None,
listener_arn: Optional[str] = None,
priority: Optional[int] = None)
@overload
def ListenerRule(resource_name: str,
args: ListenerRuleArgs,
opts: Optional[ResourceOptions] = None)
func NewListenerRule(ctx *Context, name string, args ListenerRuleArgs, opts ...ResourceOption) (*ListenerRule, error)
public ListenerRule(string name, ListenerRuleArgs args, CustomResourceOptions? opts = null)
public ListenerRule(String name, ListenerRuleArgs args)
public ListenerRule(String name, ListenerRuleArgs args, CustomResourceOptions options)
type: aws-native:elasticloadbalancingv2:ListenerRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ListenerRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ListenerRuleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ListenerRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ListenerRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ListenerRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ListenerRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ListenerRule resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the ListenerRule resource produces the following output properties:
- id str
The provider-assigned unique ID for this managed resource.
- is_
default bool - rule_
arn str
Supporting Types
ListenerRuleAction
- Type string
- Authenticate
Cognito Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Authenticate Cognito Config - Authenticate
Oidc Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Authenticate Oidc Config - Fixed
Response Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Fixed Response Config - Forward
Config Pulumi.Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Forward Config - Order int
- Redirect
Config Pulumi.Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Redirect Config - Target
Group stringArn
ListenerRuleAuthenticateCognitoConfig
- User
Pool stringArn - User
Pool stringClient Id - User
Pool stringDomain - Authentication
Request objectExtra Params - On
Unauthenticated stringRequest - Scope string
- string
- Session
Timeout int
- User
Pool stringArn - User
Pool stringClient Id - User
Pool stringDomain - Authentication
Request interface{}Extra Params - On
Unauthenticated stringRequest - Scope string
- string
- Session
Timeout int
- user
Pool StringArn - user
Pool StringClient Id - user
Pool StringDomain - authentication
Request ObjectExtra Params - on
Unauthenticated StringRequest - scope String
- String
- session
Timeout Integer
- user
Pool stringArn - user
Pool stringClient Id - user
Pool stringDomain - authentication
Request anyExtra Params - on
Unauthenticated stringRequest - scope string
- string
- session
Timeout number
- user
Pool StringArn - user
Pool StringClient Id - user
Pool StringDomain - authentication
Request AnyExtra Params - on
Unauthenticated StringRequest - scope String
- String
- session
Timeout Number
ListenerRuleAuthenticateOidcConfig
- string
- Client
Id string - Issuer string
- Token
Endpoint string - User
Info stringEndpoint - Authentication
Request objectExtra Params - Client
Secret string - On
Unauthenticated stringRequest - Scope string
- string
- Session
Timeout int - Use
Existing boolClient Secret
- string
- Client
Id string - Issuer string
- Token
Endpoint string - User
Info stringEndpoint - Authentication
Request interface{}Extra Params - Client
Secret string - On
Unauthenticated stringRequest - Scope string
- string
- Session
Timeout int - Use
Existing boolClient Secret
- String
- client
Id String - issuer String
- token
Endpoint String - user
Info StringEndpoint - authentication
Request ObjectExtra Params - client
Secret String - on
Unauthenticated StringRequest - scope String
- String
- session
Timeout Integer - use
Existing BooleanClient Secret
- string
- client
Id string - issuer string
- token
Endpoint string - user
Info stringEndpoint - authentication
Request anyExtra Params - client
Secret string - on
Unauthenticated stringRequest - scope string
- string
- session
Timeout number - use
Existing booleanClient Secret
- str
- client_
id str - issuer str
- token_
endpoint str - user_
info_ strendpoint - authentication_
request_ Anyextra_ params - client_
secret str - on_
unauthenticated_ strrequest - scope str
- str
- session_
timeout int - use_
existing_ boolclient_ secret
- String
- client
Id String - issuer String
- token
Endpoint String - user
Info StringEndpoint - authentication
Request AnyExtra Params - client
Secret String - on
Unauthenticated StringRequest - scope String
- String
- session
Timeout Number - use
Existing BooleanClient Secret
ListenerRuleFixedResponseConfig
- Status
Code string - Content
Type string - Message
Body string
- Status
Code string - Content
Type string - Message
Body string
- status
Code String - content
Type String - message
Body String
- status
Code string - content
Type string - message
Body string
- status_
code str - content_
type str - message_
body str
- status
Code String - content
Type String - message
Body String
ListenerRuleForwardConfig
ListenerRuleHostHeaderConfig
- Values List<string>
- Values []string
- values List<String>
- values string[]
- values Sequence[str]
- values List<String>
ListenerRuleHttpHeaderConfig
- Http
Header stringName - Values List<string>
- Http
Header stringName - Values []string
- http
Header StringName - values List<String>
- http
Header stringName - values string[]
- http_
header_ strname - values Sequence[str]
- http
Header StringName - values List<String>
ListenerRuleHttpRequestMethodConfig
- Values List<string>
- Values []string
- values List<String>
- values string[]
- values Sequence[str]
- values List<String>
ListenerRulePathPatternConfig
- Values List<string>
- Values []string
- values List<String>
- values string[]
- values Sequence[str]
- values List<String>
ListenerRuleQueryStringConfig
ListenerRuleQueryStringKeyValue
ListenerRuleRedirectConfig
ListenerRuleRuleCondition
- Field string
- Host
Header Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Host Header Config - Http
Header Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Http Header Config - Http
Request Pulumi.Method Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Http Request Method Config - Path
Pattern Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Path Pattern Config - Query
String Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Query String Config - Source
Ip Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Rule Source Ip Config - Values List<string>
- Field string
- Host
Header ListenerConfig Rule Host Header Config - Http
Header ListenerConfig Rule Http Header Config - Http
Request ListenerMethod Config Rule Http Request Method Config - Path
Pattern ListenerConfig Rule Path Pattern Config - Query
String ListenerConfig Rule Query String Config - Source
Ip ListenerConfig Rule Source Ip Config - Values []string
- field String
- host
Header ListenerConfig Rule Host Header Config - http
Header ListenerConfig Rule Http Header Config - http
Request ListenerMethod Config Rule Http Request Method Config - path
Pattern ListenerConfig Rule Path Pattern Config - query
String ListenerConfig Rule Query String Config - source
Ip ListenerConfig Rule Source Ip Config - values List<String>
- field string
- host
Header ListenerConfig Rule Host Header Config - http
Header ListenerConfig Rule Http Header Config - http
Request ListenerMethod Config Rule Http Request Method Config - path
Pattern ListenerConfig Rule Path Pattern Config - query
String ListenerConfig Rule Query String Config - source
Ip ListenerConfig Rule Source Ip Config - values string[]
- field str
- host_
header_ Listenerconfig Rule Host Header Config - http_
header_ Listenerconfig Rule Http Header Config - http_
request_ Listenermethod_ config Rule Http Request Method Config - path_
pattern_ Listenerconfig Rule Path Pattern Config - query_
string_ Listenerconfig Rule Query String Config - source_
ip_ Listenerconfig Rule Source Ip Config - values Sequence[str]
ListenerRuleSourceIpConfig
- Values List<string>
- Values []string
- values List<String>
- values string[]
- values Sequence[str]
- values List<String>
ListenerRuleTargetGroupStickinessConfig
- Duration
Seconds int - Enabled bool
- Duration
Seconds int - Enabled bool
- duration
Seconds Integer - enabled Boolean
- duration
Seconds number - enabled boolean
- duration_
seconds int - enabled bool
- duration
Seconds Number - enabled Boolean
ListenerRuleTargetGroupTuple
- Target
Group stringArn - Weight int
- Target
Group stringArn - Weight int
- target
Group StringArn - weight Integer
- target
Group stringArn - weight number
- target_
group_ strarn - weight int
- target
Group StringArn - weight Number
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0