Class CfnRouteV2
(deprecated) A CloudFormation AWS::ApiGatewayV2::Route
.
Inherited Members
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.AWS.APIGateway.dll
Syntax (csharp)
public class CfnRouteV2 : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnRouteV2
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Stability: Deprecated
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html
CloudformationResource: AWS::ApiGatewayV2::Route
ExampleMetadata: fixture=_generated
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"
});
Synopsis
Constructors
CfnRouteV2(Construct, String, ICfnRouteV2Props) | (deprecated) Create a new |
CfnRouteV2(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnRouteV2(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
ApiId | (deprecated) |
ApiKeyRequired | (deprecated) |
AuthorizationScopes | (deprecated) |
AuthorizationType | (deprecated) |
AuthorizerId | (deprecated) |
CFN_RESOURCE_TYPE_NAME | (deprecated) The CloudFormation resource type name for this resource class. |
CfnProperties | |
ModelSelectionExpression | (deprecated) |
OperationName | (deprecated) |
RequestModels | (deprecated) |
RequestParameters | (deprecated) |
RouteKey | (deprecated) |
RouteResponseSelectionExpression | (deprecated) |
Target | (deprecated) |
Methods
Inspect(TreeInspector) | (deprecated) Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnRouteV2(Construct, String, ICfnRouteV2Props)
(deprecated) Create a new AWS::ApiGatewayV2::Route
.
public CfnRouteV2(Construct scope, string id, ICfnRouteV2Props props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnRouteV2Props
- resource properties.
Remarks
Stability: Deprecated
CfnRouteV2(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnRouteV2(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnRouteV2(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnRouteV2(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
ApiId
(deprecated) AWS::ApiGatewayV2::Route.ApiId
.
public virtual string ApiId { get; set; }
Property Value
System.String
Remarks
ApiKeyRequired
(deprecated) AWS::ApiGatewayV2::Route.ApiKeyRequired
.
public virtual object ApiKeyRequired { get; set; }
Property Value
System.Object
Remarks
AuthorizationScopes
(deprecated) AWS::ApiGatewayV2::Route.AuthorizationScopes
.
public virtual string[] AuthorizationScopes { get; set; }
Property Value
System.String[]
Remarks
AuthorizationType
(deprecated) AWS::ApiGatewayV2::Route.AuthorizationType
.
public virtual string AuthorizationType { get; set; }
Property Value
System.String
Remarks
AuthorizerId
(deprecated) AWS::ApiGatewayV2::Route.AuthorizerId
.
public virtual string AuthorizerId { get; set; }
Property Value
System.String
Remarks
CFN_RESOURCE_TYPE_NAME
(deprecated) The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
Remarks
Stability: Deprecated
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Remarks
Stability: Deprecated
ModelSelectionExpression
(deprecated) AWS::ApiGatewayV2::Route.ModelSelectionExpression
.
public virtual string ModelSelectionExpression { get; set; }
Property Value
System.String
Remarks
OperationName
(deprecated) AWS::ApiGatewayV2::Route.OperationName
.
public virtual string OperationName { get; set; }
Property Value
System.String
Remarks
RequestModels
(deprecated) AWS::ApiGatewayV2::Route.RequestModels
.
public virtual object RequestModels { get; set; }
Property Value
System.Object
Remarks
RequestParameters
(deprecated) AWS::ApiGatewayV2::Route.RequestParameters
.
public virtual object RequestParameters { get; set; }
Property Value
System.Object
Remarks
RouteKey
(deprecated) AWS::ApiGatewayV2::Route.RouteKey
.
public virtual string RouteKey { get; set; }
Property Value
System.String
Remarks
RouteResponseSelectionExpression
(deprecated) AWS::ApiGatewayV2::Route.RouteResponseSelectionExpression
.
public virtual string RouteResponseSelectionExpression { get; set; }
Property Value
System.String
Remarks
Target
(deprecated) AWS::ApiGatewayV2::Route.Target
.
public virtual string Target { get; set; }
Property Value
System.String
Remarks
Methods
Inspect(TreeInspector)
(deprecated) Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
Remarks
Stability: Deprecated
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Remarks
Stability: Deprecated