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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGraphQLSchemaProps
static final class
An implementation forCfnGraphQLSchemaProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiId
The AWS AppSync GraphQL API identifier to which you want to apply this schema. -
getDefinition
The text representation of a GraphQL schema in SDL format.For more information about using the
Ref
function, see Ref . -
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
- Returns:
- a
CfnGraphQLSchemaProps.Builder
ofCfnGraphQLSchemaProps
-