Class RouteArgs
Inherited Members
Namespace: Pulumi.Aws.ApiGatewayV2
Assembly: Pulumi.Aws.dll
Syntax
public sealed class RouteArgs : ResourceArgs
Constructors
View SourceRouteArgs()
Declaration
public RouteArgs()
Properties
View SourceApiId
The API identifier.
Declaration
public Input<string> ApiId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ApiKeyRequired
Boolean whether an API key is required for the route. Defaults to false.
Declaration
public Input<bool> ApiKeyRequired { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
AuthorizationScopes
The authorization scopes supported by this route. The scopes are used with a JWT authorizer to authorize the method invocation.
Declaration
public InputList<string> AuthorizationScopes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
AuthorizationType
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, or JWT for using JSON Web Tokens.
Defaults to NONE.
Declaration
public Input<string> AuthorizationType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
AuthorizerId
The identifier of the aws.apigatewayv2.Authorizer resource to be associated with this route, if the authorizationType is CUSTOM.
Declaration
public Input<string> AuthorizerId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ModelSelectionExpression
The model selection expression for the route.
Declaration
public Input<string> ModelSelectionExpression { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
OperationName
The operation name for the route.
Declaration
public Input<string> OperationName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RequestModels
The request models for the route.
Declaration
public InputMap<string> RequestModels { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
RouteKey
The route key for the route.
Declaration
public Input<string> RouteKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RouteResponseSelectionExpression
The route response selection expression for the route.
Declaration
public Input<string> RouteResponseSelectionExpression { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Target
The target for the route.
Declaration
public Input<string> Target { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |