Interface GraphqlApiAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
GraphqlApiAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.504Z")
@Stability(Experimental)
public interface GraphqlApiAttributes
extends software.amazon.jsii.JsiiSerializable
(experimental) Attributes for GraphQL imports.
Example:
GraphqlApi api;
Table table;
IGraphqlApi importedApi = GraphqlApi.fromGraphqlApiAttributes(this, "IApi", GraphqlApiAttributes.builder()
.graphqlApiId(api.getApiId())
.graphqlApiArn(api.getArn())
.build());
importedApi.addDynamoDbDataSource("TableDataSource", table);
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forGraphqlApiAttributesstatic final classAn implementation forGraphqlApiAttributes -
Method Summary
Modifier and TypeMethodDescriptionstatic GraphqlApiAttributes.Builderbuilder()default String(experimental) the arn for the GraphQL Api.(experimental) an unique AWS AppSync GraphQL API identifier i.e.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGraphqlApiId
(experimental) an unique AWS AppSync GraphQL API identifier i.e. 'lxz775lwdrgcndgz3nurvac7oa'. -
getGraphqlApiArn
(experimental) the arn for the GraphQL Api.Default: - autogenerated arn
-
builder
- Returns:
- a
GraphqlApiAttributes.BuilderofGraphqlApiAttributes
-