Class GraphqlTypeOptions
(experimental) Options for GraphQL Types.
Inheritance
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public class GraphqlTypeOptions : Object, IGraphqlTypeOptions, IBaseTypeOptions
Syntax (vb)
Public Class GraphqlTypeOptions
Inherits Object
Implements IGraphqlTypeOptions, IBaseTypeOptions
Remarks
Stability: Experimental
Option: objectType - the object type linked to this attribute
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;
IIntermediateType intermediateType;
var graphqlTypeOptions = new GraphqlTypeOptions {
IntermediateType = intermediateType,
IsList = false,
IsRequired = false,
IsRequiredList = false
};
Synopsis
Constructors
GraphqlTypeOptions() |
Properties
IntermediateType | (experimental) the intermediate type linked to this attribute. |
IsList | (experimental) property determining if this attribute is a list i.e. if true, attribute would be [Type]. |
IsRequired | (experimental) property determining if this attribute is non-nullable i.e. if true, attribute would be Type! |
IsRequiredList | (experimental) property determining if this attribute is a non-nullable list i.e. if true, attribute would be [ Type ]! or if isRequired true, attribe would be [ Type! ]! |
Constructors
GraphqlTypeOptions()
public GraphqlTypeOptions()
Properties
IntermediateType
(experimental) the intermediate type linked to this attribute.
public IIntermediateType IntermediateType { get; set; }
Property Value
Remarks
Default: - no intermediate type
Stability: Experimental
IsList
(experimental) property determining if this attribute is a list i.e. if true, attribute would be [Type].
public Nullable<bool> IsList { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: - false
Stability: Experimental
IsRequired
(experimental) property determining if this attribute is non-nullable i.e. if true, attribute would be Type!
public Nullable<bool> IsRequired { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: - false
Stability: Experimental
IsRequiredList
(experimental) property determining if this attribute is a non-nullable list i.e. if true, attribute would be [ Type ]! or if isRequired true, attribe would be [ Type! ]!
public Nullable<bool> IsRequiredList { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: - false
Stability: Experimental