AppSyncHttpDataSourceOptions Struct
Optional configuration for Http data sources.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appsync as appsync } from 'aws-cdk-lib';
const appSyncHttpDataSourceOptions: appsync.AppSyncHttpDataSourceOptions = {
authorizationConfig: {
signingRegion: 'signingRegion',
signingServiceName: 'signingServiceName',
},
description: 'description',
name: 'name',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appsync as appsync
app_sync_http_data_source_options = appsync.AppSyncHttpDataSourceOptions(
authorization_config=appsync.AppSyncAwsIamConfig(
signing_region="signingRegion",
signing_service_name="signingServiceName"
),
description="description",
name="name"
)
java
// 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.*;
AppSyncHttpDataSourceOptions appSyncHttpDataSourceOptions = AppSyncHttpDataSourceOptions.builder()
.authorizationConfig(AppSyncAwsIamConfig.builder()
.signingRegion("signingRegion")
.signingServiceName("signingServiceName")
.build())
.description("description")
.name("name")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var appSyncHttpDataSourceOptions = new AppSyncHttpDataSourceOptions {
AuthorizationConfig = new AppSyncAwsIamConfig {
SigningRegion = "signingRegion",
SigningServiceName = "signingServiceName"
},
Description = "description",
Name = "name"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
appSyncHttpDataSourceOptions := &AppSyncHttpDataSourceOptions{
AuthorizationConfig: &AppSyncAwsIamConfig{
SigningRegion: jsii.String("signingRegion"),
SigningServiceName: jsii.String("signingServiceName"),
},
Description: jsii.String("description"),
Name: jsii.String("name"),
}
Properties
authorizationConfigoptionalAppSyncAwsIamConfigauthorization_configoptionalAppSyncAwsIamConfigauthorizationConfigoptionalAppSyncAwsIamConfigAuthorizationConfigoptionalAppSyncAwsIamConfigAuthorizationConfigoptionalAppSyncAwsIamConfig= none#The authorization config in case the HTTP endpoint requires authorization.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#The description of the data source.
Default: No description
The name of the data source, overrides the id given by CDK.
Default: generated by CDK given the id