aws.appsync.GraphQLApi
Explore with Pulumi AI
Create GraphQLApi Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GraphQLApi(name: string, args: GraphQLApiArgs, opts?: CustomResourceOptions);@overload
def GraphQLApi(resource_name: str,
               args: GraphQLApiArgs,
               opts: Optional[ResourceOptions] = None)
@overload
def GraphQLApi(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               authentication_type: Optional[str] = None,
               name: Optional[str] = None,
               merged_api_execution_role_arn: Optional[str] = None,
               enhanced_metrics_config: Optional[GraphQLApiEnhancedMetricsConfigArgs] = None,
               introspection_config: Optional[str] = None,
               openid_connect_config: Optional[GraphQLApiOpenidConnectConfigArgs] = None,
               log_config: Optional[GraphQLApiLogConfigArgs] = None,
               api_type: Optional[str] = None,
               additional_authentication_providers: Optional[Sequence[GraphQLApiAdditionalAuthenticationProviderArgs]] = None,
               lambda_authorizer_config: Optional[GraphQLApiLambdaAuthorizerConfigArgs] = None,
               query_depth_limit: Optional[int] = None,
               resolver_count_limit: Optional[int] = None,
               schema: Optional[str] = None,
               tags: Optional[Mapping[str, str]] = None,
               user_pool_config: Optional[GraphQLApiUserPoolConfigArgs] = None,
               visibility: Optional[str] = None,
               xray_enabled: Optional[bool] = None)func NewGraphQLApi(ctx *Context, name string, args GraphQLApiArgs, opts ...ResourceOption) (*GraphQLApi, error)public GraphQLApi(string name, GraphQLApiArgs args, CustomResourceOptions? opts = null)
public GraphQLApi(String name, GraphQLApiArgs args)
public GraphQLApi(String name, GraphQLApiArgs args, CustomResourceOptions options)
type: aws:appsync:GraphQLApi
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GraphQLApiArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GraphQLApiArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GraphQLApiArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GraphQLApiArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GraphQLApiArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var graphQLApiResource = new Aws.AppSync.GraphQLApi("graphQLApiResource", new()
{
    AuthenticationType = "string",
    Name = "string",
    MergedApiExecutionRoleArn = "string",
    EnhancedMetricsConfig = new Aws.AppSync.Inputs.GraphQLApiEnhancedMetricsConfigArgs
    {
        DataSourceLevelMetricsBehavior = "string",
        OperationLevelMetricsConfig = "string",
        ResolverLevelMetricsBehavior = "string",
    },
    IntrospectionConfig = "string",
    OpenidConnectConfig = new Aws.AppSync.Inputs.GraphQLApiOpenidConnectConfigArgs
    {
        Issuer = "string",
        AuthTtl = 0,
        ClientId = "string",
        IatTtl = 0,
    },
    LogConfig = new Aws.AppSync.Inputs.GraphQLApiLogConfigArgs
    {
        CloudwatchLogsRoleArn = "string",
        FieldLogLevel = "string",
        ExcludeVerboseContent = false,
    },
    ApiType = "string",
    AdditionalAuthenticationProviders = new[]
    {
        new Aws.AppSync.Inputs.GraphQLApiAdditionalAuthenticationProviderArgs
        {
            AuthenticationType = "string",
            LambdaAuthorizerConfig = new Aws.AppSync.Inputs.GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs
            {
                AuthorizerUri = "string",
                AuthorizerResultTtlInSeconds = 0,
                IdentityValidationExpression = "string",
            },
            OpenidConnectConfig = new Aws.AppSync.Inputs.GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs
            {
                Issuer = "string",
                AuthTtl = 0,
                ClientId = "string",
                IatTtl = 0,
            },
            UserPoolConfig = new Aws.AppSync.Inputs.GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs
            {
                UserPoolId = "string",
                AppIdClientRegex = "string",
                AwsRegion = "string",
            },
        },
    },
    LambdaAuthorizerConfig = new Aws.AppSync.Inputs.GraphQLApiLambdaAuthorizerConfigArgs
    {
        AuthorizerUri = "string",
        AuthorizerResultTtlInSeconds = 0,
        IdentityValidationExpression = "string",
    },
    QueryDepthLimit = 0,
    ResolverCountLimit = 0,
    Schema = "string",
    Tags = 
    {
        { "string", "string" },
    },
    UserPoolConfig = new Aws.AppSync.Inputs.GraphQLApiUserPoolConfigArgs
    {
        DefaultAction = "string",
        UserPoolId = "string",
        AppIdClientRegex = "string",
        AwsRegion = "string",
    },
    Visibility = "string",
    XrayEnabled = false,
});
example, err := appsync.NewGraphQLApi(ctx, "graphQLApiResource", &appsync.GraphQLApiArgs{
	AuthenticationType:        pulumi.String("string"),
	Name:                      pulumi.String("string"),
	MergedApiExecutionRoleArn: pulumi.String("string"),
	EnhancedMetricsConfig: &appsync.GraphQLApiEnhancedMetricsConfigArgs{
		DataSourceLevelMetricsBehavior: pulumi.String("string"),
		OperationLevelMetricsConfig:    pulumi.String("string"),
		ResolverLevelMetricsBehavior:   pulumi.String("string"),
	},
	IntrospectionConfig: pulumi.String("string"),
	OpenidConnectConfig: &appsync.GraphQLApiOpenidConnectConfigArgs{
		Issuer:   pulumi.String("string"),
		AuthTtl:  pulumi.Int(0),
		ClientId: pulumi.String("string"),
		IatTtl:   pulumi.Int(0),
	},
	LogConfig: &appsync.GraphQLApiLogConfigArgs{
		CloudwatchLogsRoleArn: pulumi.String("string"),
		FieldLogLevel:         pulumi.String("string"),
		ExcludeVerboseContent: pulumi.Bool(false),
	},
	ApiType: pulumi.String("string"),
	AdditionalAuthenticationProviders: appsync.GraphQLApiAdditionalAuthenticationProviderArray{
		&appsync.GraphQLApiAdditionalAuthenticationProviderArgs{
			AuthenticationType: pulumi.String("string"),
			LambdaAuthorizerConfig: &appsync.GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs{
				AuthorizerUri:                pulumi.String("string"),
				AuthorizerResultTtlInSeconds: pulumi.Int(0),
				IdentityValidationExpression: pulumi.String("string"),
			},
			OpenidConnectConfig: &appsync.GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs{
				Issuer:   pulumi.String("string"),
				AuthTtl:  pulumi.Int(0),
				ClientId: pulumi.String("string"),
				IatTtl:   pulumi.Int(0),
			},
			UserPoolConfig: &appsync.GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs{
				UserPoolId:       pulumi.String("string"),
				AppIdClientRegex: pulumi.String("string"),
				AwsRegion:        pulumi.String("string"),
			},
		},
	},
	LambdaAuthorizerConfig: &appsync.GraphQLApiLambdaAuthorizerConfigArgs{
		AuthorizerUri:                pulumi.String("string"),
		AuthorizerResultTtlInSeconds: pulumi.Int(0),
		IdentityValidationExpression: pulumi.String("string"),
	},
	QueryDepthLimit:    pulumi.Int(0),
	ResolverCountLimit: pulumi.Int(0),
	Schema:             pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	UserPoolConfig: &appsync.GraphQLApiUserPoolConfigArgs{
		DefaultAction:    pulumi.String("string"),
		UserPoolId:       pulumi.String("string"),
		AppIdClientRegex: pulumi.String("string"),
		AwsRegion:        pulumi.String("string"),
	},
	Visibility:  pulumi.String("string"),
	XrayEnabled: pulumi.Bool(false),
})
var graphQLApiResource = new GraphQLApi("graphQLApiResource", GraphQLApiArgs.builder()
    .authenticationType("string")
    .name("string")
    .mergedApiExecutionRoleArn("string")
    .enhancedMetricsConfig(GraphQLApiEnhancedMetricsConfigArgs.builder()
        .dataSourceLevelMetricsBehavior("string")
        .operationLevelMetricsConfig("string")
        .resolverLevelMetricsBehavior("string")
        .build())
    .introspectionConfig("string")
    .openidConnectConfig(GraphQLApiOpenidConnectConfigArgs.builder()
        .issuer("string")
        .authTtl(0)
        .clientId("string")
        .iatTtl(0)
        .build())
    .logConfig(GraphQLApiLogConfigArgs.builder()
        .cloudwatchLogsRoleArn("string")
        .fieldLogLevel("string")
        .excludeVerboseContent(false)
        .build())
    .apiType("string")
    .additionalAuthenticationProviders(GraphQLApiAdditionalAuthenticationProviderArgs.builder()
        .authenticationType("string")
        .lambdaAuthorizerConfig(GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs.builder()
            .authorizerUri("string")
            .authorizerResultTtlInSeconds(0)
            .identityValidationExpression("string")
            .build())
        .openidConnectConfig(GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs.builder()
            .issuer("string")
            .authTtl(0)
            .clientId("string")
            .iatTtl(0)
            .build())
        .userPoolConfig(GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs.builder()
            .userPoolId("string")
            .appIdClientRegex("string")
            .awsRegion("string")
            .build())
        .build())
    .lambdaAuthorizerConfig(GraphQLApiLambdaAuthorizerConfigArgs.builder()
        .authorizerUri("string")
        .authorizerResultTtlInSeconds(0)
        .identityValidationExpression("string")
        .build())
    .queryDepthLimit(0)
    .resolverCountLimit(0)
    .schema("string")
    .tags(Map.of("string", "string"))
    .userPoolConfig(GraphQLApiUserPoolConfigArgs.builder()
        .defaultAction("string")
        .userPoolId("string")
        .appIdClientRegex("string")
        .awsRegion("string")
        .build())
    .visibility("string")
    .xrayEnabled(false)
    .build());
