You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::AppSync::Types::HttpDataSourceConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb

Overview

Note:

When making an API call, you may pass HttpDataSourceConfig data as a hash:

{
  endpoint: "String",
  authorization_config: {
    authorization_type: "AWS_IAM", # required, accepts AWS_IAM
    aws_iam_config: {
      signing_region: "String",
      signing_service_name: "String",
    },
  },
}

Describes an HTTP data source configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#authorization_configTypes::AuthorizationConfig

The authorization config in case the HTTP endpoint requires authorization.



1459
1460
1461
1462
1463
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1459

class HttpDataSourceConfig < Struct.new(
  :endpoint,
  :authorization_config)
  include Aws::Structure
end

#endpointString

The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified, AWS AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.

Returns:

  • (String)


1459
1460
1461
1462
1463
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1459

class HttpDataSourceConfig < Struct.new(
  :endpoint,
  :authorization_config)
  include Aws::Structure
end