Interface HttpDataSourceProps
- All Superinterfaces:
BaseDataSourceProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpDataSourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:11.517Z")
@Stability(Stable)
public interface HttpDataSourceProps
extends software.amazon.jsii.JsiiSerializable, BaseDataSourceProps
Properties for an AppSync http datasource.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appsync.*; GraphqlApi graphqlApi; HttpDataSourceProps httpDataSourceProps = HttpDataSourceProps.builder() .api(graphqlApi) .endpoint("endpoint") // the properties below are optional .authorizationConfig(AwsIamConfig.builder() .signingRegion("signingRegion") .signingServiceName("signingServiceName") .build()) .description("description") .name("name") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forHttpDataSourceProps
static final class
An implementation forHttpDataSourceProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpDataSourceProps.Builder
builder()
default AwsIamConfig
The authorization config in case the HTTP endpoint requires authorization.The http endpoint.Methods inherited from interface software.amazon.awscdk.services.appsync.BaseDataSourceProps
getApi, getDescription, getName
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEndpoint
The http endpoint. -
getAuthorizationConfig
The authorization config in case the HTTP endpoint requires authorization.Default: - none
-
builder
- Returns:
- a
HttpDataSourceProps.Builder
ofHttpDataSourceProps
-