graph_ql_api_resource = aws.appsync.GraphQLApi("graphQLApiResource",
    authentication_type="string",
    name="string",
    merged_api_execution_role_arn="string",
    enhanced_metrics_config={
        "data_source_level_metrics_behavior": "string",
        "operation_level_metrics_config": "string",
        "resolver_level_metrics_behavior": "string",
    },
    introspection_config="string",
    openid_connect_config={
        "issuer": "string",
        "auth_ttl": 0,
        "client_id": "string",
        "iat_ttl": 0,
    },
    log_config={
        "cloudwatch_logs_role_arn": "string",
        "field_log_level": "string",
        "exclude_verbose_content": False,
    },
    api_type="string",
    additional_authentication_providers=[{
        "authentication_type": "string",
        "lambda_authorizer_config": {
            "authorizer_uri": "string",
            "authorizer_result_ttl_in_seconds": 0,
            "identity_validation_expression": "string",
        },
        "openid_connect_config": {
            "issuer": "string",
            "auth_ttl": 0,
            "client_id": "string",
            "iat_ttl": 0,
        },
        "user_pool_config": {
            "user_pool_id": "string",
            "app_id_client_regex": "string",
            "aws_region": "string",
        },
    }],
    lambda_authorizer_config={
        "authorizer_uri": "string",
        "authorizer_result_ttl_in_seconds": 0,
        "identity_validation_expression": "string",
    },
    query_depth_limit=0,
    resolver_count_limit=0,
    schema="string",
    tags={
        "string": "string",
    },
    user_pool_config={
        "default_action": "string",
        "user_pool_id": "string",
        "app_id_client_regex": "string",
        "aws_region": "string",
    },
    visibility="string",
    xray_enabled=False)
