Interface IEnumTypeOptions
(experimental) Properties for configuring an Enum Type.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public interface IEnumTypeOptions
Syntax (vb)
Public Interface IEnumTypeOptions
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
GraphqlApi api;
var episode = new EnumType("Episode", new EnumTypeOptions {
Definition = new [] { "NEWHOPE", "EMPIRE", "JEDI" }
});
api.AddType(episode);
Synopsis
Properties
Definition | (experimental) the attributes of this type. |
Properties
Definition
(experimental) the attributes of this type.
string[] Definition { get; }
Property Value
System.String[]
Remarks
Stability: Experimental