package awsappsync


// Optional configuration for Http data sources.
//
// Example:
//   // 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"),
//   }
//
type AppSyncHttpDataSourceOptions struct {
	// The description of the data source.
	// Default: - No description.
	//
	Description *string `field:"optional" json:"description" yaml:"description"`
	// The name of the data source, overrides the id given by CDK.
	// Default: - generated by CDK given the id.
	//
	Name *string `field:"optional" json:"name" yaml:"name"`
	// The authorization config in case the HTTP endpoint requires authorization.
	// Default: - none.
	//
	AuthorizationConfig *AppSyncAwsIamConfig `field:"optional" json:"authorizationConfig" yaml:"authorizationConfig"`
}

