Show / Hide Table of Contents

Class CfnDataSourcePropsMixin

The AWS::AppSync::DataSource resource creates data sources for resolvers in AWS AppSync to connect to, such as Amazon DynamoDB , AWS Lambda , and Amazon OpenSearch Service .

Inheritance
object
Mixin
CfnDataSourcePropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.AppSync
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnDataSourcePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnDataSourcePropsMixin Inherits Mixin Implements IMixin
Remarks

Resolvers use these data sources to fetch data when clients make GraphQL calls.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html

CloudformationResource: AWS::AppSync::DataSource

Mixin: true

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.CfnPropertyMixins.AWS.AppSync;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnDataSourcePropsMixin = new CfnDataSourcePropsMixin(new CfnDataSourceMixinProps {
                 ApiId = "apiId",
                 Description = "description",
                 DynamoDbConfig = new DynamoDBConfigProperty {
                     AwsRegion = "awsRegion",
                     DeltaSyncConfig = new DeltaSyncConfigProperty {
                         BaseTableTtl = "baseTableTtl",
                         DeltaSyncTableName = "deltaSyncTableName",
                         DeltaSyncTableTtl = "deltaSyncTableTtl"
                     },
                     TableName = "tableName",
                     UseCallerCredentials = false,
                     Versioned = false
                 },
                 ElasticsearchConfig = new ElasticsearchConfigProperty {
                     AwsRegion = "awsRegion",
                     Endpoint = "endpoint"
                 },
                 EventBridgeConfig = new EventBridgeConfigProperty {
                     EventBusArn = "eventBusArn"
                 },
                 HttpConfig = new HttpConfigProperty {
                     AuthorizationConfig = new AuthorizationConfigProperty {
                         AuthorizationType = "authorizationType",
                         AwsIamConfig = new AwsIamConfigProperty {
                             SigningRegion = "signingRegion",
                             SigningServiceName = "signingServiceName"
                         }
                     },
                     Endpoint = "endpoint"
                 },
                 LambdaConfig = new LambdaConfigProperty {
                     LambdaFunctionArn = "lambdaFunctionArn"
                 },
                 MetricsConfig = "metricsConfig",
                 Name = "name",
                 OpenSearchServiceConfig = new OpenSearchServiceConfigProperty {
                     AwsRegion = "awsRegion",
                     Endpoint = "endpoint"
                 },
                 RelationalDatabaseConfig = new RelationalDatabaseConfigProperty {
                     RdsHttpEndpointConfig = new RdsHttpEndpointConfigProperty {
                         AwsRegion = "awsRegion",
                         AwsSecretStoreArn = "awsSecretStoreArn",
                         DatabaseName = "databaseName",
                         DbClusterIdentifier = "dbClusterIdentifier",
                         Schema = "schema"
                     },
                     RelationalDatabaseSourceType = "relationalDatabaseSourceType"
                 },
                 ServiceRoleArn = "serviceRoleArn",
                 Type = "type"
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Synopsis

Constructors

CfnDataSourcePropsMixin(ICfnDataSourceMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::AppSync::DataSource.

Properties

CFN_PROPERTY_KEYS

The AWS::AppSync::DataSource resource creates data sources for resolvers in AWS AppSync to connect to, such as Amazon DynamoDB , AWS Lambda , and Amazon OpenSearch Service .

Props

The AWS::AppSync::DataSource resource creates data sources for resolvers in AWS AppSync to connect to, such as Amazon DynamoDB , AWS Lambda , and Amazon OpenSearch Service .

Strategy

The AWS::AppSync::DataSource resource creates data sources for resolvers in AWS AppSync to connect to, such as Amazon DynamoDB , AWS Lambda , and Amazon OpenSearch Service .

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

Supports(IConstruct)

Check if this mixin supports the given construct.

Constructors

CfnDataSourcePropsMixin(ICfnDataSourceMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::AppSync::DataSource.

public CfnDataSourcePropsMixin(ICfnDataSourceMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
props ICfnDataSourceMixinProps

L1 properties to apply.

options ICfnPropertyMixinOptions

Mixin options.

Remarks

Resolvers use these data sources to fetch data when clients make GraphQL calls.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html

CloudformationResource: AWS::AppSync::DataSource

Mixin: true

ExampleMetadata: fixture=_generated

Properties

CFN_PROPERTY_KEYS

The AWS::AppSync::DataSource resource creates data sources for resolvers in AWS AppSync to connect to, such as Amazon DynamoDB , AWS Lambda , and Amazon OpenSearch Service .

protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value

string[]

Remarks

Resolvers use these data sources to fetch data when clients make GraphQL calls.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html

CloudformationResource: AWS::AppSync::DataSource

Mixin: true

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.CfnPropertyMixins.AWS.AppSync;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnDataSourcePropsMixin = new CfnDataSourcePropsMixin(new CfnDataSourceMixinProps {
                 ApiId = "apiId",
                 Description = "description",
                 DynamoDbConfig = new DynamoDBConfigProperty {
                     AwsRegion = "awsRegion",
                     DeltaSyncConfig = new DeltaSyncConfigProperty {
                         BaseTableTtl = "baseTableTtl",
                         DeltaSyncTableName = "deltaSyncTableName",
                         DeltaSyncTableTtl = "deltaSyncTableTtl"
                     },
                     TableName = "tableName",
                     UseCallerCredentials = false,
                     Versioned = false
                 },
                 ElasticsearchConfig = new ElasticsearchConfigProperty {
                     AwsRegion = "awsRegion",
                     Endpoint = "endpoint"
                 },
                 EventBridgeConfig = new EventBridgeConfigProperty {
                     EventBusArn = "eventBusArn"
                 },
                 HttpConfig = new HttpConfigProperty {
                     AuthorizationConfig = new AuthorizationConfigProperty {
                         AuthorizationType = "authorizationType",
                         AwsIamConfig = new AwsIamConfigProperty {
                             SigningRegion = "signingRegion",
                             SigningServiceName = "signingServiceName"
                         }
                     },
                     Endpoint = "endpoint"
                 },
                 LambdaConfig = new LambdaConfigProperty {
                     LambdaFunctionArn = "lambdaFunctionArn"
                 },
                 MetricsConfig = "metricsConfig",
                 Name = "name",
                 OpenSearchServiceConfig = new OpenSearchServiceConfigProperty {
                     AwsRegion = "awsRegion",
                     Endpoint = "endpoint"
                 },
                 RelationalDatabaseConfig = new RelationalDatabaseConfigProperty {
                     RdsHttpEndpointConfig = new RdsHttpEndpointConfigProperty {
                         AwsRegion = "awsRegion",
                         AwsSecretStoreArn = "awsSecretStoreArn",
                         DatabaseName = "databaseName",
                         DbClusterIdentifier = "dbClusterIdentifier",
                         Schema = "schema"
                     },
                     RelationalDatabaseSourceType = "relationalDatabaseSourceType"
                 },
                 ServiceRoleArn = "serviceRoleArn",
                 Type = "type"
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Props

The AWS::AppSync::DataSource resource creates data sources for resolvers in AWS AppSync to connect to, such as Amazon DynamoDB , AWS Lambda , and Amazon OpenSearch Service .

protected virtual ICfnDataSourceMixinProps Props { get; }
Property Value

ICfnDataSourceMixinProps

Remarks

Resolvers use these data sources to fetch data when clients make GraphQL calls.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html

CloudformationResource: AWS::AppSync::DataSource

Mixin: true

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.CfnPropertyMixins.AWS.AppSync;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnDataSourcePropsMixin = new CfnDataSourcePropsMixin(new CfnDataSourceMixinProps {
                 ApiId = "apiId",
                 Description = "description",
                 DynamoDbConfig = new DynamoDBConfigProperty {
                     AwsRegion = "awsRegion",
                     DeltaSyncConfig = new DeltaSyncConfigProperty {
                         BaseTableTtl = "baseTableTtl",
                         DeltaSyncTableName = "deltaSyncTableName",
                         DeltaSyncTableTtl = "deltaSyncTableTtl"
                     },
                     TableName = "tableName",
                     UseCallerCredentials = false,
                     Versioned = false
                 },
                 ElasticsearchConfig = new ElasticsearchConfigProperty {
                     AwsRegion = "awsRegion",
                     Endpoint = "endpoint"
                 },
                 EventBridgeConfig = new EventBridgeConfigProperty {
                     EventBusArn = "eventBusArn"
                 },
                 HttpConfig = new HttpConfigProperty {
                     AuthorizationConfig = new AuthorizationConfigProperty {
                         AuthorizationType = "authorizationType",
                         AwsIamConfig = new AwsIamConfigProperty {
                             SigningRegion = "signingRegion",
                             SigningServiceName = "signingServiceName"
                         }
                     },
                     Endpoint = "endpoint"
                 },
                 LambdaConfig = new LambdaConfigProperty {
                     LambdaFunctionArn = "lambdaFunctionArn"
                 },
                 MetricsConfig = "metricsConfig",
                 Name = "name",
                 OpenSearchServiceConfig = new OpenSearchServiceConfigProperty {
                     AwsRegion = "awsRegion",
                     Endpoint = "endpoint"
                 },
                 RelationalDatabaseConfig = new RelationalDatabaseConfigProperty {
                     RdsHttpEndpointConfig = new RdsHttpEndpointConfigProperty {
                         AwsRegion = "awsRegion",
                         AwsSecretStoreArn = "awsSecretStoreArn",
                         DatabaseName = "databaseName",
                         DbClusterIdentifier = "dbClusterIdentifier",
                         Schema = "schema"
                     },
                     RelationalDatabaseSourceType = "relationalDatabaseSourceType"
                 },
                 ServiceRoleArn = "serviceRoleArn",
                 Type = "type"
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Strategy

The AWS::AppSync::DataSource resource creates data sources for resolvers in AWS AppSync to connect to, such as Amazon DynamoDB , AWS Lambda , and Amazon OpenSearch Service .

protected virtual IMergeStrategy Strategy { get; }
Property Value

IMergeStrategy

Remarks

Resolvers use these data sources to fetch data when clients make GraphQL calls.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html

CloudformationResource: AWS::AppSync::DataSource

Mixin: true

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.CfnPropertyMixins.AWS.AppSync;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnDataSourcePropsMixin = new CfnDataSourcePropsMixin(new CfnDataSourceMixinProps {
                 ApiId = "apiId",
                 Description = "description",
                 DynamoDbConfig = new DynamoDBConfigProperty {
                     AwsRegion = "awsRegion",
                     DeltaSyncConfig = new DeltaSyncConfigProperty {
                         BaseTableTtl = "baseTableTtl",
                         DeltaSyncTableName = "deltaSyncTableName",
                         DeltaSyncTableTtl = "deltaSyncTableTtl"
                     },
                     TableName = "tableName",
                     UseCallerCredentials = false,
                     Versioned = false
                 },
                 ElasticsearchConfig = new ElasticsearchConfigProperty {
                     AwsRegion = "awsRegion",
                     Endpoint = "endpoint"
                 },
                 EventBridgeConfig = new EventBridgeConfigProperty {
                     EventBusArn = "eventBusArn"
                 },
                 HttpConfig = new HttpConfigProperty {
                     AuthorizationConfig = new AuthorizationConfigProperty {
                         AuthorizationType = "authorizationType",
                         AwsIamConfig = new AwsIamConfigProperty {
                             SigningRegion = "signingRegion",
                             SigningServiceName = "signingServiceName"
                         }
                     },
                     Endpoint = "endpoint"
                 },
                 LambdaConfig = new LambdaConfigProperty {
                     LambdaFunctionArn = "lambdaFunctionArn"
                 },
                 MetricsConfig = "metricsConfig",
                 Name = "name",
                 OpenSearchServiceConfig = new OpenSearchServiceConfigProperty {
                     AwsRegion = "awsRegion",
                     Endpoint = "endpoint"
                 },
                 RelationalDatabaseConfig = new RelationalDatabaseConfigProperty {
                     RdsHttpEndpointConfig = new RdsHttpEndpointConfigProperty {
                         AwsRegion = "awsRegion",
                         AwsSecretStoreArn = "awsSecretStoreArn",
                         DatabaseName = "databaseName",
                         DbClusterIdentifier = "dbClusterIdentifier",
                         Schema = "schema"
                     },
                     RelationalDatabaseSourceType = "relationalDatabaseSourceType"
                 },
                 ServiceRoleArn = "serviceRoleArn",
                 Type = "type"
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

public override void ApplyTo(IConstruct construct)
Parameters
construct IConstruct
Overrides
Mixin.ApplyTo(IConstruct)
Remarks

Resolvers use these data sources to fetch data when clients make GraphQL calls.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html

CloudformationResource: AWS::AppSync::DataSource

Mixin: true

ExampleMetadata: fixture=_generated

Supports(IConstruct)

Check if this mixin supports the given construct.

public override bool Supports(IConstruct construct)
Parameters
construct IConstruct
Returns

bool

Overrides
Mixin.Supports(IConstruct)
Remarks

Resolvers use these data sources to fetch data when clients make GraphQL calls.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html

CloudformationResource: AWS::AppSync::DataSource

Mixin: true

ExampleMetadata: fixture=_generated

Implements

Constructs.IMixin
Back to top Generated by DocFX