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