Interface IBackedDataSourceProps
(experimental) properties for an AppSync datasource backed by a resource.
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public interface IBackedDataSourceProps : IBaseDataSourceProps
Syntax (vb)
Public Interface IBackedDataSourceProps
Inherits IBaseDataSourceProps
Remarks
Stability: Experimental
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;
GraphqlApi graphqlApi;
Role role;
var backedDataSourceProps = new BackedDataSourceProps {
Api = graphqlApi,
// the properties below are optional
Description = "description",
Name = "name",
ServiceRole = role
};
Synopsis
Properties
ServiceRole | (experimental) The IAM service role to be assumed by AppSync to interact with the data source. |
Properties
ServiceRole
(experimental) The IAM service role to be assumed by AppSync to interact with the data source.
virtual IRole ServiceRole { get; }
Property Value
Remarks
Default: - Create a new role
Stability: Experimental