const graphQLApiResource = new aws.appsync.GraphQLApi("graphQLApiResource", {
    authenticationType: "string",
    name: "string",
    mergedApiExecutionRoleArn: "string",
    enhancedMetricsConfig: {
        dataSourceLevelMetricsBehavior: "string",
        operationLevelMetricsConfig: "string",
        resolverLevelMetricsBehavior: "string",
    },
    introspectionConfig: "string",
    openidConnectConfig: {
        issuer: "string",
        authTtl: 0,
        clientId: "string",
        iatTtl: 0,
    },
    logConfig: {
        cloudwatchLogsRoleArn: "string",
        fieldLogLevel: "string",
        excludeVerboseContent: false,
    },
    apiType: "string",
    additionalAuthenticationProviders: [{
        authenticationType: "string",
        lambdaAuthorizerConfig: {
            authorizerUri: "string",
            authorizerResultTtlInSeconds: 0,
            identityValidationExpression: "string",
        },
        openidConnectConfig: {
            issuer: "string",
            authTtl: 0,
            clientId: "string",
            iatTtl: 0,
        },
        userPoolConfig: {
            userPoolId: "string",
            appIdClientRegex: "string",
            awsRegion: "string",
        },
    }],
    lambdaAuthorizerConfig: {
        authorizerUri: "string",
        authorizerResultTtlInSeconds: 0,
        identityValidationExpression: "string",
    },
    queryDepthLimit: 0,
    resolverCountLimit: 0,
    schema: "string",
    tags: {
        string: "string",
    },
    userPoolConfig: {
        defaultAction: "string",
        userPoolId: "string",
        appIdClientRegex: "string",
        awsRegion: "string",
    },
    visibility: "string",
    xrayEnabled: false,
});
type: aws:appsync:GraphQLApi
properties:
    additionalAuthenticationProviders:
        - authenticationType: string
          lambdaAuthorizerConfig:
            authorizerResultTtlInSeconds: 0
            authorizerUri: string
            identityValidationExpression: string
          openidConnectConfig:
            authTtl: 0
            clientId: string
            iatTtl: 0
            issuer: string
          userPoolConfig:
            appIdClientRegex: string
            awsRegion: string
            userPoolId: string
    apiType: string
    authenticationType: string
    enhancedMetricsConfig:
        dataSourceLevelMetricsBehavior: string
        operationLevelMetricsConfig: string
        resolverLevelMetricsBehavior: string
    introspectionConfig: string
    lambdaAuthorizerConfig:
        authorizerResultTtlInSeconds: 0
        authorizerUri: string
        identityValidationExpression: string
    logConfig:
        cloudwatchLogsRoleArn: string
        excludeVerboseContent: false
        fieldLogLevel: string
    mergedApiExecutionRoleArn: string
    name: string
    openidConnectConfig:
        authTtl: 0
        clientId: string
        iatTtl: 0
        issuer: string
    queryDepthLimit: 0
    resolverCountLimit: 0
    schema: string
    tags:
        string: string
    userPoolConfig:
        appIdClientRegex: string
        awsRegion: string
        defaultAction: string
        userPoolId: string
    visibility: string
    xrayEnabled: false
