getListenerRule

Resource Type definition for AWS::ElasticLoadBalancingV2::ListenerRule

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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:elasticloadbalancingv2:getListenerRule
  arguments:
    # arguments dictionary

The following arguments are supported:

RuleArn string
RuleArn string
ruleArn String
ruleArn string
ruleArn String

getListenerRule Result

The following output properties are available:

Supporting Types

ListenerRuleAction

ListenerRuleAuthenticateCognitoConfig

ListenerRuleAuthenticateOidcConfig

ListenerRuleFixedResponseConfig

ListenerRuleForwardConfig

ListenerRuleHostHeaderConfig

Values List<string>
Values []string
values List<String>
values string[]
values Sequence[str]
values List<String>

ListenerRuleHttpHeaderConfig

HttpHeaderName string
Values List<string>
HttpHeaderName string
Values []string
httpHeaderName String
values List<String>
httpHeaderName string
values string[]
http_header_name str
values Sequence[str]
httpHeaderName String
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

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

ListenerRuleRedirectConfig

StatusCode string
Host string
Path string
Port string
Protocol string
Query string
StatusCode string
Host string
Path string
Port string
Protocol string
Query string
statusCode String
host String
path String
port String
protocol String
query String
statusCode string
host string
path string
port string
protocol string
query string
status_code str
host str
path str
port str
protocol str
query str
statusCode String
host String
path String
port String
protocol String
query String

ListenerRuleRuleCondition

ListenerRuleSourceIpConfig

Values List<string>
Values []string
values List<String>
values string[]
values Sequence[str]
values List<String>

ListenerRuleTargetGroupStickinessConfig

durationSeconds Integer
enabled Boolean
durationSeconds number
enabled boolean
durationSeconds Number
enabled Boolean

ListenerRuleTargetGroupTuple

targetGroupArn String
weight Integer
targetGroupArn string
weight number
targetGroupArn String
weight Number

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0