@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.683Z") @Stability(value=Stable) public interface CfnGraphQLSchemaProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGraphQLSchemaProps.Builder
A builder for
CfnGraphQLSchemaProps |
static class |
CfnGraphQLSchemaProps.Jsii$Proxy
An implementation for
CfnGraphQLSchemaProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnGraphQLSchemaProps.Builder |
builder() |
String |
getApiId()
The AWS AppSync GraphQL API identifier to which you want to apply this schema.
|
default String |
getDefinition()
The text representation of a GraphQL schema in SDL format.
|
default String |
getDefinitionS3Location()
The location of a GraphQL schema file in an Amazon S3 bucket.
|
@Stability(value=Stable) @NotNull String getApiId()
@Stability(value=Stable) @Nullable default String getDefinition()
For more information about using the Ref function, see Ref .
@Stability(value=Stable) @Nullable default String getDefinitionS3Location()
Use this if you want to provision with the schema living in Amazon S3 rather than embedding it in your CloudFormation template.
@Stability(value=Stable) static CfnGraphQLSchemaProps.Builder builder()
CfnGraphQLSchemaProps.Builder of CfnGraphQLSchemaPropsCopyright © 2022. All rights reserved.