Class NoneDataSourceProps
Properties for an AppSync dummy datasource.
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class NoneDataSourceProps : INoneDataSourceProps, IBaseDataSourceProps
Syntax (vb)
Public Class NoneDataSourceProps Implements INoneDataSourceProps, IBaseDataSourceProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
using Amazon.CDK.Interfaces.AppSync;
IGraphQLApiRef graphQLApiRef;
var noneDataSourceProps = new NoneDataSourceProps {
Api = graphQLApiRef,
// the properties below are optional
Description = "description",
Name = "name"
};
Synopsis
Constructors
| NoneDataSourceProps() | Properties for an AppSync dummy datasource. |
Properties
| Api | The API to attach this data source to. |
| Description | the description of the data source. |
| Name | The name of the data source. |
Constructors
NoneDataSourceProps()
Properties for an AppSync dummy datasource.
public NoneDataSourceProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
using Amazon.CDK.Interfaces.AppSync;
IGraphQLApiRef graphQLApiRef;
var noneDataSourceProps = new NoneDataSourceProps {
Api = graphQLApiRef,
// the properties below are optional
Description = "description",
Name = "name"
};
Properties
Api
The API to attach this data source to.
public IGraphQLApiRef Api { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
Description
the description of the data source.
public string? Description { get; set; }
Property Value
Remarks
Default: - None
Name
The name of the data source.
public string? Name { get; set; }
Property Value
Remarks
Default: - id of data source