Class CfnSchemaProps
Properties for defining a CfnSchema
.
Inheritance
System.Object
CfnSchemaProps
Implements
Namespace: Amazon.CDK.AWS.EventSchemas
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSchemaProps : Object, ICfnSchemaProps
Syntax (vb)
Public Class CfnSchemaProps
Inherits Object
Implements ICfnSchemaProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-schema.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.EventSchemas;
var cfnSchemaProps = new CfnSchemaProps {
Content = "content",
RegistryName = "registryName",
Type = "type",
// the properties below are optional
Description = "description",
SchemaName = "schemaName",
Tags = new [] { new TagsEntryProperty {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnSchemaProps() |
Properties
Content | The source of the schema definition. |
Description | A description of the schema. |
RegistryName | The name of the schema registry. |
SchemaName | The name of the schema. |
Tags | Tags associated with the schema. |
Type | The type of schema. |
Constructors
CfnSchemaProps()
public CfnSchemaProps()
Properties
Content
The source of the schema definition.
public string Content { get; set; }
Property Value
System.String
Remarks
Description
A description of the schema.
public string Description { get; set; }
Property Value
System.String
Remarks
RegistryName
The name of the schema registry.
public string RegistryName { get; set; }
Property Value
System.String
Remarks
SchemaName
The name of the schema.
public string SchemaName { get; set; }
Property Value
System.String
Remarks
Tags
Tags associated with the schema.
public CfnSchema.ITagsEntryProperty[] Tags { get; set; }
Property Value
CfnSchema.ITagsEntryProperty[]
Remarks
Type
The type of schema.
public string Type { get; set; }
Property Value
System.String
Remarks
Valid types include OpenApi3
and JSONSchemaDraft4
.