Interface CfnGraphQLSchemaProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGraphQLSchemaProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:10.371Z")
@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
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.- See Also:
-
getDefinition
The text representation of a GraphQL schema in SDL format.For more information about using the
Ref
function, 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.Builder
ofCfnGraphQLSchemaProps
-