AWS Native
Pulumi Official

Package maintained by Pulumiv0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi
getListener
Resource Type definition for AWS::ElasticLoadBalancingV2::Listener
Using getListener
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 getListener(args: GetListenerArgs, opts?: InvokeOptions): Promise<GetListenerResult>
function getListenerOutput(args: GetListenerOutputArgs, opts?: InvokeOptions): Output<GetListenerResult>
def get_listener(listener_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetListenerResult
def get_listener_output(listener_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetListenerResult]
func LookupListener(ctx *Context, args *LookupListenerArgs, opts ...InvokeOption) (*LookupListenerResult, error)
func LookupListenerOutput(ctx *Context, args *LookupListenerOutputArgs, opts ...InvokeOption) LookupListenerResultOutput
> Note: This function is named LookupListener
in the Go SDK.
public static class GetListener
{
public static Task<GetListenerResult> InvokeAsync(GetListenerArgs args, InvokeOptions? opts = null)
public static Output<GetListenerResult> Invoke(GetListenerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetListenerResult> getListener(GetListenerArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: aws-native:elasticloadbalancingv2:getListener
Arguments:
# Arguments dictionary
The following arguments are supported:
- Listener
Arn string
- Listener
Arn string
- listener
Arn String
- listener
Arn string
- listener_
arn str
- listener
Arn String
getListener Result
The following output properties are available:
- Alpn
Policy []string - Certificates
[]Listener
Certificate - Default
Actions []ListenerAction - Listener
Arn string - Port int
- Protocol string
- Ssl
Policy string
- alpn
Policy List<String> - certificates
List<Listener
Certificate> - default
Actions List<ListenerAction> - listener
Arn String - port Integer
- protocol String
- ssl
Policy String
- alpn
Policy string[] - certificates
Listener
Certificate[] - default
Actions ListenerAction[] - listener
Arn string - port number
- protocol string
- ssl
Policy string
- alpn_
policy Sequence[str] - certificates
Sequence[Listener
Certificate] - default_
actions Sequence[ListenerAction] - listener_
arn str - port int
- protocol str
- ssl_
policy str
- alpn
Policy List<String> - certificates List<Property Map>
- default
Actions List<Property Map> - listener
Arn String - port Number
- protocol String
- ssl
Policy String
Supporting Types
ListenerAction
- Type string
- Authenticate
Cognito Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Authenticate Cognito Config - Authenticate
Oidc Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Authenticate Oidc Config - Fixed
Response Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Fixed Response Config - Forward
Config Pulumi.Aws Native. Elastic Load Balancing V2. Inputs. Listener Forward Config - Order int
- Redirect
Config Pulumi.Aws Native. Elastic Load Balancing V2. Inputs. Listener Redirect Config - Target
Group stringArn
ListenerAuthenticateCognitoConfig
- User
Pool stringArn - User
Pool stringClient Id - User
Pool stringDomain - Authentication
Request objectExtra Params - On
Unauthenticated stringRequest - Scope string
- string
- Session
Timeout string
- User
Pool stringArn - User
Pool stringClient Id - User
Pool stringDomain - Authentication
Request interface{}Extra Params - On
Unauthenticated stringRequest - Scope string
- string
- Session
Timeout string
- user
Pool StringArn - user
Pool StringClient Id - user
Pool StringDomain - authentication
Request ObjectExtra Params - on
Unauthenticated StringRequest - scope String
- String
- session
Timeout String
- user
Pool stringArn - user
Pool stringClient Id - user
Pool stringDomain - authentication
Request anyExtra Params - on
Unauthenticated stringRequest - scope string
- string
- session
Timeout string
- user
Pool StringArn - user
Pool StringClient Id - user
Pool StringDomain - authentication
Request AnyExtra Params - on
Unauthenticated StringRequest - scope String
- String
- session
Timeout String
ListenerAuthenticateOidcConfig
- string
- Client
Id string - Client
Secret string - Issuer string
- Token
Endpoint string - User
Info stringEndpoint - Authentication
Request objectExtra Params - On
Unauthenticated stringRequest - Scope string
- string
- Session
Timeout string
- string
- Client
Id string - Client
Secret string - Issuer string
- Token
Endpoint string - User
Info stringEndpoint - Authentication
Request interface{}Extra Params - On
Unauthenticated stringRequest - Scope string
- string
- Session
Timeout string
- String
- client
Id String - client
Secret String - issuer String
- token
Endpoint String - user
Info StringEndpoint - authentication
Request ObjectExtra Params - on
Unauthenticated StringRequest - scope String
- String
- session
Timeout String
- string
- client
Id string - client
Secret string - issuer string
- token
Endpoint string - user
Info stringEndpoint - authentication
Request anyExtra Params - on
Unauthenticated stringRequest - scope string
- string
- session
Timeout string
- str
- client_
id str - client_
secret str - issuer str
- token_
endpoint str - user_
info_ strendpoint - authentication_
request_ Anyextra_ params - on_
unauthenticated_ strrequest - scope str
- str
- session_
timeout str
- String
- client
Id String - client
Secret String - issuer String
- token
Endpoint String - user
Info StringEndpoint - authentication
Request AnyExtra Params - on
Unauthenticated StringRequest - scope String
- String
- session
Timeout String
ListenerCertificate
- Certificate
Arn string
- Certificate
Arn string
- certificate
Arn String
- certificate
Arn string
- certificate_
arn str
- certificate
Arn String
ListenerFixedResponseConfig
- 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
ListenerForwardConfig
ListenerRedirectConfig
ListenerTargetGroupStickinessConfig
- 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
ListenerTargetGroupTuple
- 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
- https://github.com/pulumi/pulumi-aws-native
- License
- Apache-2.0