Interface HttpDataSourceProps
- All Superinterfaces:
BackedDataSourceProps
,BaseDataSourceProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpDataSourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-06T22:15:49.733Z")
@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 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.BackedDataSourceProps
getServiceRole
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
-