GraphQLApiState constructor

const GraphQLApiState({
  1. Input<List<GraphQLApiAdditionalAuthenticationProvider>?>? additionalAuthenticationProviders,
  2. Input<String?>? apiType,
  3. Input<String?>? arn,
  4. Input<String?>? authenticationType,
  5. Input<GraphQLApiEnhancedMetricsConfig?>? enhancedMetricsConfig,
  6. Input<String?>? introspectionConfig,
  7. Input<GraphQLApiLambdaAuthorizerConfig?>? lambdaAuthorizerConfig,
  8. Input<GraphQLApiLogConfig?>? logConfig,
  9. Input<String?>? mergedApiExecutionRoleArn,
  10. Input<String?>? name,
  11. Input<GraphQLApiOpenidConnectConfig?>? openidConnectConfig,
  12. Input<int?>? queryDepthLimit,
  13. Input<String?>? region,
  14. Input<int?>? resolverCountLimit,
  15. Input<String?>? schema,
  16. Input<Map<String, String>?>? tags,
  17. Input<Map<String, String>?>? tagsAll,
  18. Input<Map<String, String>?>? uris,
  19. Input<GraphQLApiUserPoolConfig?>? userPoolConfig,
  20. Input<String?>? visibility,
  21. Input<bool?>? xrayEnabled,
})

Creates a new GraphQLApiState. additionalAuthenticationProviders One or more additional authentication providers for the GraphQL API. See additionalAuthenticationProvider Block for details. apiType API type. Valid values are GRAPHQL or MERGED. A MERGED type requires mergedApiExecutionRoleArn to be set. arn ARN authenticationType Authentication type. Valid values: API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA enhancedMetricsConfig Enables and controls the enhanced metrics feature. See enhancedMetricsConfig Block for details. introspectionConfig 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. lambdaAuthorizerConfig Nested argument containing Lambda authorizer configuration. See lambdaAuthorizerConfig Block for details. logConfig Nested argument containing logging configuration. See logConfig Block for details. mergedApiExecutionRoleArn ARN of the execution role when apiType is set to MERGED. name User-supplied name for the GraphQL API. openidConnectConfig Nested argument containing OpenID Connect configuration. See openidConnectConfig Block for details. queryDepthLimit 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. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. resolverCountLimit 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. schema Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration. tags Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. uris Map of URIs associated with the API E.g., uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql userPoolConfig Amazon Cognito User Pool configuration. See userPoolConfig Block for details. visibility 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. xrayEnabled Whether tracing with X-ray is enabled. Defaults to false.

Implementation

const GraphQLApiState({
  this.additionalAuthenticationProviders,
  this.apiType,
  this.arn,
  this.authenticationType,
  this.enhancedMetricsConfig,
  this.introspectionConfig,
  this.lambdaAuthorizerConfig,
  this.logConfig,
  this.mergedApiExecutionRoleArn,
  this.name,
  this.openidConnectConfig,
  this.queryDepthLimit,
  this.region,
  this.resolverCountLimit,
  this.schema,
  this.tags,
  this.tagsAll,
  this.uris,
  this.userPoolConfig,
  this.visibility,
  this.xrayEnabled,
});