Interface AppSyncHttpDataSourceProps
- All Superinterfaces:
AppSyncBackedDataSourceProps,AppSyncBaseDataSourceProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AppSyncHttpDataSourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:31.338Z")
@Stability(Stable)
public interface AppSyncHttpDataSourceProps
extends software.amazon.jsii.JsiiSerializable, AppSyncBackedDataSourceProps
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.*;
import software.amazon.awscdk.services.iam.*;
IApi api;
Role role;
AppSyncHttpDataSourceProps appSyncHttpDataSourceProps = AppSyncHttpDataSourceProps.builder()
.api(api)
.endpoint("endpoint")
// the properties below are optional
.authorizationConfig(AppSyncAwsIamConfig.builder()
.signingRegion("signingRegion")
.signingServiceName("signingServiceName")
.build())
.description("description")
.name("name")
.serviceRole(role)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAppSyncHttpDataSourcePropsstatic final classAn implementation forAppSyncHttpDataSourceProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default AppSyncAwsIamConfigThe authorization config in case the HTTP endpoint requires authorization.The http endpoint.Methods inherited from interface software.amazon.awscdk.services.appsync.AppSyncBackedDataSourceProps
getServiceRoleMethods inherited from interface software.amazon.awscdk.services.appsync.AppSyncBaseDataSourceProps
getApi, getDescription, getNameMethods 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
AppSyncHttpDataSourceProps.BuilderofAppSyncHttpDataSourceProps
-