Show / Hide Table of Contents

Interface IAppSyncBackedDataSourceProps

Properties for an AppSync datasource backed by a resource.

Inherited Members
IAppSyncBaseDataSourceProps.Api
IAppSyncBaseDataSourceProps.Description
IAppSyncBaseDataSourceProps.Name
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAppSyncBackedDataSourceProps : IAppSyncBaseDataSourceProps
Syntax (vb)
Public Interface IAppSyncBackedDataSourceProps Inherits IAppSyncBaseDataSourceProps
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.AWS.IAM;
            using Amazon.CDK.Interfaces.AppSync;

            IApiRef apiRef;
            Role role;

            var appSyncBackedDataSourceProps = new AppSyncBackedDataSourceProps {
                Api = apiRef,

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

Synopsis

Properties

ServiceRole

The IAM service role to be assumed by AppSync to interact with the data source.

Properties

ServiceRole

The IAM service role to be assumed by AppSync to interact with the data source.

IRole? ServiceRole { get; }
Property Value

IRole

Remarks

Default: - Create a new role

Back to top Generated by DocFX