We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
aws-native.globalaccelerator.getListener
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
Resource Type definition for AWS::GlobalAccelerator::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:globalaccelerator:getListener
arguments:
# arguments dictionary
The following arguments are supported:
- Listener
Arn string - The Amazon Resource Name (ARN) of the listener.
- Listener
Arn string - The Amazon Resource Name (ARN) of the listener.
- listener
Arn String - The Amazon Resource Name (ARN) of the listener.
- listener
Arn string - The Amazon Resource Name (ARN) of the listener.
- listener_
arn str - The Amazon Resource Name (ARN) of the listener.
- listener
Arn String - The Amazon Resource Name (ARN) of the listener.
getListener Result
The following output properties are available:
- Client
Affinity Pulumi.Aws Native. Global Accelerator. Listener Client Affinity - Client affinity lets you direct all requests from a user to the same endpoint.
- Listener
Arn string - The Amazon Resource Name (ARN) of the listener.
- Port
Ranges List<Pulumi.Aws Native. Global Accelerator. Outputs. Listener Port Range> - The list of port ranges for the connections from clients to the accelerator.
- Protocol
Pulumi.
Aws Native. Global Accelerator. Listener Protocol - The protocol for the listener.
- Client
Affinity ListenerClient Affinity - Client affinity lets you direct all requests from a user to the same endpoint.
- Listener
Arn string - The Amazon Resource Name (ARN) of the listener.
- Port
Ranges []ListenerPort Range - The list of port ranges for the connections from clients to the accelerator.
- Protocol
Listener
Protocol - The protocol for the listener.
- client
Affinity ListenerClient Affinity - Client affinity lets you direct all requests from a user to the same endpoint.
- listener
Arn String - The Amazon Resource Name (ARN) of the listener.
- port
Ranges List<ListenerPort Range> - The list of port ranges for the connections from clients to the accelerator.
- protocol
Listener
Protocol - The protocol for the listener.
- client
Affinity ListenerClient Affinity - Client affinity lets you direct all requests from a user to the same endpoint.
- listener
Arn string - The Amazon Resource Name (ARN) of the listener.
- port
Ranges ListenerPort Range[] - The list of port ranges for the connections from clients to the accelerator.
- protocol
Listener
Protocol - The protocol for the listener.
- client_
affinity ListenerClient Affinity - Client affinity lets you direct all requests from a user to the same endpoint.
- listener_
arn str - The Amazon Resource Name (ARN) of the listener.
- port_
ranges Sequence[ListenerPort Range] - The list of port ranges for the connections from clients to the accelerator.
- protocol
Listener
Protocol - The protocol for the listener.
- client
Affinity "NONE" | "SOURCE_IP" - Client affinity lets you direct all requests from a user to the same endpoint.
- listener
Arn String - The Amazon Resource Name (ARN) of the listener.
- port
Ranges List<Property Map> - The list of port ranges for the connections from clients to the accelerator.
- protocol "TCP" | "UDP"
- The protocol for the listener.
Supporting Types
ListenerClientAffinity
ListenerPortRange
ListenerProtocol
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi