Show / Hide Table of Contents

Class CfnModelProps

Properties for defining a CfnModel.

Inheritance
object
CfnModelProps
Implements
ICfnModelProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Apigatewayv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnModelProps : ICfnModelProps
Syntax (vb)
Public Class CfnModelProps Implements ICfnModelProps
Remarks

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

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.Apigatewayv2;

             var schema;

             var cfnModelProps = new CfnModelProps {
                 ApiId = "apiId",
                 Name = "name",
                 Schema = schema,

                 // the properties below are optional
                 ContentType = "contentType",
                 Description = "description"
             };

Synopsis

Constructors

CfnModelProps()

Properties for defining a CfnModel.

Properties

ApiId

The API identifier.

ContentType

The content-type for the model, for example, "application/json".

Description

The description of the model.

Name

The name of the model.

Schema

The schema for the model.

Constructors

CfnModelProps()

Properties for defining a CfnModel.

public CfnModelProps()
Remarks

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

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.Apigatewayv2;

             var schema;

             var cfnModelProps = new CfnModelProps {
                 ApiId = "apiId",
                 Name = "name",
                 Schema = schema,

                 // the properties below are optional
                 ContentType = "contentType",
                 Description = "description"
             };

Properties

ApiId

The API identifier.

public string ApiId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html#cfn-apigatewayv2-model-apiid

ContentType

The content-type for the model, for example, "application/json".

public string? ContentType { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html#cfn-apigatewayv2-model-contenttype

Description

The description of the model.

public string? Description { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html#cfn-apigatewayv2-model-description

Name

The name of the model.

public string Name { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html#cfn-apigatewayv2-model-name

Schema

The schema for the model.

public object Schema { get; set; }
Property Value

object

Remarks

For application/json models, this should be JSON schema draft 4 model.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html#cfn-apigatewayv2-model-schema

Implements

ICfnModelProps
Back to top Generated by DocFX