import * as core from "@terrascript/core"; export interface LogConfigArgs extends core.SchemaArgs { cloudwatchLogsRoleArn: string | core.StringOut; excludeVerboseContent?: boolean | core.BooleanOut; fieldLogLevel: string | core.StringOut; } export declare class LogConfig extends core.Schema { cloudwatchLogsRoleArn: string | core.StringOut; excludeVerboseContent?: boolean | core.BooleanOut; fieldLogLevel: string | core.StringOut; } export interface UserPoolConfigArgs extends core.SchemaArgs { appIdClientRegex?: string | core.StringOut; awsRegion?: string | core.StringOut; defaultAction: string | core.StringOut; userPoolId: string | core.StringOut; } export declare class UserPoolConfig extends core.Schema { appIdClientRegex?: string | core.StringOut; awsRegion?: string | core.StringOut; defaultAction: string | core.StringOut; userPoolId: string | core.StringOut; } export interface OpenidConnectConfigArgs extends core.SchemaArgs { authTtl?: number | core.NumberOut; clientId?: string | core.StringOut; iatTtl?: number | core.NumberOut; issuer: string | core.StringOut; } export declare class OpenidConnectConfig extends core.Schema { authTtl?: number | core.NumberOut; clientId?: string | core.StringOut; iatTtl?: number | core.NumberOut; issuer: string | core.StringOut; } export interface LambdaAuthorizerConfigArgs extends core.SchemaArgs { authorizerResultTtlInSeconds?: number | core.NumberOut; authorizerUri: string | core.StringOut; identityValidationExpression?: string | core.StringOut; } export declare class LambdaAuthorizerConfig extends core.Schema { authorizerResultTtlInSeconds?: number | core.NumberOut; authorizerUri: string | core.StringOut; identityValidationExpression?: string | core.StringOut; } export interface AdditionalAuthenticationProviderUserPoolConfigArgs extends core.SchemaArgs { appIdClientRegex?: string | core.StringOut; awsRegion?: string | core.StringOut; userPoolId: string | core.StringOut; } export declare class AdditionalAuthenticationProviderUserPoolConfig extends core.Schema { appIdClientRegex?: string | core.StringOut; awsRegion?: string | core.StringOut; userPoolId: string | core.StringOut; } export interface AdditionalAuthenticationProviderArgs extends core.SchemaArgs { authenticationType: string | core.StringOut; lambdaAuthorizerConfig?: LambdaAuthorizerConfig; openidConnectConfig?: OpenidConnectConfig; userPoolConfig?: AdditionalAuthenticationProviderUserPoolConfig; } export declare class AdditionalAuthenticationProvider extends core.Schema { authenticationType: string | core.StringOut; lambdaAuthorizerConfig?: LambdaAuthorizerConfig; openidConnectConfig?: OpenidConnectConfig; userPoolConfig?: AdditionalAuthenticationProviderUserPoolConfig; } export interface GraphqlApiArgs extends core.ResourceArgs { /** * (Optional) One or more additional authentication providers for the GraphqlApi. Defined below. */ additionalAuthenticationProvider?: core.Array | core.ArrayOut; /** * (Required) The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, * OPENID_CONNECT`, `AWS_LAMBDA` */ authenticationType: string | core.StringOut; /** * (Optional) Nested argument containing Lambda authorizer configuration. Defined below. */ lambdaAuthorizerConfig?: LambdaAuthorizerConfig; /** * (Optional) Nested argument containing logging configuration. Defined below. */ logConfig?: LogConfig; /** * (Required) A user-supplied name for the GraphqlApi. */ name: string | core.StringOut; /** * (Optional) Nested argument containing OpenID Connect configuration. Defined below. */ openidConnectConfig?: OpenidConnectConfig; /** * (Optional) The schema definition, in GraphQL schema language format. Terraform cannot perform drift * detection of this configuration. */ schema?: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * (Optional) The Amazon Cognito User Pool configuration. Defined below. */ userPoolConfig?: UserPoolConfig; /** * (Optional) Whether tracing with X-ray is enabled. Defaults to false. */ xrayEnabled?: boolean | core.BooleanOut; } export declare class GraphqlApi extends core.Resource { /** * (Optional) One or more additional authentication providers for the GraphqlApi. Defined below. */ additionalAuthenticationProvider?: core.Array | core.ArrayOut; /** * The ARN */ arn: string | core.StringOut; /** * (Required) The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, * OPENID_CONNECT`, `AWS_LAMBDA` */ authenticationType: string | core.StringOut; /** * API ID */ id: string | core.StringOut; /** * (Optional) Nested argument containing Lambda authorizer configuration. Defined below. */ lambdaAuthorizerConfig?: LambdaAuthorizerConfig; /** * (Optional) Nested argument containing logging configuration. Defined below. */ logConfig?: LogConfig; /** * (Required) A user-supplied name for the GraphqlApi. */ name: string | core.StringOut; /** * (Optional) Nested argument containing OpenID Connect configuration. Defined below. */ openidConnectConfig?: OpenidConnectConfig; /** * (Optional) The schema definition, in GraphQL schema language format. Terraform cannot perform drift * detection of this configuration. */ schema?: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * Map of URIs associated with the APIE.g., `uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws. * com/graphql` */ uris: core.Map | core.MapOut; /** * (Optional) The Amazon Cognito User Pool configuration. Defined below. */ userPoolConfig?: UserPoolConfig; /** * (Optional) Whether tracing with X-ray is enabled. Defaults to false. */ xrayEnabled?: boolean | core.BooleanOut; constructor(name: string, args?: GraphqlApiArgs); getNamespace(): string; } //# sourceMappingURL=graphql_api.d.ts.map