Interface CfnGraphQLSchemaProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGraphQLSchemaProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:28.925Z")
@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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGraphQLSchemaPropsstatic final classAn 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.- See Also:
-
getDefinition
The text representation of a GraphQL schema in SDL format.For more information about using the
Reffunction, see Ref .- See Also:
-
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.
- See Also:
-
builder
- Returns:
- a
CfnGraphQLSchemaProps.BuilderofCfnGraphQLSchemaProps
-