Interface CfnGraphQLSchemaProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnGraphQLSchemaProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.450Z") @Stability(Stable) public interface CfnGraphQLSchemaProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnGraphQLSchema.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.appsync.*;
 CfnGraphQLSchemaProps cfnGraphQLSchemaProps = CfnGraphQLSchemaProps.builder()
         .apiId("apiId")
         // the properties below are optional
         .definition("definition")
         .definitionS3Location("definitionS3Location")
         .build();
 
  • Method Details

    • getApiId

      @Stability(Stable) @NotNull String getApiId()
      The AWS AppSync GraphQL API identifier to which you want to apply this schema.
    • getDefinition

      @Stability(Stable) @Nullable default String getDefinition()
      The text representation of a GraphQL schema in SDL format.

      For more information about using the Ref function, see Ref .

    • getDefinitionS3Location

      @Stability(Stable) @Nullable default String getDefinitionS3Location()
      The location of a GraphQL schema file in an Amazon S3 bucket.

      Use this if you want to provision with the schema living in Amazon S3 rather than embedding it in your CloudFormation template.

    • builder

      @Stability(Stable) static CfnGraphQLSchemaProps.Builder builder()
      Returns:
      a CfnGraphQLSchemaProps.Builder of CfnGraphQLSchemaProps