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
Stability: Deprecated
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html
ExampleMetadata: fixture=_generated
Constructors
CfnRouteV2Props()
public CfnRouteV2Props()
Properties
ApiId
(deprecated) AWS::ApiGatewayV2::Route.ApiId
.
[Obsolete]
public string ApiId { get; set; }
Property Value
Remarks
Stability: Deprecated
ApiKeyRequired
(deprecated) AWS::ApiGatewayV2::Route.ApiKeyRequired
.
[Obsolete]
public object? ApiKeyRequired { get; set; }
Property Value
Remarks
Stability: Deprecated
AuthorizationScopes
(deprecated) AWS::ApiGatewayV2::Route.AuthorizationScopes
.
[Obsolete]
public string[]? AuthorizationScopes { get; set; }
Property Value
- string[]
Remarks
Stability: Deprecated
AuthorizationType
(deprecated) AWS::ApiGatewayV2::Route.AuthorizationType
.
[Obsolete]
public string? AuthorizationType { get; set; }
Property Value
Remarks
Stability: Deprecated
AuthorizerId
(deprecated) AWS::ApiGatewayV2::Route.AuthorizerId
.
[Obsolete]
public string? AuthorizerId { get; set; }
Property Value
Remarks
Stability: Deprecated
ModelSelectionExpression
(deprecated) AWS::ApiGatewayV2::Route.ModelSelectionExpression
.
[Obsolete]
public string? ModelSelectionExpression { get; set; }
Property Value
Remarks
Stability: Deprecated
OperationName
(deprecated) AWS::ApiGatewayV2::Route.OperationName
.
[Obsolete]
public string? OperationName { get; set; }
Property Value
Remarks
Stability: Deprecated
RequestModels
(deprecated) AWS::ApiGatewayV2::Route.RequestModels
.
[Obsolete]
public object? RequestModels { get; set; }
Property Value
Remarks
Stability: Deprecated
RequestParameters
(deprecated) AWS::ApiGatewayV2::Route.RequestParameters
.
[Obsolete]
public object? RequestParameters { get; set; }
Property Value
Remarks
Stability: Deprecated
RouteKey
(deprecated) AWS::ApiGatewayV2::Route.RouteKey
.
[Obsolete]
public string RouteKey { get; set; }
Property Value
Remarks
Stability: Deprecated
RouteResponseSelectionExpression
(deprecated) AWS::ApiGatewayV2::Route.RouteResponseSelectionExpression
.
[Obsolete]
public string? RouteResponseSelectionExpression { get; set; }
Property Value
Remarks
Stability: Deprecated
Target
(deprecated) AWS::ApiGatewayV2::Route.Target
.
[Obsolete]
public string? Target { get; set; }