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

Class: Aws::AppSync::Types::CreateGraphqlApiRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateGraphqlApiRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "String", # required
  log_config: {
    field_log_level: "NONE", # required, accepts NONE, ERROR, ALL
    cloud_watch_logs_role_arn: "String", # required
  },
  authentication_type: "API_KEY", # required, accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
  user_pool_config: {
    user_pool_id: "String", # required
    aws_region: "String", # required
    default_action: "ALLOW", # required, accepts ALLOW, DENY
    app_id_client_regex: "String",
  },
  open_id_connect_config: {
    issuer: "String", # required
    client_id: "String",
    iat_ttl: 1,
    auth_ttl: 1,
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_typeString

The authentication type: API key, IAM, or Amazon Cognito User Pools.

Possible values:

  • API_KEY
  • AWS_IAM
  • AMAZON_COGNITO_USER_POOLS
  • OPENID_CONNECT

Returns:

  • (String)

    The authentication type: API key, IAM, or Amazon Cognito User Pools.

#log_configTypes::LogConfig

The Amazon CloudWatch logs configuration.

Returns:

#nameString

A user-supplied name for the GraphqlApi.

Returns:

  • (String)

    A user-supplied name for the GraphqlApi.

#open_id_connect_configTypes::OpenIDConnectConfig

The Open Id Connect configuration configuration.

Returns:

#user_pool_configTypes::UserPoolConfig

The Amazon Cognito User Pool configuration.

Returns: