Class CfnGraphQLSchemaProps
Properties for defining a CfnGraphQLSchema
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGraphQLSchemaProps : Object, ICfnGraphQLSchemaProps
Syntax (vb)
Public Class CfnGraphQLSchemaProps
Inherits Object
Implements ICfnGraphQLSchemaProps
Remarks
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 cfnGraphQLSchemaProps = new CfnGraphQLSchemaProps {
ApiId = "apiId",
// the properties below are optional
Definition = "definition",
DefinitionS3Location = "definitionS3Location"
};
Synopsis
Constructors
Cfn |
Properties
Api |
The AWS AppSync GraphQL API identifier to which you want to apply this schema. |
Definition | The text representation of a GraphQL schema in SDL format. |
Definition |
The location of a GraphQL schema file in an Amazon S3 bucket. |
Constructors
CfnGraphQLSchemaProps()
public CfnGraphQLSchemaProps()
Properties
ApiId
The AWS AppSync GraphQL API identifier to which you want to apply this schema.
public string ApiId { get; set; }
Property Value
System.
Remarks
Definition
The text representation of a GraphQL schema in SDL format.
public string Definition { get; set; }
Property Value
System.
Remarks
For more information about using the Ref
function, see Ref .
DefinitionS3Location
The location of a GraphQL schema file in an Amazon S3 bucket.
public string DefinitionS3Location { get; set; }
Property Value
System.
Remarks
Use this if you want to provision with the schema living in Amazon S3 rather than embedding it in your CloudFormation template.