Class CfnRouteProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigatewayv2.CfnRouteProps.Jsii$Proxy
All Implemented Interfaces:
CfnRouteProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnRouteProps

@Stability(Stable) @Internal public static final class CfnRouteProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRouteProps
An implementation for CfnRouteProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnRouteProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnRouteProps.Builder.
  • Method Details

    • getApiId

      public final String getApiId()
      Description copied from interface: CfnRouteProps
      The API identifier.
      Specified by:
      getApiId in interface CfnRouteProps
    • getRouteKey

      public final String getRouteKey()
      Description copied from interface: CfnRouteProps
      The route key for the route.

      For HTTP APIs, the route key can be either $default , or a combination of an HTTP method and resource path, for example, GET /pets .

      Specified by:
      getRouteKey in interface CfnRouteProps
    • getApiKeyRequired

      public final Object getApiKeyRequired()
      Description copied from interface: CfnRouteProps
      Specifies whether an API key is required for the route.

      Supported only for WebSocket APIs.

      Specified by:
      getApiKeyRequired in interface CfnRouteProps
    • getAuthorizationScopes

      public final List<String> getAuthorizationScopes()
      Description copied from interface: CfnRouteProps
      The authorization scopes supported by this route.
      Specified by:
      getAuthorizationScopes in interface CfnRouteProps
    • getAuthorizationType

      public final String getAuthorizationType()
      Description copied from interface: CfnRouteProps
      The authorization type for the route.

      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.

      Specified by:
      getAuthorizationType in interface CfnRouteProps
    • getAuthorizerId

      public final String getAuthorizerId()
      Description copied from interface: CfnRouteProps
      The identifier of the Authorizer resource to be associated with this route.

      The authorizer identifier is generated by API Gateway when you created the authorizer.

      Specified by:
      getAuthorizerId in interface CfnRouteProps
    • getModelSelectionExpression

      public final String getModelSelectionExpression()
      Description copied from interface: CfnRouteProps
      The model selection expression for the route.

      Supported only for WebSocket APIs.

      Specified by:
      getModelSelectionExpression in interface CfnRouteProps
    • getOperationName

      public final String getOperationName()
      Description copied from interface: CfnRouteProps
      The operation name for the route.
      Specified by:
      getOperationName in interface CfnRouteProps
    • getRequestModels

      public final Object getRequestModels()
      Description copied from interface: CfnRouteProps
      The request models for the route.

      Supported only for WebSocket APIs.

      Specified by:
      getRequestModels in interface CfnRouteProps
    • getRequestParameters

      public final Object getRequestParameters()
      Description copied from interface: CfnRouteProps
      The request parameters for the route.

      Supported only for WebSocket APIs.

      Specified by:
      getRequestParameters in interface CfnRouteProps
    • getRouteResponseSelectionExpression

      public final String getRouteResponseSelectionExpression()
      Description copied from interface: CfnRouteProps
      The route response selection expression for the route.

      Supported only for WebSocket APIs.

      Specified by:
      getRouteResponseSelectionExpression in interface CfnRouteProps
    • getTarget

      public final String getTarget()
      Description copied from interface: CfnRouteProps
      The target for the route.
      Specified by:
      getTarget in interface CfnRouteProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object