Table of Contents

Interface ICfnRouteV2Props

Namespace
Amazon.CDK.AWS.APIGateway
Assembly
Amazon.CDK.AWS.APIGateway.dll

(deprecated) Properties for defining a AWS::ApiGatewayV2::Route.

[Obsolete("moved to package aws-apigatewayv2")]
public interface ICfnRouteV2Props

Examples

// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.APIGateway;

             var requestModels;
             var requestParameters;

             var cfnRouteV2Props = new CfnRouteV2Props {
                 ApiId = "apiId",
                 RouteKey = "routeKey",

                 // the properties below are optional
                 ApiKeyRequired = false,
                 AuthorizationScopes = new [] { "authorizationScopes" },
                 AuthorizationType = "authorizationType",
                 AuthorizerId = "authorizerId",
                 ModelSelectionExpression = "modelSelectionExpression",
                 OperationName = "operationName",
                 RequestModels = requestModels,
                 RequestParameters = requestParameters,
                 RouteResponseSelectionExpression = "routeResponseSelectionExpression",
                 Target = "target"
             };

Remarks

Properties

ApiId

(deprecated) AWS::ApiGatewayV2::Route.ApiId.

[Obsolete]
string ApiId { get; }

Property Value

string

Remarks

ApiKeyRequired

(deprecated) AWS::ApiGatewayV2::Route.ApiKeyRequired.

[Obsolete]
object? ApiKeyRequired { get; }

Property Value

object

Remarks

AuthorizationScopes

(deprecated) AWS::ApiGatewayV2::Route.AuthorizationScopes.

[Obsolete]
string[]? AuthorizationScopes { get; }

Property Value

string[]

Remarks

AuthorizationType

(deprecated) AWS::ApiGatewayV2::Route.AuthorizationType.

[Obsolete]
string? AuthorizationType { get; }

Property Value

string

Remarks

AuthorizerId

(deprecated) AWS::ApiGatewayV2::Route.AuthorizerId.

[Obsolete]
string? AuthorizerId { get; }

Property Value

string

Remarks

ModelSelectionExpression

(deprecated) AWS::ApiGatewayV2::Route.ModelSelectionExpression.

[Obsolete]
string? ModelSelectionExpression { get; }

Property Value

string

Remarks

OperationName

(deprecated) AWS::ApiGatewayV2::Route.OperationName.

[Obsolete]
string? OperationName { get; }

Property Value

string

Remarks

RequestModels

(deprecated) AWS::ApiGatewayV2::Route.RequestModels.

[Obsolete]
object? RequestModels { get; }

Property Value

object

Remarks

RequestParameters

(deprecated) AWS::ApiGatewayV2::Route.RequestParameters.

[Obsolete]
object? RequestParameters { get; }

Property Value

object

Remarks

RouteKey

(deprecated) AWS::ApiGatewayV2::Route.RouteKey.

[Obsolete]
string RouteKey { get; }

Property Value

string

Remarks

RouteResponseSelectionExpression

(deprecated) AWS::ApiGatewayV2::Route.RouteResponseSelectionExpression.

[Obsolete]
string? RouteResponseSelectionExpression { get; }

Property Value

string

Remarks

Target

(deprecated) AWS::ApiGatewayV2::Route.Target.

[Obsolete]
string? Target { get; }

Property Value

string

Remarks