AWS Native v0.63.0, May 25 23
AWS Native v0.63.0, May 25 23
aws-native.globalaccelerator.getListener
Explore with Pulumi AI
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> - 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 - 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> - 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[] - 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] - 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> - 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