Class HttpDataSourceProps
(experimental) Properties for an AppSync http datasource.
Inheritance
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public class HttpDataSourceProps : Object, IHttpDataSourceProps, IBaseDataSourceProps
Syntax (vb)
Public Class HttpDataSourceProps
Inherits Object
Implements IHttpDataSourceProps, 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;
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
Constructors
HttpDataSourceProps() |
Properties
Api | (experimental) The API to attach this data source to. |
AuthorizationConfig | (experimental) The authorization config in case the HTTP endpoint requires authorization. |
Description | (experimental) the description of the data source. |
Endpoint | (experimental) The http endpoint. |
Name | (experimental) The name of the data source. |
Constructors
HttpDataSourceProps()
public HttpDataSourceProps()
Properties
Api
(experimental) The API to attach this data source to.
public IGraphqlApi Api { get; set; }
Property Value
Remarks
Stability: Experimental
AuthorizationConfig
(experimental) The authorization config in case the HTTP endpoint requires authorization.
public IAwsIamConfig AuthorizationConfig { get; set; }
Property Value
Remarks
Default: - none
Stability: Experimental
Description
(experimental) the description of the data source.
public string Description { get; set; }
Property Value
System.String
Remarks
Default: - None
Stability: Experimental
Endpoint
(experimental) The http endpoint.
public string Endpoint { get; set; }
Property Value
System.String
Remarks
Stability: Experimental
Name
(experimental) The name of the data source.
public string Name { get; set; }
Property Value
System.String
Remarks
Default: - id of data source
Stability: Experimental