AWS Native

v0.43.0 published on Thursday, Dec 1, 2022 by Pulumi

Listener

Resource Type definition for AWS::ElasticLoadBalancingV2::Listener

Create Listener Resource

new Listener(name: string, args: ListenerArgs, opts?: CustomResourceOptions);
@overload
def Listener(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             alpn_policy: Optional[Sequence[str]] = None,
             certificates: Optional[Sequence[ListenerCertificateArgs]] = None,
             default_actions: Optional[Sequence[ListenerActionArgs]] = None,
             load_balancer_arn: Optional[str] = None,
             port: Optional[int] = None,
             protocol: Optional[str] = None,
             ssl_policy: Optional[str] = None)
@overload
def Listener(resource_name: str,
             args: ListenerArgs,
             opts: Optional[ResourceOptions] = None)
func NewListener(ctx *Context, name string, args ListenerArgs, opts ...ResourceOption) (*Listener, error)
public Listener(string name, ListenerArgs args, CustomResourceOptions? opts = null)
public Listener(String name, ListenerArgs args)
public Listener(String name, ListenerArgs args, CustomResourceOptions options)
type: aws-native:elasticloadbalancingv2:Listener
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ListenerArgs
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 ListenerArgs
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 ListenerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ListenerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ListenerArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Listener 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 Listener resource accepts the following input properties:

Outputs

All input properties are implicitly available as output properties. Additionally, the Listener resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

ListenerArn string
Id string

The provider-assigned unique ID for this managed resource.

ListenerArn string
id String

The provider-assigned unique ID for this managed resource.

listenerArn String
id string

The provider-assigned unique ID for this managed resource.

listenerArn string
id str

The provider-assigned unique ID for this managed resource.

listener_arn str
id String

The provider-assigned unique ID for this managed resource.

listenerArn String

Supporting Types

ListenerAction

ListenerAuthenticateCognitoConfig

ListenerAuthenticateOidcConfig

ListenerCertificate

ListenerFixedResponseConfig

ListenerForwardConfig

ListenerRedirectConfig

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

ListenerTargetGroupStickinessConfig

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

ListenerTargetGroupTuple

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