Show / Hide Table of Contents

Interface IBaseDataSourceProps

Base properties for an AppSync datasource.

Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IBaseDataSourceProps
Syntax (vb)
Public Interface 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;

            GraphqlApi graphqlApi;

            var baseDataSourceProps = new BaseDataSourceProps {
                Api = graphqlApi,

                // 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.

IGraphqlApi Api { get; }
Property Value

IGraphqlApi

Remarks

ExampleMetadata: fixture=_generated

Description

the description of the data source.

string? Description { get; }
Property Value

string

Remarks

Default: - None

Name

The name of the data source.

string? Name { get; }
Property Value

string

Remarks

Default: - id of data source

Back to top Generated by DocFX