Table of Contents

Class CfnRouteResponseV2

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

(deprecated) A CloudFormation AWS::ApiGatewayV2::RouteResponse.

[Obsolete("moved to package aws-apigatewayv2")]
public class CfnRouteResponseV2 : CfnResource, IInspectable
Inheritance
CfnRouteResponseV2
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 responseModels;
             var responseParameters;

             var cfnRouteResponseV2 = new CfnRouteResponseV2(this, "MyCfnRouteResponseV2", new CfnRouteResponseV2Props {
                 ApiId = "apiId",
                 RouteId = "routeId",
                 RouteResponseKey = "routeResponseKey",

                 // the properties below are optional
                 ModelSelectionExpression = "modelSelectionExpression",
                 ResponseModels = responseModels,
                 ResponseParameters = responseParameters
             });

Remarks

Stability: Deprecated

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routeresponse.html

CloudformationResource: AWS::ApiGatewayV2::RouteResponse

ExampleMetadata: fixture=_generated

Constructors

CfnRouteResponseV2(Construct, string, ICfnRouteResponseV2Props)

(deprecated) Create a new AWS::ApiGatewayV2::RouteResponse.

[Obsolete]
public CfnRouteResponseV2(Construct scope, string id, ICfnRouteResponseV2Props props)

Parameters

scope Construct
  • scope in which this resource is defined.
id string
  • scoped id of the resource.
props ICfnRouteResponseV2Props
  • resource properties.

Remarks

Stability: Deprecated

Properties

ApiId

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

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

Property Value

string

Remarks

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

string

Remarks

Stability: Deprecated

CfnProperties

[Obsolete]
protected override IDictionary<string, object> CfnProperties { get; }

Property Value

IDictionary<string, object>

Remarks

Stability: Deprecated

ModelSelectionExpression

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

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

Property Value

string

Remarks

ResponseModels

(deprecated) AWS::ApiGatewayV2::RouteResponse.ResponseModels.

[Obsolete]
public virtual object ResponseModels { get; set; }

Property Value

object

Remarks

ResponseParameters

(deprecated) AWS::ApiGatewayV2::RouteResponse.ResponseParameters.

[Obsolete]
public virtual object ResponseParameters { get; set; }

Property Value

object

Remarks

RouteId

(deprecated) AWS::ApiGatewayV2::RouteResponse.RouteId.

[Obsolete]
public virtual string RouteId { get; set; }

Property Value

string

Remarks

RouteResponseKey

(deprecated) AWS::ApiGatewayV2::RouteResponse.RouteResponseKey.

[Obsolete]
public virtual string RouteResponseKey { get; set; }

Property Value

string

Remarks

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

IDictionary<string, object>

Remarks

Stability: Deprecated