1. Packages
  2. AWS Native
  3. API Docs
  4. elasticloadbalancingv2
  5. ListenerRule

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi

aws-native.elasticloadbalancingv2.ListenerRule

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi

    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 string
    The provider-assigned unique ID for this managed resource.
    IsDefault bool
    RuleArn string
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDefault bool
    RuleArn string
    id String
    The provider-assigned unique ID for this managed resource.
    isDefault Boolean
    ruleArn String
    id string
    The provider-assigned unique ID for this managed resource.
    isDefault boolean
    ruleArn string
    id str
    The provider-assigned unique ID for this managed resource.
    is_default bool
    rule_arn str
    id String
    The provider-assigned unique ID for this managed resource.
    isDefault Boolean
    ruleArn String

    Supporting Types

    ListenerRuleAction, ListenerRuleActionArgs

    ListenerRuleAuthenticateCognitoConfig, ListenerRuleAuthenticateCognitoConfigArgs

    ListenerRuleAuthenticateOidcConfig, ListenerRuleAuthenticateOidcConfigArgs

    ListenerRuleFixedResponseConfig, ListenerRuleFixedResponseConfigArgs

    ListenerRuleForwardConfig, ListenerRuleForwardConfigArgs

    ListenerRuleHostHeaderConfig, ListenerRuleHostHeaderConfigArgs

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

    ListenerRuleHttpHeaderConfig, ListenerRuleHttpHeaderConfigArgs

    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, ListenerRuleHttpRequestMethodConfigArgs

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

    ListenerRulePathPatternConfig, ListenerRulePathPatternConfigArgs

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

    ListenerRuleQueryStringConfig, ListenerRuleQueryStringConfigArgs

    ListenerRuleQueryStringKeyValue, ListenerRuleQueryStringKeyValueArgs

    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, ListenerRuleRedirectConfigArgs

    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, ListenerRuleRuleConditionArgs

    ListenerRuleSourceIpConfig, ListenerRuleSourceIpConfigArgs

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

    ListenerRuleTargetGroupStickinessConfig, ListenerRuleTargetGroupStickinessConfigArgs

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

    ListenerRuleTargetGroupTuple, ListenerRuleTargetGroupTupleArgs

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

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi