Graph QLApi Args
Constructors
Properties
One or more additional authentication providers for the GraphQL API. See additional_authentication_provider
Block for details.
Authentication type. Valid values: API_KEY
, AWS_IAM
, AMAZON_COGNITO_USER_POOLS
, OPENID_CONNECT
, AWS_LAMBDA
Enables and controls the enhanced metrics feature. See enhanced_metrics_config
Block for details.
Sets the value of the GraphQL API to enable (ENABLED
) or disable (DISABLED
) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled. For more information about introspection, see GraphQL introspection.
Nested argument containing Lambda authorizer configuration. See lambda_authorizer_config
Block for details.
Nested argument containing logging configuration. See log_config
Block for details.
ARN of the execution role when api_type
is set to MERGED
.
Nested argument containing OpenID Connect configuration. See openid_connect_config
Block for details.
The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. The default value is 0
(or unspecified), which indicates there's no depth limit. If you set a limit, it can be between 1
and 75
nested levels. This field will produce a limit error if the operation falls out of bounds. Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.
The maximum number of resolvers that can be invoked in a single request. The default value is 0
(or unspecified), which will set the limit to 10000
. When specified, the limit value can be between 1
and 10000
. This field will produce a limit error if the operation falls out of bounds.
Amazon Cognito User Pool configuration. See user_pool_config
Block for details.
Sets the value of the GraphQL API to public (GLOBAL
) or private (PRIVATE
). If no value is provided, the visibility will be set to GLOBAL
by default. This value cannot be changed once the API has been created.
Whether tracing with X-ray is enabled. Defaults to false.