Class CfnRouteV2
- Namespace
- Amazon.CDK.AWS.APIGateway
- Assembly
- Amazon.CDK.AWS.APIGateway.dll
(deprecated) A CloudFormation AWS::ApiGatewayV2::Route
.
[Obsolete("moved to package aws-apigatewayv2")]
public class CfnRouteV2 : CfnResource, IInspectable
- Inheritance
-
CfnRouteV2
- Implements
-
IInspectable
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 cfnRouteV2 = new CfnRouteV2(this, "MyCfnRouteV2", 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
CloudformationResource: AWS::ApiGatewayV2::Route
ExampleMetadata: fixture=_generated
Constructors
CfnRouteV2(Construct, string, ICfnRouteV2Props)
(deprecated) Create a new AWS::ApiGatewayV2::Route
.
[Obsolete]
public CfnRouteV2(Construct scope, string id, ICfnRouteV2Props props)
Parameters
scope
Construct- scope in which this resource is defined.
id
string- scoped id of the resource.
props
ICfnRouteV2Props- resource properties.
Remarks
Stability: Deprecated
Properties
ApiId
(deprecated) AWS::ApiGatewayV2::Route.ApiId
.
[Obsolete]
public virtual string ApiId { get; set; }
Property Value
Remarks
Stability: Deprecated
ApiKeyRequired
(deprecated) AWS::ApiGatewayV2::Route.ApiKeyRequired
.
[Obsolete]
public virtual object? ApiKeyRequired { get; set; }
Property Value
Remarks
Stability: Deprecated
AuthorizationScopes
(deprecated) AWS::ApiGatewayV2::Route.AuthorizationScopes
.
[Obsolete]
public virtual string[]? AuthorizationScopes { get; set; }
Property Value
- string[]
Remarks
Stability: Deprecated
AuthorizationType
(deprecated) AWS::ApiGatewayV2::Route.AuthorizationType
.
[Obsolete]
public virtual string? AuthorizationType { get; set; }
Property Value
Remarks
Stability: Deprecated
AuthorizerId
(deprecated) AWS::ApiGatewayV2::Route.AuthorizerId
.
[Obsolete]
public virtual string? AuthorizerId { get; set; }
Property Value
Remarks
Stability: Deprecated
CFN_RESOURCE_TYPE_NAME
(deprecated) The CloudFormation resource type name for this resource class.
[Obsolete]
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
Stability: Deprecated
CfnProperties
[Obsolete]
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Remarks
Stability: Deprecated
ModelSelectionExpression
(deprecated) AWS::ApiGatewayV2::Route.ModelSelectionExpression
.
[Obsolete]
public virtual string? ModelSelectionExpression { get; set; }
Property Value
Remarks
Stability: Deprecated
OperationName
(deprecated) AWS::ApiGatewayV2::Route.OperationName
.
[Obsolete]
public virtual string? OperationName { get; set; }
Property Value
Remarks
Stability: Deprecated
RequestModels
(deprecated) AWS::ApiGatewayV2::Route.RequestModels
.
[Obsolete]
public virtual object RequestModels { get; set; }
Property Value
Remarks
Stability: Deprecated
RequestParameters
(deprecated) AWS::ApiGatewayV2::Route.RequestParameters
.
[Obsolete]
public virtual object RequestParameters { get; set; }
Property Value
Remarks
Stability: Deprecated
RouteKey
(deprecated) AWS::ApiGatewayV2::Route.RouteKey
.
[Obsolete]
public virtual string RouteKey { get; set; }
Property Value
Remarks
Stability: Deprecated
RouteResponseSelectionExpression
(deprecated) AWS::ApiGatewayV2::Route.RouteResponseSelectionExpression
.
[Obsolete]
public virtual string? RouteResponseSelectionExpression { get; set; }
Property Value
Remarks
Stability: Deprecated
Target
(deprecated) AWS::ApiGatewayV2::Route.Target
.
[Obsolete]
public virtual string? Target { get; set; }
Property Value
Remarks
Stability: Deprecated
Methods
Inspect(TreeInspector)
(deprecated) Examines the CloudFormation resource and discloses attributes.
[Obsolete]
public virtual void Inspect(TreeInspector inspector)
Parameters
inspector
TreeInspector- tree inspector to collect and process attributes.
Remarks
Stability: Deprecated
RenderProperties(IDictionary<string, object>)
[Obsolete]
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props
IDictionary<string, object>
Returns
Remarks
Stability: Deprecated