Class CfnGraphQLSchema
The AWS::AppSync::GraphQLSchema
resource is used for your AWS AppSync GraphQL schema that controls the data model for your API.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGraphQLSchema : CfnResource, IInspectable
Syntax (vb)
Public Class CfnGraphQLSchema Inherits CfnResource Implements IInspectable
Remarks
Schema files are text written in Schema Definition Language (SDL) format. For more information about schema authoring, see Designing a GraphQL API in the AWS AppSync Developer Guide .
When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.
See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .
CloudformationResource: AWS::AppSync::GraphQLSchema
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 cfnGraphQLSchema = new CfnGraphQLSchema(this, "MyCfnGraphQLSchema", new CfnGraphQLSchemaProps {
ApiId = "apiId",
// the properties below are optional
Definition = "definition",
DefinitionS3Location = "definitionS3Location"
});
Synopsis
Constructors
CfnGraphQLSchema(Construct, string, ICfnGraphQLSchemaProps) | The |
Properties
ApiId | The AWS AppSync GraphQL API identifier to which you want to apply this schema. |
AttrId | The ID value. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | The |
Definition | The text representation of a GraphQL schema in SDL format. |
DefinitionS3Location | The location of a GraphQL schema file in an Amazon S3 bucket. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<string, object>) | The |
Constructors
CfnGraphQLSchema(Construct, string, ICfnGraphQLSchemaProps)
The AWS::AppSync::GraphQLSchema
resource is used for your AWS AppSync GraphQL schema that controls the data model for your API.
public CfnGraphQLSchema(Construct scope, string id, ICfnGraphQLSchemaProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnGraphQLSchemaProps
Resource properties.
Remarks
Schema files are text written in Schema Definition Language (SDL) format. For more information about schema authoring, see Designing a GraphQL API in the AWS AppSync Developer Guide .
When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.
See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .
CloudformationResource: AWS::AppSync::GraphQLSchema
ExampleMetadata: fixture=_generated
Properties
ApiId
The AWS AppSync GraphQL API identifier to which you want to apply this schema.
public virtual string ApiId { get; set; }
Property Value
Remarks
Schema files are text written in Schema Definition Language (SDL) format. For more information about schema authoring, see Designing a GraphQL API in the AWS AppSync Developer Guide .
When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.
See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .
CloudformationResource: AWS::AppSync::GraphQLSchema
ExampleMetadata: fixture=_generated
AttrId
The ID value.
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
Schema files are text written in Schema Definition Language (SDL) format. For more information about schema authoring, see Designing a GraphQL API in the AWS AppSync Developer Guide .
When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.
See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .
CloudformationResource: AWS::AppSync::GraphQLSchema
ExampleMetadata: fixture=_generated
CfnProperties
The AWS::AppSync::GraphQLSchema
resource is used for your AWS AppSync GraphQL schema that controls the data model for your API.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
Schema files are text written in Schema Definition Language (SDL) format. For more information about schema authoring, see Designing a GraphQL API in the AWS AppSync Developer Guide .
When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.
See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .
CloudformationResource: AWS::AppSync::GraphQLSchema
ExampleMetadata: fixture=_generated
Definition
The text representation of a GraphQL schema in SDL format.
public virtual string? Definition { get; set; }
Property Value
Remarks
Schema files are text written in Schema Definition Language (SDL) format. For more information about schema authoring, see Designing a GraphQL API in the AWS AppSync Developer Guide .
When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.
See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .
CloudformationResource: AWS::AppSync::GraphQLSchema
ExampleMetadata: fixture=_generated
DefinitionS3Location
The location of a GraphQL schema file in an Amazon S3 bucket.
public virtual string? DefinitionS3Location { get; set; }
Property Value
Remarks
Schema files are text written in Schema Definition Language (SDL) format. For more information about schema authoring, see Designing a GraphQL API in the AWS AppSync Developer Guide .
When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.
See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .
CloudformationResource: AWS::AppSync::GraphQLSchema
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
Schema files are text written in Schema Definition Language (SDL) format. For more information about schema authoring, see Designing a GraphQL API in the AWS AppSync Developer Guide .
When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.
See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .
CloudformationResource: AWS::AppSync::GraphQLSchema
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
The AWS::AppSync::GraphQLSchema
resource is used for your AWS AppSync GraphQL schema that controls the data model for your API.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
Schema files are text written in Schema Definition Language (SDL) format. For more information about schema authoring, see Designing a GraphQL API in the AWS AppSync Developer Guide .
When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.
See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .
CloudformationResource: AWS::AppSync::GraphQLSchema
ExampleMetadata: fixture=_generated