Class GraphqlApiAttributes
(experimental) Attributes for GraphQL imports.
Inheritance
System.Object
GraphqlApiAttributes
Implements
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public class GraphqlApiAttributes : Object, IGraphqlApiAttributes
Syntax (vb)
Public Class GraphqlApiAttributes
Inherits Object
Implements IGraphqlApiAttributes
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
GraphqlApi api;
Table table;
var importedApi = GraphqlApi.FromGraphqlApiAttributes(this, "IApi", new GraphqlApiAttributes {
GraphqlApiId = api.ApiId,
GraphqlApiArn = api.Arn
});
importedApi.AddDynamoDbDataSource("TableDataSource", table);
Synopsis
Constructors
GraphqlApiAttributes() |
Properties
GraphqlApiArn | (experimental) the arn for the GraphQL Api. |
GraphqlApiId | (experimental) an unique AWS AppSync GraphQL API identifier i.e. 'lxz775lwdrgcndgz3nurvac7oa'. |
Constructors
GraphqlApiAttributes()
public GraphqlApiAttributes()
Properties
GraphqlApiArn
(experimental) the arn for the GraphQL Api.
public string GraphqlApiArn { get; set; }
Property Value
System.String
Remarks
Default: - autogenerated arn
Stability: Experimental
GraphqlApiId
(experimental) an unique AWS AppSync GraphQL API identifier i.e. 'lxz775lwdrgcndgz3nurvac7oa'.
public string GraphqlApiId { get; set; }
Property Value
System.String
Remarks
Stability: Experimental