GraphQLApi Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GraphQLApi resource accepts the following input properties:
- AuthenticationType string
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- AdditionalAuthentication List<GraphProviders QLApi Additional Authentication Provider> 
- One or more additional authentication providers for the GraphQL API. See additional_authentication_providerBlock for details.
- ApiType string
- API type. Valid values are GRAPHQLorMERGED. AMERGEDtype requiresmerged_api_execution_role_arnto be set.
- EnhancedMetrics GraphConfig QLApi Enhanced Metrics Config 
- Enables and controls the enhanced metrics feature. See enhanced_metrics_configBlock for details.
- IntrospectionConfig 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.
- 
GraphQLApi Lambda Authorizer Config 
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- LogConfig GraphQLApi Log Config 
- Nested argument containing logging configuration. See log_configBlock for details.
- MergedApi stringExecution Role Arn 
- ARN of the execution role when api_typeis set toMERGED.
- Name string
- User-supplied name for the GraphQL API. - The following arguments are optional: 
- OpenidConnect GraphConfig QLApi Openid Connect Config 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- QueryDepth intLimit 
- 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- 1and- 75nested 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. 
- ResolverCount intLimit 
- 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 to10000. When specified, the limit value can be between1and10000. This field will produce a limit error if the operation falls out of bounds.
- Schema string
- Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
- Dictionary<string, string>
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- UserPool GraphConfig QLApi User Pool Config 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- Visibility 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.
- XrayEnabled bool
- Whether tracing with X-ray is enabled. Defaults to false.
- AuthenticationType string
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- AdditionalAuthentication []GraphProviders QLApi Additional Authentication Provider Args 
- One or more additional authentication providers for the GraphQL API. See additional_authentication_providerBlock for details.
- ApiType string
- API type. Valid values are GRAPHQLorMERGED. AMERGEDtype requiresmerged_api_execution_role_arnto be set.
- EnhancedMetrics GraphConfig QLApi Enhanced Metrics Config Args 
- Enables and controls the enhanced metrics feature. See enhanced_metrics_configBlock for details.
- IntrospectionConfig 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.
- 
GraphQLApi Lambda Authorizer Config Args 
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- LogConfig GraphQLApi Log Config Args 
- Nested argument containing logging configuration. See log_configBlock for details.
- MergedApi stringExecution Role Arn 
- ARN of the execution role when api_typeis set toMERGED.
- Name string
- User-supplied name for the GraphQL API. - The following arguments are optional: 
- OpenidConnect GraphConfig QLApi Openid Connect Config Args 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- QueryDepth intLimit 
- 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- 1and- 75nested 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. 
- ResolverCount intLimit 
- 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 to10000. When specified, the limit value can be between1and10000. This field will produce a limit error if the operation falls out of bounds.
- Schema string
- Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
- map[string]string
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- UserPool GraphConfig QLApi User Pool Config Args 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- Visibility 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.
- XrayEnabled bool
- Whether tracing with X-ray is enabled. Defaults to false.
- authenticationType String
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- additionalAuthentication List<GraphProviders QLApi Additional Authentication Provider> 
- One or more additional authentication providers for the GraphQL API. See additional_authentication_providerBlock for details.
- apiType String
- API type. Valid values are GRAPHQLorMERGED. AMERGEDtype requiresmerged_api_execution_role_arnto be set.
- enhancedMetrics GraphConfig QLApi Enhanced Metrics Config 
- Enables and controls the enhanced metrics feature. See enhanced_metrics_configBlock for details.
- introspectionConfig 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.
- 
GraphQLApi Lambda Authorizer Config 
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- logConfig GraphQLApi Log Config 
- Nested argument containing logging configuration. See log_configBlock for details.
- mergedApi StringExecution Role Arn 
- ARN of the execution role when api_typeis set toMERGED.
- name String
- User-supplied name for the GraphQL API. - The following arguments are optional: 
- openidConnect GraphConfig QLApi Openid Connect Config 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- queryDepth IntegerLimit 
- 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- 1and- 75nested 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. 
- resolverCount IntegerLimit 
- 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 to10000. When specified, the limit value can be between1and10000. This field will produce a limit error if the operation falls out of bounds.
- schema String
- Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
- Map<String,String>
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- userPool GraphConfig QLApi User Pool Config 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- visibility 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.
- xrayEnabled Boolean
- Whether tracing with X-ray is enabled. Defaults to false.
- authenticationType string
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- additionalAuthentication GraphProviders QLApi Additional Authentication Provider[] 
- One or more additional authentication providers for the GraphQL API. See additional_authentication_providerBlock for details.
- apiType string
- API type. Valid values are GRAPHQLorMERGED. AMERGEDtype requiresmerged_api_execution_role_arnto be set.
- enhancedMetrics GraphConfig QLApi Enhanced Metrics Config 
- Enables and controls the enhanced metrics feature. See enhanced_metrics_configBlock for details.
- introspectionConfig 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.
- 
GraphQLApi Lambda Authorizer Config 
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- logConfig GraphQLApi Log Config 
- Nested argument containing logging configuration. See log_configBlock for details.
- mergedApi stringExecution Role Arn 
- ARN of the execution role when api_typeis set toMERGED.
- name string
- User-supplied name for the GraphQL API. - The following arguments are optional: 
- openidConnect GraphConfig QLApi Openid Connect Config 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- queryDepth numberLimit 
- 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- 1and- 75nested 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. 
- resolverCount numberLimit 
- 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 to10000. When specified, the limit value can be between1and10000. This field will produce a limit error if the operation falls out of bounds.
- schema string
- Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
- {[key: string]: string}
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- userPool GraphConfig QLApi User Pool Config 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- visibility 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.
- xrayEnabled boolean
- Whether tracing with X-ray is enabled. Defaults to false.
- authentication_type str
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- additional_authentication_ Sequence[Graphproviders QLApi Additional Authentication Provider Args] 
- One or more additional authentication providers for the GraphQL API. See additional_authentication_providerBlock for details.
- api_type str
- API type. Valid values are GRAPHQLorMERGED. AMERGEDtype requiresmerged_api_execution_role_arnto be set.
- enhanced_metrics_ Graphconfig QLApi Enhanced Metrics Config Args 
- Enables and controls the enhanced metrics feature. See enhanced_metrics_configBlock for details.
- introspection_config str
- 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.
- 
GraphQLApi Lambda Authorizer Config Args 
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- log_config GraphQLApi Log Config Args 
- Nested argument containing logging configuration. See log_configBlock for details.
- merged_api_ strexecution_ role_ arn 
- ARN of the execution role when api_typeis set toMERGED.
- name str
- User-supplied name for the GraphQL API. - The following arguments are optional: 
- openid_connect_ Graphconfig QLApi Openid Connect Config Args 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- query_depth_ intlimit 
- 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- 1and- 75nested 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. 
- resolver_count_ intlimit 
- 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 to10000. When specified, the limit value can be between1and10000. This field will produce a limit error if the operation falls out of bounds.
- schema str
- Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
- Mapping[str, str]
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- user_pool_ Graphconfig QLApi User Pool Config Args 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- visibility str
- 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.
- xray_enabled bool
- Whether tracing with X-ray is enabled. Defaults to false.
- authenticationType String
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- additionalAuthentication List<Property Map>Providers 
- One or more additional authentication providers for the GraphQL API. See additional_authentication_providerBlock for details.
- apiType String
- API type. Valid values are GRAPHQLorMERGED. AMERGEDtype requiresmerged_api_execution_role_arnto be set.
- enhancedMetrics Property MapConfig 
- Enables and controls the enhanced metrics feature. See enhanced_metrics_configBlock for details.
- introspectionConfig 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.
- Property Map
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- logConfig Property Map
- Nested argument containing logging configuration. See log_configBlock for details.
- mergedApi StringExecution Role Arn 
- ARN of the execution role when api_typeis set toMERGED.
- name String
- User-supplied name for the GraphQL API. - The following arguments are optional: 
- openidConnect Property MapConfig 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- queryDepth NumberLimit 
- 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- 1and- 75nested 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. 
- resolverCount NumberLimit 
- 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 to10000. When specified, the limit value can be between1and10000. This field will produce a limit error if the operation falls out of bounds.
- schema String
- Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
- Map<String>
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- userPool Property MapConfig 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- visibility 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.
- xrayEnabled Boolean
- Whether tracing with X-ray is enabled. Defaults to false.
Outputs
All input properties are implicitly available as output properties. Additionally, the GraphQLApi resource produces the following output properties:
- Arn string
- ARN
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Uris Dictionary<string, string>
- Map of URIs associated with the API E.g., uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql
- Arn string
- ARN
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Uris map[string]string
- Map of URIs associated with the API E.g., uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql
- arn String
- ARN
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- uris Map<String,String>
- Map of URIs associated with the API E.g., uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql
- arn string
- ARN
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- uris {[key: string]: string}
- Map of URIs associated with the API E.g., uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql
- arn str
- ARN
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- uris Mapping[str, str]
- Map of URIs associated with the API E.g., uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql
- arn String
- ARN
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- uris Map<String>
- Map of URIs associated with the API E.g., uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql
Look up Existing GraphQLApi Resource
Get an existing GraphQLApi resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GraphQLApiState, opts?: CustomResourceOptions): GraphQLApi@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        additional_authentication_providers: Optional[Sequence[GraphQLApiAdditionalAuthenticationProviderArgs]] = None,
        api_type: Optional[str] = None,
        arn: Optional[str] = None,
        authentication_type: Optional[str] = None,
        enhanced_metrics_config: Optional[GraphQLApiEnhancedMetricsConfigArgs] = None,
        introspection_config: Optional[str] = None,
        lambda_authorizer_config: Optional[GraphQLApiLambdaAuthorizerConfigArgs] = None,
        log_config: Optional[GraphQLApiLogConfigArgs] = None,
        merged_api_execution_role_arn: Optional[str] = None,
        name: Optional[str] = None,
        openid_connect_config: Optional[GraphQLApiOpenidConnectConfigArgs] = None,
        query_depth_limit: Optional[int] = None,
        resolver_count_limit: Optional[int] = None,
        schema: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        uris: Optional[Mapping[str, str]] = None,
        user_pool_config: Optional[GraphQLApiUserPoolConfigArgs] = None,
        visibility: Optional[str] = None,
        xray_enabled: Optional[bool] = None) -> GraphQLApifunc GetGraphQLApi(ctx *Context, name string, id IDInput, state *GraphQLApiState, opts ...ResourceOption) (*GraphQLApi, error)public static GraphQLApi Get(string name, Input<string> id, GraphQLApiState? state, CustomResourceOptions? opts = null)public static GraphQLApi get(String name, Output<String> id, GraphQLApiState state, CustomResourceOptions options)resources:  _:    type: aws:appsync:GraphQLApi    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AdditionalAuthentication List<GraphProviders QLApi Additional Authentication Provider> 
