Table of Contents

Class CfnRouteV2Props

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

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

public class CfnRouteV2Props : ICfnRouteV2Props
Inheritance
CfnRouteV2Props
Implements
Inherited Members

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

Constructors

CfnRouteV2Props()

public CfnRouteV2Props()

Properties

ApiId

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

[Obsolete]
public string ApiId { get; set; }

Property Value

string

Remarks

ApiKeyRequired

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

[Obsolete]
public object? ApiKeyRequired { get; set; }

Property Value

object

Remarks

AuthorizationScopes

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

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

Property Value

string[]

Remarks

AuthorizationType

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

[Obsolete]
public string? AuthorizationType { get; set; }

Property Value

string

Remarks

AuthorizerId

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

[Obsolete]
public string? AuthorizerId { get; set; }

Property Value

string

Remarks

ModelSelectionExpression

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

[Obsolete]
public string? ModelSelectionExpression { get; set; }

Property Value

string

Remarks

OperationName

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

[Obsolete]
public string? OperationName { get; set; }

Property Value

string

Remarks

RequestModels

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

[Obsolete]
public object? RequestModels { get; set; }

Property Value

object

Remarks

RequestParameters

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

[Obsolete]
public object? RequestParameters { get; set; }

Property Value

object

Remarks

RouteKey

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

[Obsolete]
public string RouteKey { get; set; }

Property Value

string

Remarks

RouteResponseSelectionExpression

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

[Obsolete]
public string? RouteResponseSelectionExpression { get; set; }

Property Value

string

Remarks

Target

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

[Obsolete]
public string? Target { get; set; }

Property Value

string

Remarks