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

Class: Aws::AppSync::Types::AuthorizationConfig

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 AuthorizationConfig data as a hash:

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

The authorization config in case the HTTP endpoint requires authorization.

Instance Attribute Summary collapse

Instance Attribute Details

#authorization_typeString

The authorization type required by the HTTP endpoint.

  • AWS_IAM: The authorization type is Sigv4.

^

Returns:

  • (String)


193
194
195
196
197
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 193

class AuthorizationConfig < Struct.new(
  :authorization_type,
  :aws_iam_config)
  include Aws::Structure
end

#aws_iam_configTypes::AwsIamConfig

The AWS IAM settings.

Returns:



193
194
195
196
197
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 193

class AuthorizationConfig < Struct.new(
  :authorization_type,
  :aws_iam_config)
  include Aws::Structure
end