You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ApiGatewayV2::Types::CreateRouteResult

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#api_gateway_managedBoolean

Returns:

  • (Boolean)

#api_key_requiredBoolean

Returns:

  • (Boolean)

#authorization_scopesArray<String>

A list of authorization scopes configured on a route. The scopes are used with a JWT authorizer to authorize the method invocation. The authorization works by matching the route scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any route scope matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the route scope is configured, the client must provide an access token instead of an identity token for authorization purposes.

Returns:

  • (Array<String>)

    A list of authorization scopes configured on a route.

#authorization_typeString

The authorization type. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer. For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.

Possible values:

  • NONE
  • AWS_IAM
  • CUSTOM
  • JWT

Returns:

  • (String)

    The authorization type.

#authorizer_idString

The identifier.

Returns:

  • (String)

    The identifier.

    .

#model_selection_expressionString

An expression used to extract information at runtime. See Selection Expressions for more information.

Returns:

  • (String)

    An expression used to extract information at runtime.

#operation_nameString

A string with a length between [1-64].

Returns:

  • (String)

    A string with a length between [1-64].

    .

#request_modelsHash<String,String>

The route models.

Returns:

  • (Hash<String,String>)

    The route models.

    .

#request_parametersHash<String,Types::ParameterConstraints>

The route parameters.

Returns:

#route_idString

The identifier.

Returns:

  • (String)

    The identifier.

    .

#route_keyString

After evaluating a selection expression, the result is compared against one or more selection keys to find a matching key. See Selection Expressions for a list of expressions and each expression's associated selection key type.

Returns:

  • (String)

    After evaluating a selection expression, the result is compared against one or more selection keys to find a matching key.

#route_response_selection_expressionString

An expression used to extract information at runtime. See Selection Expressions for more information.

Returns:

  • (String)

    An expression used to extract information at runtime.

#targetString

A string with a length between [1-128].

Returns:

  • (String)

    A string with a length between [1-128].

    .