Show / Hide Table of Contents

Class BaseDataSourceProps

Base properties for an AppSync datasource.

Inheritance
object
BaseDataSourceProps
Implements
IBaseDataSourceProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class BaseDataSourceProps : IBaseDataSourceProps
Syntax (vb)
Public Class BaseDataSourceProps Implements 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 baseDataSourceProps = new BaseDataSourceProps {
                Api = graphQLApiRef,

                // the properties below are optional
                Description = "description",
                Name = "name"
            };

Synopsis

Constructors

BaseDataSourceProps()

Base properties for an AppSync 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

BaseDataSourceProps()

Base properties for an AppSync datasource.

public BaseDataSourceProps()
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 baseDataSourceProps = new BaseDataSourceProps {
                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

IGraphQLApiRef

Remarks

ExampleMetadata: fixture=_generated

Description

the description of the data source.

public string? Description { get; set; }
Property Value

string

Remarks

Default: - None

Name

The name of the data source.

public string? Name { get; set; }
Property Value

string

Remarks

Default: - id of data source

Implements

IBaseDataSourceProps
Back to top Generated by DocFX