Class CfnModelV2
- Namespace
- Amazon.CDK.AWS.APIGateway
- Assembly
- Amazon.CDK.AWS.APIGateway.dll
(deprecated) A CloudFormation AWS::ApiGatewayV2::Model
.
[Obsolete("moved to package aws-apigatewayv2")]
public class CfnModelV2 : CfnResource, IInspectable
- Inheritance
-
CfnModelV2
- 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 schema;
var cfnModelV2 = new CfnModelV2(this, "MyCfnModelV2", new CfnModelV2Props {
ApiId = "apiId",
Name = "name",
Schema = schema,
// the properties below are optional
ContentType = "contentType",
Description = "description"
});
Remarks
Stability: Deprecated
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html
CloudformationResource: AWS::ApiGatewayV2::Model
ExampleMetadata: fixture=_generated
Constructors
CfnModelV2(Construct, string, ICfnModelV2Props)
(deprecated) Create a new AWS::ApiGatewayV2::Model
.
[Obsolete]
public CfnModelV2(Construct scope, string id, ICfnModelV2Props props)
Parameters
scope
Construct- scope in which this resource is defined.
id
string- scoped id of the resource.
props
ICfnModelV2Props- resource properties.
Remarks
Stability: Deprecated
Properties
ApiId
(deprecated) AWS::ApiGatewayV2::Model.ApiId
.
[Obsolete]
public virtual string ApiId { 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
ContentType
(deprecated) AWS::ApiGatewayV2::Model.ContentType
.
[Obsolete]
public virtual string? ContentType { get; set; }
Property Value
Remarks
Stability: Deprecated
Description
(deprecated) AWS::ApiGatewayV2::Model.Description
.
[Obsolete]
public virtual string? Description { get; set; }
Property Value
Remarks
Stability: Deprecated
Name
(deprecated) AWS::ApiGatewayV2::Model.Name
.
[Obsolete]
public virtual string Name { get; set; }
Property Value
Remarks
Stability: Deprecated
Schema
(deprecated) AWS::ApiGatewayV2::Model.Schema
.
[Obsolete]
public virtual object Schema { 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