- One or more additional authentication providers for the GraphQL API. See additional_authentication_providerBlock for details.
- ApiType string
- API type. Valid values are GRAPHQLorMERGED. AMERGEDtype requiresmerged_api_execution_role_arnto be set.
- Arn string
- ARN
- AuthenticationType string
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- EnhancedMetrics GraphConfig QLApi Enhanced Metrics Config 
- Enables and controls the enhanced metrics feature. See enhanced_metrics_configBlock for details.
- IntrospectionConfig 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.
- 
GraphQLApi Lambda Authorizer Config 
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- LogConfig GraphQLApi Log Config 
- Nested argument containing logging configuration. See log_configBlock for details.
- MergedApi stringExecution Role Arn 
- ARN of the execution role when api_typeis set toMERGED.
- Name string
- User-supplied name for the GraphQL API. - The following arguments are optional: 
- OpenidConnect GraphConfig QLApi Openid Connect Config 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- QueryDepth intLimit 
- 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- 1and- 75nested 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. 
- ResolverCount intLimit 
- 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 to10000. When specified, the limit value can be between1and10000. This field will produce a limit error if the operation falls out of bounds.
- Schema string
- Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
- Dictionary<string, string>
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Uris Dictionary<string, string>
- Map of URIs associated with the API E.g., uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql
- UserPool GraphConfig QLApi User Pool Config 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- Visibility 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.
- XrayEnabled bool
- Whether tracing with X-ray is enabled. Defaults to false.
- AdditionalAuthentication []GraphProviders QLApi Additional Authentication Provider Args 
- One or more additional authentication providers for the GraphQL API. See additional_authentication_providerBlock for details.
- ApiType string
- API type. Valid values are GRAPHQLorMERGED. AMERGEDtype requiresmerged_api_execution_role_arnto be set.
- Arn string
- ARN
- AuthenticationType string
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- EnhancedMetrics GraphConfig QLApi Enhanced Metrics Config Args 
- Enables and controls the enhanced metrics feature. See enhanced_metrics_configBlock for details.
- IntrospectionConfig 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.
- 
GraphQLApi Lambda Authorizer Config Args 
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- LogConfig GraphQLApi Log Config Args 
- Nested argument containing logging configuration. See log_configBlock for details.
- MergedApi stringExecution Role Arn 
- ARN of the execution role when api_typeis set toMERGED.
- Name string
- User-supplied name for the GraphQL API. - The following arguments are optional: 
- OpenidConnect GraphConfig QLApi Openid Connect Config Args 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- QueryDepth intLimit 
- 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- 1and- 75nested 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. 
- ResolverCount intLimit 
- 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 to10000. When specified, the limit value can be between1and10000. This field will produce a limit error if the operation falls out of bounds.
- Schema string
- Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
- map[string]string
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Uris map[string]string
- Map of URIs associated with the API E.g., uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql
- UserPool GraphConfig QLApi User Pool Config Args 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- Visibility 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.
- XrayEnabled bool
- Whether tracing with X-ray is enabled. Defaults to false.
- additionalAuthentication List<GraphProviders QLApi Additional Authentication Provider> 
- One or more additional authentication providers for the GraphQL API. See additional_authentication_providerBlock for details.
- apiType String
- API type. Valid values are GRAPHQLorMERGED. AMERGEDtype requiresmerged_api_execution_role_arnto be set.
- arn String
- ARN
- authenticationType String
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- enhancedMetrics GraphConfig QLApi Enhanced Metrics Config 
- Enables and controls the enhanced metrics feature. See enhanced_metrics_configBlock for details.
- introspectionConfig 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.
- 
GraphQLApi Lambda Authorizer Config 
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- logConfig GraphQLApi Log Config 
- Nested argument containing logging configuration. See log_configBlock for details.
- mergedApi StringExecution Role Arn 
- ARN of the execution role when api_typeis set toMERGED.
- name String
- User-supplied name for the GraphQL API. - The following arguments are optional: 
- openidConnect GraphConfig QLApi Openid Connect Config 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- queryDepth IntegerLimit 
- 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- 1and- 75nested 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. 
- resolverCount IntegerLimit 
- 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 to10000. When specified, the limit value can be between1and10000. This field will produce a limit error if the operation falls out of bounds.
- schema String
- Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
- Map<String,String>
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- uris Map<String,String>
- Map of URIs associated with the API E.g., uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql
- userPool GraphConfig QLApi User Pool Config 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- visibility 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.
- xrayEnabled Boolean
- Whether tracing with X-ray is enabled. Defaults to false.
- additionalAuthentication GraphProviders QLApi Additional Authentication Provider[] 
- One or more additional authentication providers for the GraphQL API. See additional_authentication_providerBlock for details.
- apiType string
- API type. Valid values are GRAPHQLorMERGED. AMERGEDtype requiresmerged_api_execution_role_arnto be set.
- arn string
- ARN
- authenticationType string
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- enhancedMetrics GraphConfig QLApi Enhanced Metrics Config 
- Enables and controls the enhanced metrics feature. See enhanced_metrics_configBlock for details.
- introspectionConfig 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.
- 
GraphQLApi Lambda Authorizer Config 
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- logConfig GraphQLApi Log Config 
- Nested argument containing logging configuration. See log_configBlock for details.
- mergedApi stringExecution Role Arn 
- ARN of the execution role when api_typeis set toMERGED.
- name string
- User-supplied name for the GraphQL API. - The following arguments are optional: 
- openidConnect GraphConfig QLApi Openid Connect Config 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- queryDepth numberLimit 
- 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- 1and- 75nested 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. 
- resolverCount numberLimit 
- 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 to10000. When specified, the limit value can be between1and10000. This field will produce a limit error if the operation falls out of bounds.
- schema string
- Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
- {[key: string]: string}
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- uris {[key: string]: string}
- Map of URIs associated with the API E.g., uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql
- userPool GraphConfig QLApi User Pool Config 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- visibility 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.
- xrayEnabled boolean
- Whether tracing with X-ray is enabled. Defaults to false.
- additional_authentication_ Sequence[Graphproviders QLApi Additional Authentication Provider Args] 
- One or more additional authentication providers for the GraphQL API. See additional_authentication_providerBlock for details.
- api_type str
- API type. Valid values are GRAPHQLorMERGED. AMERGEDtype requiresmerged_api_execution_role_arnto be set.
- arn str
- ARN
- authentication_type str
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- enhanced_metrics_ Graphconfig QLApi Enhanced Metrics Config Args 
- Enables and controls the enhanced metrics feature. See enhanced_metrics_configBlock for details.
- introspection_config str
- 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.
- 
GraphQLApi Lambda Authorizer Config Args 
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- log_config GraphQLApi Log Config Args 
- Nested argument containing logging configuration. See log_configBlock for details.
- merged_api_ strexecution_ role_ arn 
- ARN of the execution role when api_typeis set toMERGED.
- name str
- User-supplied name for the GraphQL API. - The following arguments are optional: 
- openid_connect_ Graphconfig QLApi Openid Connect Config Args 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- query_depth_ intlimit 
- 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- 1and- 75nested 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. 
- resolver_count_ intlimit 
- 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 to10000. When specified, the limit value can be between1and10000. This field will produce a limit error if the operation falls out of bounds.
- schema str
- Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
- Mapping[str, str]
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- uris Mapping[str, str]
- Map of URIs associated with the API E.g., uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql
- user_pool_ Graphconfig QLApi User Pool Config Args 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- visibility str
- 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.
- xray_enabled bool
- Whether tracing with X-ray is enabled. Defaults to false.
- additionalAuthentication List<Property Map>Providers 
- One or more additional authentication providers for the GraphQL API. See additional_authentication_providerBlock for details.
- apiType String
- API type. Valid values are GRAPHQLorMERGED. AMERGEDtype requiresmerged_api_execution_role_arnto be set.
- arn String
- ARN
- authenticationType String
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- enhancedMetrics Property MapConfig 
- Enables and controls the enhanced metrics feature. See enhanced_metrics_configBlock for details.
- introspectionConfig 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.
- Property Map
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- logConfig Property Map
- Nested argument containing logging configuration. See log_configBlock for details.
- mergedApi StringExecution Role Arn 
- ARN of the execution role when api_typeis set toMERGED.
- name String
- User-supplied name for the GraphQL API. - The following arguments are optional: 
- openidConnect Property MapConfig 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- queryDepth NumberLimit 
- 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- 1and- 75nested 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. 
- resolverCount NumberLimit 
- 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 to10000. When specified, the limit value can be between1and10000. This field will produce a limit error if the operation falls out of bounds.
- schema String
- Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
- Map<String>
- Map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- uris Map<String>
- Map of URIs associated with the API E.g., uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql
- userPool Property MapConfig 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- visibility 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.
- xrayEnabled Boolean
- Whether tracing with X-ray is enabled. Defaults to false.
Supporting Types
GraphQLApiAdditionalAuthenticationProvider, GraphQLApiAdditionalAuthenticationProviderArgs          
- AuthenticationType string
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- 
GraphQLApi Additional Authentication Provider Lambda Authorizer Config 
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- OpenidConnect GraphConfig QLApi Additional Authentication Provider Openid Connect Config 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- UserPool GraphConfig QLApi Additional Authentication Provider User Pool Config 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- AuthenticationType string
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- 
GraphQLApi Additional Authentication Provider Lambda Authorizer Config 
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- OpenidConnect GraphConfig QLApi Additional Authentication Provider Openid Connect Config 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- UserPool GraphConfig QLApi Additional Authentication Provider User Pool Config 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- authenticationType String
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- 
GraphQLApi Additional Authentication Provider Lambda Authorizer Config 
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- openidConnect GraphConfig QLApi Additional Authentication Provider Openid Connect Config 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- userPool GraphConfig QLApi Additional Authentication Provider User Pool Config 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- authenticationType string
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- 
GraphQLApi Additional Authentication Provider Lambda Authorizer Config 
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- openidConnect GraphConfig QLApi Additional Authentication Provider Openid Connect Config 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- userPool GraphConfig QLApi Additional Authentication Provider User Pool Config 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- authentication_type str
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- 
GraphQLApi Additional Authentication Provider Lambda Authorizer Config 
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- openid_connect_ Graphconfig QLApi Additional Authentication Provider Openid Connect Config 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- user_pool_ Graphconfig QLApi Additional Authentication Provider User Pool Config 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
- authenticationType String
- Authentication type. Valid values: API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA
- Property Map
- Nested argument containing Lambda authorizer configuration. See lambda_authorizer_configBlock for details.
- openidConnect Property MapConfig 
- Nested argument containing OpenID Connect configuration. See openid_connect_configBlock for details.
- userPool Property MapConfig 
- Amazon Cognito User Pool configuration. See user_pool_configBlock for details.
GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig, GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs                
- string
- ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunctionfrom service principalappsync.amazonaws.com.
- int
- Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverridekey in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
- IdentityValidation stringExpression 
- Regular expression for validation of tokens before the Lambda function is called.
- string
- ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunctionfrom service principalappsync.amazonaws.com.
- int
- Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverridekey in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
- IdentityValidation stringExpression 
- Regular expression for validation of tokens before the Lambda function is called.
- String
- ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunctionfrom service principalappsync.amazonaws.com.
- Integer
- Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverridekey in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
- identityValidation StringExpression 
- Regular expression for validation of tokens before the Lambda function is called.
- string
- ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunctionfrom service principalappsync.amazonaws.com.
- number
- Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverridekey in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
- identityValidation stringExpression 
- Regular expression for validation of tokens before the Lambda function is called.
- str
- ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunctionfrom service principalappsync.amazonaws.com.
- int
- Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverridekey in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
- identity_validation_ strexpression 
- Regular expression for validation of tokens before the Lambda function is called.
- String
- ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunctionfrom service principalappsync.amazonaws.com.
- Number
- Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverridekey in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
- identityValidation StringExpression 
- Regular expression for validation of tokens before the Lambda function is called.
GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfig, GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs                
- Issuer string
- Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
- AuthTtl int
- Number of milliseconds a token is valid after being authenticated.
- ClientId string
- Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
- IatTtl int
- Number of milliseconds a token is valid after being issued to a user.
- Issuer string
- Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
- AuthTtl int
- Number of milliseconds a token is valid after being authenticated.
- ClientId string
- Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
- IatTtl int
- Number of milliseconds a token is valid after being issued to a user.
- issuer String
- Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
- authTtl Integer
- Number of milliseconds a token is valid after being authenticated.
- clientId String
- Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
- iatTtl Integer
- Number of milliseconds a token is valid after being issued to a user.
- issuer string
- Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
- authTtl number
- Number of milliseconds a token is valid after being authenticated.
- clientId string
- Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
- iatTtl number
- Number of milliseconds a token is valid after being issued to a user.
- issuer str
- Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
- auth_ttl int
- Number of milliseconds a token is valid after being authenticated.
- client_id str
- Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
- iat_ttl int
- Number of milliseconds a token is valid after being issued to a user.
- issuer String
- Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
- authTtl Number
- Number of milliseconds a token is valid after being authenticated.
- clientId String
- Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
- iatTtl Number
- Number of milliseconds a token is valid after being issued to a user.
GraphQLApiAdditionalAuthenticationProviderUserPoolConfig, GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs                
- UserPool stringId 
- User pool ID.
- AppId stringClient Regex 
- Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
- AwsRegion string
- AWS region in which the user pool was created.
- UserPool stringId 
- User pool ID.
- AppId stringClient Regex 
- Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
- AwsRegion string
- AWS region in which the user pool was created.
- userPool StringId 
- User pool ID.
- appId StringClient Regex 
- Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
- awsRegion String
- AWS region in which the user pool was created.
- userPool stringId 
- User pool ID.
- appId stringClient Regex 
- Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
- awsRegion string
- AWS region in which the user pool was created.
- user_pool_ strid 
- User pool ID.
- app_id_ strclient_ regex 
- Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
- aws_region str
- AWS region in which the user pool was created.
- userPool StringId 
- User pool ID.
- appId StringClient Regex 
- Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
- awsRegion String
- AWS region in which the user pool was created.
GraphQLApiEnhancedMetricsConfig, GraphQLApiEnhancedMetricsConfigArgs          
- DataSource stringLevel Metrics Behavior 
- How data source metrics will be emitted to CloudWatch. Valid values: FULL_REQUEST_DATA_SOURCE_METRICS,PER_DATA_SOURCE_METRICS
- OperationLevel stringMetrics Config 
- How operation metrics will be emitted to CloudWatch. Valid values: ENABLED,DISABLED
- ResolverLevel stringMetrics Behavior 
- How resolver metrics will be emitted to CloudWatch. Valid values: FULL_REQUEST_RESOLVER_METRICS,PER_RESOLVER_METRICS
- DataSource stringLevel Metrics Behavior 
- How data source metrics will be emitted to CloudWatch. Valid values: FULL_REQUEST_DATA_SOURCE_METRICS,PER_DATA_SOURCE_METRICS
- OperationLevel stringMetrics Config 
- How operation metrics will be emitted to CloudWatch. Valid values: ENABLED,DISABLED
- ResolverLevel stringMetrics Behavior 
- How resolver metrics will be emitted to CloudWatch. Valid values: FULL_REQUEST_RESOLVER_METRICS,PER_RESOLVER_METRICS
- dataSource StringLevel Metrics Behavior 
- How data source metrics will be emitted to CloudWatch. Valid values: FULL_REQUEST_DATA_SOURCE_METRICS,PER_DATA_SOURCE_METRICS
- operationLevel StringMetrics Config 
- How operation metrics will be emitted to CloudWatch. Valid values: ENABLED,DISABLED
- resolverLevel StringMetrics Behavior 
- How resolver metrics will be emitted to CloudWatch. Valid values: FULL_REQUEST_RESOLVER_METRICS,PER_RESOLVER_METRICS
- dataSource stringLevel Metrics Behavior 
- How data source metrics will be emitted to CloudWatch. Valid values: FULL_REQUEST_DATA_SOURCE_METRICS,PER_DATA_SOURCE_METRICS
- operationLevel stringMetrics Config 
- How operation metrics will be emitted to CloudWatch. Valid values: ENABLED,DISABLED
- resolverLevel stringMetrics Behavior 
- How resolver metrics will be emitted to CloudWatch. Valid values: FULL_REQUEST_RESOLVER_METRICS,PER_RESOLVER_METRICS
- data_source_ strlevel_ metrics_ behavior 
- How data source metrics will be emitted to CloudWatch. Valid values: FULL_REQUEST_DATA_SOURCE_METRICS,PER_DATA_SOURCE_METRICS
- operation_level_ strmetrics_ config 
- How operation metrics will be emitted to CloudWatch. Valid values: ENABLED,DISABLED
- resolver_level_ strmetrics_ behavior 
- How resolver metrics will be emitted to CloudWatch. Valid values: FULL_REQUEST_RESOLVER_METRICS,PER_RESOLVER_METRICS
- dataSource StringLevel Metrics Behavior 
- How data source metrics will be emitted to CloudWatch. Valid values: FULL_REQUEST_DATA_SOURCE_METRICS,PER_DATA_SOURCE_METRICS
- operationLevel StringMetrics Config 
- How operation metrics will be emitted to CloudWatch. Valid values: ENABLED,DISABLED
- resolverLevel StringMetrics Behavior 
- How resolver metrics will be emitted to CloudWatch. Valid values: FULL_REQUEST_RESOLVER_METRICS,PER_RESOLVER_METRICS
GraphQLApiLambdaAuthorizerConfig, GraphQLApiLambdaAuthorizerConfigArgs          
- string
- ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunctionfrom service principalappsync.amazonaws.com.
- int
- Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverridekey in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
- IdentityValidation stringExpression 
- Regular expression for validation of tokens before the Lambda function is called.
- string
- ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunctionfrom service principalappsync.amazonaws.com.
- int
- Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverridekey in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
- IdentityValidation stringExpression 
- Regular expression for validation of tokens before the Lambda function is called.
- String
- ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunctionfrom service principalappsync.amazonaws.com.
- Integer
- Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverridekey in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
- identityValidation StringExpression 
- Regular expression for validation of tokens before the Lambda function is called.
- string
- ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunctionfrom service principalappsync.amazonaws.com.
- number
- Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverridekey in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
- identityValidation stringExpression 
- Regular expression for validation of tokens before the Lambda function is called.
- str
- ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunctionfrom service principalappsync.amazonaws.com.
- int
- Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverridekey in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
- identity_validation_ strexpression 
- Regular expression for validation of tokens before the Lambda function is called.
- String
- ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunctionfrom service principalappsync.amazonaws.com.
- Number
- Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverridekey in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
- identityValidation StringExpression 
- Regular expression for validation of tokens before the Lambda function is called.
GraphQLApiLogConfig, GraphQLApiLogConfigArgs        
- CloudwatchLogs stringRole Arn 
- Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
- FieldLog stringLevel 
- Field logging level. Valid values: ALL,ERROR,NONE.
- ExcludeVerbose boolContent 
- Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. Valid values: true,false. Default value:false
- CloudwatchLogs stringRole Arn 
- Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
- FieldLog stringLevel 
- Field logging level. Valid values: ALL,ERROR,NONE.
- ExcludeVerbose boolContent 
- Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. Valid values: true,false. Default value:false
- cloudwatchLogs StringRole Arn 
- Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
- fieldLog StringLevel 
- Field logging level. Valid values: ALL,ERROR,NONE.
- excludeVerbose BooleanContent 
- Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. Valid values: true,false. Default value:false
- cloudwatchLogs stringRole Arn 
- Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
- fieldLog stringLevel 
- Field logging level. Valid values: ALL,ERROR,NONE.
- excludeVerbose booleanContent 
- Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. Valid values: true,false. Default value:false
- cloudwatch_logs_ strrole_ arn 
- Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
- field_log_ strlevel 
- Field logging level. Valid values: ALL,ERROR,NONE.
- exclude_verbose_ boolcontent 
- Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. Valid values: true,false. Default value:false
- cloudwatchLogs StringRole Arn 
- Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
- fieldLog StringLevel 
- Field logging level. Valid values: ALL,ERROR,NONE.
- excludeVerbose BooleanContent 
- Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. Valid values: true,false. Default value:false
GraphQLApiOpenidConnectConfig, GraphQLApiOpenidConnectConfigArgs          
- Issuer string
- Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
- AuthTtl int
- Number of milliseconds a token is valid after being authenticated.
- ClientId string
- Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
- IatTtl int
- Number of milliseconds a token is valid after being issued to a user.
- Issuer string
- Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
- AuthTtl int
- Number of milliseconds a token is valid after being authenticated.
- ClientId string
- Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
- IatTtl int
- Number of milliseconds a token is valid after being issued to a user.
- issuer String
- Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
- authTtl Integer
- Number of milliseconds a token is valid after being authenticated.
- clientId String
- Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
- iatTtl Integer
- Number of milliseconds a token is valid after being issued to a user.
- issuer string
- Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
- authTtl number
- Number of milliseconds a token is valid after being authenticated.
- clientId string
- Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
- iatTtl number
- Number of milliseconds a token is valid after being issued to a user.
- issuer str
- Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
- auth_ttl int
- Number of milliseconds a token is valid after being authenticated.
- client_id str
- Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
- iat_ttl int
- Number of milliseconds a token is valid after being issued to a user.
- issuer String
- Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
- authTtl Number
- Number of milliseconds a token is valid after being authenticated.
- clientId String
- Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
- iatTtl Number
- Number of milliseconds a token is valid after being issued to a user.
GraphQLApiUserPoolConfig, GraphQLApiUserPoolConfigArgs          
- DefaultAction string
- Action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: ALLOWandDENY
- UserPool stringId 
- User pool ID.
- AppId stringClient Regex 
- Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
- AwsRegion string
- AWS region in which the user pool was created.
- DefaultAction string
- Action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: ALLOWandDENY
- UserPool stringId 
- User pool ID.
- AppId stringClient Regex 
- Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
- AwsRegion string
- AWS region in which the user pool was created.
- defaultAction String
- Action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: ALLOWandDENY
- userPool StringId 
- User pool ID.
- appId StringClient Regex 
- Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
- awsRegion String
- AWS region in which the user pool was created.
- defaultAction string
- Action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: ALLOWandDENY
- userPool stringId 
- User pool ID.
- appId stringClient Regex 
- Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
- awsRegion string
- AWS region in which the user pool was created.
- default_action str
- Action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: ALLOWandDENY
- user_pool_ strid 
- User pool ID.
- app_id_ strclient_ regex 
- Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
- aws_region str
- AWS region in which the user pool was created.
- defaultAction String
- Action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: ALLOWandDENY
- userPool StringId 
- User pool ID.
- appId StringClient Regex 
- Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
- awsRegion String
- AWS region in which the user pool was created.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.