@Stability(value=Stable) public static final class CfnGraphQLSchema.Builder extends Object implements software.amazon.jsii.Builder<CfnGraphQLSchema>
CfnGraphQLSchema.| Modifier and Type | Method and Description |
|---|---|
CfnGraphQLSchema.Builder |
apiId(String apiId)
The AWS AppSync GraphQL API identifier to which you want to apply this schema.
|
CfnGraphQLSchema |
build() |
static CfnGraphQLSchema.Builder |
create(software.constructs.Construct scope,
String id) |
CfnGraphQLSchema.Builder |
definition(String definition)
The text representation of a GraphQL schema in SDL format.
|
CfnGraphQLSchema.Builder |
definitionS3Location(String definitionS3Location)
The location of a GraphQL schema file in an Amazon S3 bucket.
|
@Stability(value=Stable) public static CfnGraphQLSchema.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnGraphQLSchema.Builder.@Stability(value=Stable) public CfnGraphQLSchema.Builder apiId(String apiId)
apiId - The AWS AppSync GraphQL API identifier to which you want to apply this schema. This parameter is required.this@Stability(value=Stable) public CfnGraphQLSchema.Builder definition(String definition)
For more information about using the Ref function, see Ref .
definition - The text representation of a GraphQL schema in SDL format. This parameter is required.this@Stability(value=Stable) public CfnGraphQLSchema.Builder definitionS3Location(String definitionS3Location)
Use this if you want to provision with the schema living in Amazon S3 rather than embedding it in your CloudFormation template.
definitionS3Location - The location of a GraphQL schema file in an Amazon S3 bucket. This parameter is required.this@Stability(value=Stable) public CfnGraphQLSchema build()
build in interface software.amazon.jsii.Builder<CfnGraphQLSchema>Copyright © 2022. All rights reserved.