Interface HttpDataSourceProps
- All Superinterfaces:
BackedDataSourceProps,BaseDataSourceProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpDataSourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:45.501Z")
@Stability(Stable)
public interface HttpDataSourceProps
extends software.amazon.jsii.JsiiSerializable, BackedDataSourceProps
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.*;
GraphqlApi graphqlApi;
Role role;
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")
.serviceRole(role)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHttpDataSourcePropsstatic final classAn implementation forHttpDataSourceProps -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpDataSourceProps.Builderbuilder()default AwsIamConfigThe authorization config in case the HTTP endpoint requires authorization.The http endpoint.Methods inherited from interface software.amazon.awscdk.services.appsync.BackedDataSourceProps
getServiceRoleMethods inherited from interface software.amazon.awscdk.services.appsync.BaseDataSourceProps
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
HttpDataSourceProps.BuilderofHttpDataSourceProps
-