Class SchemaOptions
(experimental) The options for configuring a schema.
Inheritance
System.Object
SchemaOptions
Implements
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public class SchemaOptions : Object, ISchemaOptions
Syntax (vb)
Public Class SchemaOptions
Inherits Object
Implements ISchemaOptions
Remarks
If no options are specified, then the schema will be generated code-first.
Stability: Experimental
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.AppSync;
var schemaOptions = new SchemaOptions {
FilePath = "filePath"
};
Synopsis
Constructors
SchemaOptions() |
Properties
FilePath | (experimental) The file path for the schema. |
Constructors
SchemaOptions()
public SchemaOptions()
Properties
FilePath
(experimental) The file path for the schema.
public string FilePath { get; set; }
Property Value
System.String
Remarks
When this option is configured, then the schema will be generated from an existing file from disk.
Default: - schema not configured through disk asset
Stability: Experimental