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.

Constant Summary collapse

SENSITIVE =
[]

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)


296
297
298
299
300
301
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 296

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

#aws_iam_configTypes::AwsIamConfig

The AWS IAM settings.

Returns:



296
297
298
299
300
301
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 296

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