Interface IHttpDataSourceProps
Properties for an AppSync http datasource.
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IHttpDataSourceProps : IBaseDataSourceProps
Syntax (vb)
Public Interface IHttpDataSourceProps
Inherits IBaseDataSourceProps
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;
GraphqlApi graphqlApi;
var httpDataSourceProps = new HttpDataSourceProps {
Api = graphqlApi,
Endpoint = "endpoint",
// the properties below are optional
AuthorizationConfig = new AwsIamConfig {
SigningRegion = "signingRegion",
SigningServiceName = "signingServiceName"
},
Description = "description",
Name = "name"
};
Synopsis
Properties
AuthorizationConfig | The authorization config in case the HTTP endpoint requires authorization. |
Endpoint | The http endpoint. |
Properties
AuthorizationConfig
The authorization config in case the HTTP endpoint requires authorization.
virtual IAwsIamConfig AuthorizationConfig { get; }
Property Value
Remarks
Default: - none
Endpoint
The http endpoint.
string Endpoint { get; }
Property Value
System.String