Interface ICfnModelMixinProps
Properties for CfnModelPropsMixin.
Namespace: Amazon.CDK.Mixins.Preview.AWS.ApiGatewayV2.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface ICfnModelMixinProps
Syntax (vb)
Public Interface ICfnModelMixinProps
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.Mixins.Preview.AWS.ApiGatewayV2.Mixins;
var schema;
var cfnModelMixinProps = new CfnModelMixinProps {
ApiId = "apiId",
ContentType = "contentType",
Description = "description",
Name = "name",
Schema = schema
};
Synopsis
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. |
Properties
ApiId
The API identifier.
object? ApiId { get; }
Property Value
Remarks
Type union: either string or IApiRef
ContentType
The content-type for the model, for example, "application/json".
string? ContentType { get; }
Property Value
Remarks
Description
The description of the model.
string? Description { get; }
Property Value
Remarks
Name
The name of the model.
string? Name { get; }
Property Value
Remarks
Schema
The schema for the model.
object? Schema { get; }
Property Value
Remarks
For application/json models, this should be JSON schema draft 4 model.