Table of Contents

Class CfnApiMappingV2

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

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

[Obsolete("moved to package aws-apigatewayv2")]
public class CfnApiMappingV2 : CfnResource, IInspectable
Inheritance
CfnApiMappingV2
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 cfnApiMappingV2 = new CfnApiMappingV2(this, "MyCfnApiMappingV2", new CfnApiMappingV2Props {
                 ApiId = "apiId",
                 DomainName = "domainName",
                 Stage = "stage",

                 // the properties below are optional
                 ApiMappingKey = "apiMappingKey"
             });

Remarks

Stability: Deprecated

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

CloudformationResource: AWS::ApiGatewayV2::ApiMapping

ExampleMetadata: fixture=_generated

Constructors

CfnApiMappingV2(Construct, string, ICfnApiMappingV2Props)

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

[Obsolete]
public CfnApiMappingV2(Construct scope, string id, ICfnApiMappingV2Props props)

Parameters

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

Remarks

Stability: Deprecated

Properties

ApiId

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

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

Property Value

string

Remarks

ApiMappingKey

(deprecated) AWS::ApiGatewayV2::ApiMapping.ApiMappingKey.

[Obsolete]
public virtual string? ApiMappingKey { 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

DomainName

(deprecated) AWS::ApiGatewayV2::ApiMapping.DomainName.

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

Property Value

string

Remarks

Stage

(deprecated) AWS::ApiGatewayV2::ApiMapping.Stage.

[Obsolete]
public virtual string Stage { 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