GraphQlApiArgs

data class GraphQlApiArgs(val additionalAuthenticationProviders: Output<List<GraphQlApiAdditionalAuthenticationProviderArgs>>? = null, val apiType: Output<String>? = null, val authenticationType: Output<String>? = null, val enhancedMetricsConfig: Output<GraphQlApiEnhancedMetricsConfigArgs>? = null, val environmentVariables: Output<Map<String, String>>? = null, val introspectionConfig: Output<String>? = null, val lambdaAuthorizerConfig: Output<GraphQlApiLambdaAuthorizerConfigArgs>? = null, val logConfig: Output<GraphQlApiLogConfigArgs>? = null, val mergedApiExecutionRoleArn: Output<String>? = null, val name: Output<String>? = null, val openIdConnectConfig: Output<GraphQlApiOpenIdConnectConfigArgs>? = null, val ownerContact: Output<String>? = null, val queryDepthLimit: Output<Int>? = null, val resolverCountLimit: Output<Int>? = null, val tags: Output<List<TagArgs>>? = null, val userPoolConfig: Output<GraphQlApiUserPoolConfigArgs>? = null, val visibility: Output<String>? = null, val xrayEnabled: Output<Boolean>? = null) : ConvertibleToJava<GraphQlApiArgs>

Resource Type definition for AWS::AppSync::GraphQLApi

Constructors

Link copied to clipboard
constructor(additionalAuthenticationProviders: Output<List<GraphQlApiAdditionalAuthenticationProviderArgs>>? = null, apiType: Output<String>? = null, authenticationType: Output<String>? = null, enhancedMetricsConfig: Output<GraphQlApiEnhancedMetricsConfigArgs>? = null, environmentVariables: Output<Map<String, String>>? = null, introspectionConfig: Output<String>? = null, lambdaAuthorizerConfig: Output<GraphQlApiLambdaAuthorizerConfigArgs>? = null, logConfig: Output<GraphQlApiLogConfigArgs>? = null, mergedApiExecutionRoleArn: Output<String>? = null, name: Output<String>? = null, openIdConnectConfig: Output<GraphQlApiOpenIdConnectConfigArgs>? = null, ownerContact: Output<String>? = null, queryDepthLimit: Output<Int>? = null, resolverCountLimit: Output<Int>? = null, tags: Output<List<TagArgs>>? = null, userPoolConfig: Output<GraphQlApiUserPoolConfigArgs>? = null, visibility: Output<String>? = null, xrayEnabled: Output<Boolean>? = null)

Properties

Link copied to clipboard

A list of additional authentication providers for the GraphqlApi API.

Link copied to clipboard
val apiType: Output<String>? = null

The value that indicates whether the GraphQL API is a standard API (GRAPHQL) or merged API (MERGED).

Link copied to clipboard
val authenticationType: Output<String>? = null

Security configuration for your GraphQL API

Link copied to clipboard

Enables and controls the enhanced metrics feature. Enhanced metrics emit granular data on API usage and performance such as AppSync request and error counts, latency, and cache hits/misses. All enhanced metric data is sent to your CloudWatch account, and you can configure the types of data that will be sent.

Link copied to clipboard
val environmentVariables: Output<Map<String, String>>? = null

A map containing the list of resources with their properties and environment variables.

Link copied to clipboard
val introspectionConfig: Output<String>? = null

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.

Link copied to clipboard

A LambdaAuthorizerConfig holds configuration on how to authorize AWS AppSync API access when using the AWS_LAMBDA authorizer mode. Be aware that an AWS AppSync API may have only one Lambda authorizer configured at a time.

Link copied to clipboard
val logConfig: Output<GraphQlApiLogConfigArgs>? = null

The Amazon CloudWatch Logs configuration.

Link copied to clipboard
val mergedApiExecutionRoleArn: Output<String>? = null

The AWS Identity and Access Management service role ARN for a merged API.

Link copied to clipboard
val name: Output<String>? = null

The API name

Link copied to clipboard

The OpenID Connect configuration.

Link copied to clipboard
val ownerContact: Output<String>? = null

The owner contact information for an API resource.

Link copied to clipboard
val queryDepthLimit: Output<Int>? = null

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.

Link copied to clipboard
val resolverCountLimit: Output<Int>? = null

The maximum number of resolvers that can be invoked in a single request.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

An arbitrary set of tags (key-value pairs) for this GraphQL API.

Link copied to clipboard

Optional authorization configuration for using Amazon Cognito user pools with your GraphQL endpoint.

Link copied to clipboard
val visibility: Output<String>? = null

Sets the scope of the GraphQL API to public (GLOBAL) or private (PRIVATE). By default, the scope is set to Global if no value is provided.

Link copied to clipboard
val xrayEnabled: Output<Boolean>? = null

A flag indicating whether to use AWS X-Ray tracing for this GraphqlApi.

Functions

Link copied to clipboard
open override fun toJava(): GraphQlApiArgs