Show / Hide Table of Contents

Class AppSyncExtendedDataSourceProps

Props used by implementations of BaseDataSource to provide configuration.

Inheritance
object
AppSyncExtendedDataSourceProps
Implements
IAppSyncExtendedDataSourceProps
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 AppSyncExtendedDataSourceProps : IAppSyncExtendedDataSourceProps
Syntax (vb)
Public Class AppSyncExtendedDataSourceProps Implements IAppSyncExtendedDataSourceProps
Remarks

Should not be used directly.

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;

             var appSyncExtendedDataSourceProps = new AppSyncExtendedDataSourceProps {
                 Type = AppSyncDataSourceType.LAMBDA,

                 // the properties below are optional
                 DynamoDbConfig = new DynamoDBConfigProperty {
                     AwsRegion = "awsRegion",
                     TableName = "tableName",

                     // the properties below are optional
                     DeltaSyncConfig = new DeltaSyncConfigProperty {
                         BaseTableTtl = "baseTableTtl",
                         DeltaSyncTableName = "deltaSyncTableName",
                         DeltaSyncTableTtl = "deltaSyncTableTtl"
                     },
                     UseCallerCredentials = false,
                     Versioned = false
                 },
                 EventBridgeConfig = new EventBridgeConfigProperty {
                     EventBusArn = "eventBusArn"
                 },
                 HttpConfig = new HttpConfigProperty {
                     Endpoint = "endpoint",

                     // the properties below are optional
                     AuthorizationConfig = new AuthorizationConfigProperty {
                         AuthorizationType = "authorizationType",

                         // the properties below are optional
                         AwsIamConfig = new AwsIamConfigProperty {
                             SigningRegion = "signingRegion",
                             SigningServiceName = "signingServiceName"
                         }
                     }
                 },
                 LambdaConfig = new LambdaConfigProperty {
                     LambdaFunctionArn = "lambdaFunctionArn"
                 },
                 OpenSearchServiceConfig = new OpenSearchServiceConfigProperty {
                     AwsRegion = "awsRegion",
                     Endpoint = "endpoint"
                 },
                 RelationalDatabaseConfig = new RelationalDatabaseConfigProperty {
                     RelationalDatabaseSourceType = "relationalDatabaseSourceType",

                     // the properties below are optional
                     RdsHttpEndpointConfig = new RdsHttpEndpointConfigProperty {
                         AwsRegion = "awsRegion",
                         AwsSecretStoreArn = "awsSecretStoreArn",
                         DbClusterIdentifier = "dbClusterIdentifier",

                         // the properties below are optional
                         DatabaseName = "databaseName",
                         Schema = "schema"
                     }
                 }
             };

Synopsis

Constructors

AppSyncExtendedDataSourceProps()

Props used by implementations of BaseDataSource to provide configuration.

Properties

DynamoDbConfig

Configuration for DynamoDB Datasource.

EventBridgeConfig

Configuration for EventBridge Datasource.

HttpConfig

Configuration for HTTP Datasource.

LambdaConfig

Configuration for Lambda Datasource.

OpenSearchServiceConfig

Configuration for OpenSearch data source.

RelationalDatabaseConfig

Configuration for RDS Datasource.

Type

The type of the AppSync datasource.

Constructors

AppSyncExtendedDataSourceProps()

Props used by implementations of BaseDataSource to provide configuration.

public AppSyncExtendedDataSourceProps()
Remarks

Should not be used directly.

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;

             var appSyncExtendedDataSourceProps = new AppSyncExtendedDataSourceProps {
                 Type = AppSyncDataSourceType.LAMBDA,

                 // the properties below are optional
                 DynamoDbConfig = new DynamoDBConfigProperty {
                     AwsRegion = "awsRegion",
                     TableName = "tableName",

                     // the properties below are optional
                     DeltaSyncConfig = new DeltaSyncConfigProperty {
                         BaseTableTtl = "baseTableTtl",
                         DeltaSyncTableName = "deltaSyncTableName",
                         DeltaSyncTableTtl = "deltaSyncTableTtl"
                     },
                     UseCallerCredentials = false,
                     Versioned = false
                 },
                 EventBridgeConfig = new EventBridgeConfigProperty {
                     EventBusArn = "eventBusArn"
                 },
                 HttpConfig = new HttpConfigProperty {
                     Endpoint = "endpoint",

                     // the properties below are optional
                     AuthorizationConfig = new AuthorizationConfigProperty {
                         AuthorizationType = "authorizationType",

                         // the properties below are optional
                         AwsIamConfig = new AwsIamConfigProperty {
                             SigningRegion = "signingRegion",
                             SigningServiceName = "signingServiceName"
                         }
                     }
                 },
                 LambdaConfig = new LambdaConfigProperty {
                     LambdaFunctionArn = "lambdaFunctionArn"
                 },
                 OpenSearchServiceConfig = new OpenSearchServiceConfigProperty {
                     AwsRegion = "awsRegion",
                     Endpoint = "endpoint"
                 },
                 RelationalDatabaseConfig = new RelationalDatabaseConfigProperty {
                     RelationalDatabaseSourceType = "relationalDatabaseSourceType",

                     // the properties below are optional
                     RdsHttpEndpointConfig = new RdsHttpEndpointConfigProperty {
                         AwsRegion = "awsRegion",
                         AwsSecretStoreArn = "awsSecretStoreArn",
                         DbClusterIdentifier = "dbClusterIdentifier",

                         // the properties below are optional
                         DatabaseName = "databaseName",
                         Schema = "schema"
                     }
                 }
             };

Properties

DynamoDbConfig

Configuration for DynamoDB Datasource.

public object? DynamoDbConfig { get; set; }
Property Value

object

Remarks

Default: - No config

Type union: either IResolvable or CfnDataSource.IDynamoDBConfigProperty

EventBridgeConfig

Configuration for EventBridge Datasource.

public object? EventBridgeConfig { get; set; }
Property Value

object

Remarks

Default: - No config

Type union: either IResolvable or CfnDataSource.IEventBridgeConfigProperty

HttpConfig

Configuration for HTTP Datasource.

public object? HttpConfig { get; set; }
Property Value

object

Remarks

Default: - No config

Type union: either IResolvable or CfnDataSource.IHttpConfigProperty

LambdaConfig

Configuration for Lambda Datasource.

public object? LambdaConfig { get; set; }
Property Value

object

Remarks

Default: - No config

Type union: either IResolvable or CfnDataSource.ILambdaConfigProperty

OpenSearchServiceConfig

Configuration for OpenSearch data source.

public object? OpenSearchServiceConfig { get; set; }
Property Value

object

Remarks

Default: - No config

Type union: either IResolvable or CfnDataSource.IOpenSearchServiceConfigProperty

RelationalDatabaseConfig

Configuration for RDS Datasource.

public object? RelationalDatabaseConfig { get; set; }
Property Value

object

Remarks

Default: - No config

Type union: either IResolvable or CfnDataSource.IRelationalDatabaseConfigProperty

Type

The type of the AppSync datasource.

public AppSyncDataSourceType Type { get; set; }
Property Value

AppSyncDataSourceType

Remarks

Should not be used directly.

ExampleMetadata: fixture=_generated

Implements

IAppSyncExtendedDataSourceProps
Back to top Generated by DocFX