Show / Hide Table of Contents

Interface IAppSyncExtendedDataSourceProps

Props used by implementations of BaseDataSource to provide configuration.

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

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.

Properties

DynamoDbConfig

Configuration for DynamoDB Datasource.

object? DynamoDbConfig { get; }
Property Value

object

Remarks

Default: - No config

Type union: either IResolvable or CfnDataSource.IDynamoDBConfigProperty

EventBridgeConfig

Configuration for EventBridge Datasource.

object? EventBridgeConfig { get; }
Property Value

object

Remarks

Default: - No config

Type union: either IResolvable or CfnDataSource.IEventBridgeConfigProperty

HttpConfig

Configuration for HTTP Datasource.

object? HttpConfig { get; }
Property Value

object

Remarks

Default: - No config

Type union: either IResolvable or CfnDataSource.IHttpConfigProperty

LambdaConfig

Configuration for Lambda Datasource.

object? LambdaConfig { get; }
Property Value

object

Remarks

Default: - No config

Type union: either IResolvable or CfnDataSource.ILambdaConfigProperty

OpenSearchServiceConfig

Configuration for OpenSearch data source.

object? OpenSearchServiceConfig { get; }
Property Value

object

Remarks

Default: - No config

Type union: either IResolvable or CfnDataSource.IOpenSearchServiceConfigProperty

RelationalDatabaseConfig

Configuration for RDS Datasource.

object? RelationalDatabaseConfig { get; }
Property Value

object

Remarks

Default: - No config

Type union: either IResolvable or CfnDataSource.IRelationalDatabaseConfigProperty

Type

The type of the AppSync datasource.

AppSyncDataSourceType Type { get; }
Property Value

AppSyncDataSourceType

Remarks

Should not be used directly.

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX