aws-native logo
AWS Native v0.55.0, Mar 28 23

aws-native.apigatewayv2.getAuthorizer

Resource Type definition for AWS::ApiGatewayV2::Authorizer

Using getAuthorizer

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 getAuthorizer(args: GetAuthorizerArgs, opts?: InvokeOptions): Promise<GetAuthorizerResult>
function getAuthorizerOutput(args: GetAuthorizerOutputArgs, opts?: InvokeOptions): Output<GetAuthorizerResult>
def get_authorizer(api_id: Optional[str] = None,
                   authorizer_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetAuthorizerResult
def get_authorizer_output(api_id: Optional[pulumi.Input[str]] = None,
                   authorizer_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetAuthorizerResult]
func LookupAuthorizer(ctx *Context, args *LookupAuthorizerArgs, opts ...InvokeOption) (*LookupAuthorizerResult, error)
func LookupAuthorizerOutput(ctx *Context, args *LookupAuthorizerOutputArgs, opts ...InvokeOption) LookupAuthorizerResultOutput

> Note: This function is named LookupAuthorizer in the Go SDK.

public static class GetAuthorizer 
{
    public static Task<GetAuthorizerResult> InvokeAsync(GetAuthorizerArgs args, InvokeOptions? opts = null)
    public static Output<GetAuthorizerResult> Invoke(GetAuthorizerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAuthorizerResult> getAuthorizer(GetAuthorizerArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:apigatewayv2:getAuthorizer
  arguments:
    # arguments dictionary

The following arguments are supported:

ApiId string
AuthorizerId string
ApiId string
AuthorizerId string
apiId String
authorizerId String
apiId string
authorizerId string
apiId String
authorizerId String

getAuthorizer Result

The following output properties are available:

Supporting Types

AuthorizerJWTConfiguration

Audience List<string>
Issuer string
Audience []string
Issuer string
audience List<String>
issuer String
audience string[]
issuer string
audience Sequence[str]
issuer str
audience List<String>
issuer String

Package Details

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