Interface ICfnSchemaProps
Properties for defining a CfnSchema
.
Namespace: Amazon.CDK.AWS.EventSchemas
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnSchemaProps
Syntax (vb)
Public Interface 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
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. |
Properties
Content
The source of the schema definition.
string Content { get; }
Property Value
System.String
Remarks
Description
A description of the schema.
virtual string Description { get; }
Property Value
System.String
Remarks
RegistryName
The name of the schema registry.
string RegistryName { get; }
Property Value
System.String
Remarks
SchemaName
The name of the schema.
virtual string SchemaName { get; }
Property Value
System.String
Remarks
Tags
Tags associated with the schema.
virtual CfnSchema.ITagsEntryProperty[] Tags { get; }
Property Value
CfnSchema.ITagsEntryProperty[]
Remarks
Type
The type of schema.
string Type { get; }
Property Value
System.String
Remarks
Valid types include OpenApi3
and JSONSchemaDraft4
.