Show / Hide Table of Contents

Class AppSyncOpenSearchDataSource

An Appsync datasource backed by OpenSearch.

Inheritance
object
AppSyncBaseDataSource
AppSyncBackedDataSource
AppSyncOpenSearchDataSource
Implements
IGrantable
Inherited Members
AppSyncBackedDataSource.GrantPrincipal
AppSyncBaseDataSource.Name
AppSyncBaseDataSource.Resource
AppSyncBaseDataSource.Api
AppSyncBaseDataSource.ServiceRole
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AppSyncOpenSearchDataSource : AppSyncBackedDataSource, IGrantable
Syntax (vb)
Public Class AppSyncOpenSearchDataSource Inherits AppSyncBackedDataSource Implements IGrantable
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.OpenSearchService;


            var domain = new Domain(this, "Domain", new DomainProps {
                Version = EngineVersion.OPENSEARCH_2_17,
                EncryptionAtRest = new EncryptionAtRestOptions {
                    Enabled = true
                },
                NodeToNodeEncryption = true,
                EnforceHttps = true,
                Capacity = new CapacityConfig {
                    MultiAzWithStandbyEnabled = false
                },
                Ebs = new EbsOptions {
                    Enabled = true,
                    VolumeSize = 10
                }
            });
            var api = new EventApi(this, "EventApiOpenSearch", new EventApiProps {
                ApiName = "OpenSearchEventApi"
            });

            var dataSource = api.AddOpenSearchDataSource("opensearchds", domain);

Synopsis

Constructors

AppSyncOpenSearchDataSource(Construct, string, IAppSyncOpenSearchDataSourceProps)

An Appsync datasource backed by OpenSearch.

Constructors

AppSyncOpenSearchDataSource(Construct, string, IAppSyncOpenSearchDataSourceProps)

An Appsync datasource backed by OpenSearch.

public AppSyncOpenSearchDataSource(Construct scope, string id, IAppSyncOpenSearchDataSourceProps props)
Parameters
scope Construct
id string
props IAppSyncOpenSearchDataSourceProps
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.OpenSearchService;


            var domain = new Domain(this, "Domain", new DomainProps {
                Version = EngineVersion.OPENSEARCH_2_17,
                EncryptionAtRest = new EncryptionAtRestOptions {
                    Enabled = true
                },
                NodeToNodeEncryption = true,
                EnforceHttps = true,
                Capacity = new CapacityConfig {
                    MultiAzWithStandbyEnabled = false
                },
                Ebs = new EbsOptions {
                    Enabled = true,
                    VolumeSize = 10
                }
            });
            var api = new EventApi(this, "EventApiOpenSearch", new EventApiProps {
                ApiName = "OpenSearchEventApi"
            });

            var dataSource = api.AddOpenSearchDataSource("opensearchds", domain);

Implements

IGrantable
Back to top Generated by DocFX