Table of Contents

Class CfnDeploymentV2

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

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

[Obsolete("moved to package aws-apigatewayv2")]
public class CfnDeploymentV2 : CfnResource, IInspectable
Inheritance
CfnDeploymentV2
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 cfnDeploymentV2 = new CfnDeploymentV2(this, "MyCfnDeploymentV2", new CfnDeploymentV2Props {
                 ApiId = "apiId",

                 // the properties below are optional
                 Description = "description",
                 StageName = "stageName"
             });

Remarks

Stability: Deprecated

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

CloudformationResource: AWS::ApiGatewayV2::Deployment

ExampleMetadata: fixture=_generated

Constructors

CfnDeploymentV2(Construct, string, ICfnDeploymentV2Props)

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

[Obsolete]
public CfnDeploymentV2(Construct scope, string id, ICfnDeploymentV2Props props)

Parameters

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

Remarks

Stability: Deprecated

Properties

ApiId

(deprecated) AWS::ApiGatewayV2::Deployment.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

Description

(deprecated) AWS::ApiGatewayV2::Deployment.Description.

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

Property Value

string

Remarks

StageName

(deprecated) AWS::ApiGatewayV2::Deployment.StageName.

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