GraphQLApiState class
Input properties used for looking up and filtering GraphQLApi resources.
Constructors
-
GraphQLApiState({Input<
List< ? additionalAuthenticationProviders, Input<GraphQLApiAdditionalAuthenticationProvider> ?>String?> ? apiType, Input<String?> ? arn, Input<String?> ? authenticationType, Input<GraphQLApiEnhancedMetricsConfig?> ? enhancedMetricsConfig, Input<String?> ? introspectionConfig, Input<GraphQLApiLambdaAuthorizerConfig?> ? lambdaAuthorizerConfig, Input<GraphQLApiLogConfig?> ? logConfig, Input<String?> ? mergedApiExecutionRoleArn, Input<String?> ? name, Input<GraphQLApiOpenidConnectConfig?> ? openidConnectConfig, Input<int?> ? queryDepthLimit, Input<String?> ? region, Input<int?> ? resolverCountLimit, Input<String?> ? schema, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>Map< ? uris, Input<String, String> ?>GraphQLApiUserPoolConfig?> ? userPoolConfig, Input<String?> ? visibility, Input<bool?> ? xrayEnabled}) -
Creates a new GraphQLApiState.
additionalAuthenticationProvidersOne or more additional authentication providers for the GraphQL API. SeeadditionalAuthenticationProviderBlock for details.apiTypeAPI type. Valid values areGRAPHQLorMERGED. AMERGEDtype requiresmergedApiExecutionRoleArnto be set.arnARNauthenticationTypeAuthentication type. Valid values:API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDAenhancedMetricsConfigEnables and controls the enhanced metrics feature. SeeenhancedMetricsConfigBlock for details.introspectionConfigSets 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.lambdaAuthorizerConfigNested argument containing Lambda authorizer configuration. SeelambdaAuthorizerConfigBlock for details.logConfigNested argument containing logging configuration. SeelogConfigBlock for details.mergedApiExecutionRoleArnARN of the execution role whenapiTypeis set toMERGED.nameUser-supplied name for the GraphQL API.openidConnectConfigNested argument containing OpenID Connect configuration. SeeopenidConnectConfigBlock for details.queryDepthLimitMaximum 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 is0(or unspecified), which indicates there's no depth limit. If you set a limit, it can be between1and75nested levels. This field will produce a limit error if the operation falls out of bounds.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.resolverCountLimitMaximum number of resolvers that can be invoked in a single request. The default value is0(or unspecified), which will set the limit to10000. When specified, the limit value can be between1and10000. This field will produce a limit error if the operation falls out of bounds.schemaSchema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.tagsMap of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllMap of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.urisMap of URIs associated with the API E.g.,uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphqluserPoolConfigAmazon Cognito User Pool configuration. SeeuserPoolConfigBlock for details.visibilitySets the value of the GraphQL API to public (GLOBAL) or private (PRIVATE). If no value is provided, the visibility will be set toGLOBALby default. This value cannot be changed once the API has been created.xrayEnabledWhether tracing with X-ray is enabled. Defaults to false.const -
GraphQLApiState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
additionalAuthenticationProviders
→ Input<
List< ?GraphQLApiAdditionalAuthenticationProvider> ?> -
One or more additional authentication providers for the GraphQL API. See
additionalAuthenticationProviderBlock for details.final -
apiType
→ Input<
String?> ? -
API type. Valid values are
GRAPHQLorMERGED. AMERGEDtype requiresmergedApiExecutionRoleArnto be set.final -
arn
→ Input<
String?> ? -
ARN
final
-
authenticationType
→ Input<
String?> ? -
Authentication type. Valid values:
API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDAfinal -
enhancedMetricsConfig
→ Input<
GraphQLApiEnhancedMetricsConfig?> ? -
Enables and controls the enhanced metrics feature. See
enhancedMetricsConfigBlock for details.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
introspectionConfig
→ Input<
String?> ? -
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.final -
lambdaAuthorizerConfig
→ Input<
GraphQLApiLambdaAuthorizerConfig?> ? -
Nested argument containing Lambda authorizer configuration. See
lambdaAuthorizerConfigBlock for details.final -
logConfig
→ Input<
GraphQLApiLogConfig?> ? -
Nested argument containing logging configuration. See
logConfigBlock for details.final -
mergedApiExecutionRoleArn
→ Input<
String?> ? -
ARN of the execution role when
apiTypeis set toMERGED.final -
name
→ Input<
String?> ? -
User-supplied name for the GraphQL API.
final
-
openidConnectConfig
→ Input<
GraphQLApiOpenidConnectConfig?> ? -
Nested argument containing OpenID Connect configuration. See
openidConnectConfigBlock for details.final -
queryDepthLimit
→ Input<
int?> ? -
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 between1and75nested levels. This field will produce a limit error if the operation falls out of bounds.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
resolverCountLimit
→ Input<
int?> ? -
Maximum number of resolvers that can be invoked in a single request. The default value is
0(or unspecified), which will set the limit to10000. When specified, the limit value can be between1and10000. This field will produce a limit error if the operation falls out of bounds.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schema
→ Input<
String?> ? -
Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
final
-
Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.final -
uris
→ Input<
Map< ?String, String> ?> -
Map of URIs associated with the API E.g.,
uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphqlfinal -
userPoolConfig
→ Input<
GraphQLApiUserPoolConfig?> ? -
Amazon Cognito User Pool configuration. See
userPoolConfigBlock for details.final -
visibility
→ Input<
String?> ? -
Sets the value of the GraphQL API to public (
GLOBAL) or private (PRIVATE). If no value is provided, the visibility will be set toGLOBALby default. This value cannot be changed once the API has been created.final -
xrayEnabled
→ Input<
bool?> ? -
Whether tracing with X-ray is enabled. Defaults to false.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited