Interface IAppSyncBaseDataSourceProps
Base properties for an AppSync datasource.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAppSyncBaseDataSourceProps
Syntax (vb)
Public Interface IAppSyncBaseDataSourceProps
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;
IApi api;
var appSyncBaseDataSourceProps = new AppSyncBaseDataSourceProps {
Api = api,
// the properties below are optional
Description = "description",
Name = "name"
};
Synopsis
Properties
Api | The API to attach this data source to. |
Description | The description of the data source. |
Name | The name of the data source. |
Properties
Api
The API to attach this data source to.
IApi Api { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
Description
The description of the data source.
string? Description { get; }
Property Value
Remarks
Default: - None
Name
The name of the data source.
string? Name { get; }
Property Value
Remarks
The only allowed pattern is: {[_A-Za-z][_0-9A-Za-z]*}. Any invalid characters will be automatically removed.
Default: - id of data source