Class GraphqlApiProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appsync.GraphqlApiProps.Jsii$Proxy
All Implemented Interfaces:
GraphqlApiProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
GraphqlApiProps

@Stability(Stable) @Internal public static final class GraphqlApiProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GraphqlApiProps
An implementation for GraphqlApiProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(GraphqlApiProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the GraphqlApiProps.Builder.
  • Method Details

    • getName

      public final String getName()
      Description copied from interface: GraphqlApiProps
      the name of the GraphQL API.
      Specified by:
      getName in interface GraphqlApiProps
    • getAuthorizationConfig

      public final AuthorizationConfig getAuthorizationConfig()
      Description copied from interface: GraphqlApiProps
      Optional authorization configuration.

      Default: - API Key authorization

      Specified by:
      getAuthorizationConfig in interface GraphqlApiProps
    • getDefinition

      public final Definition getDefinition()
      Description copied from interface: GraphqlApiProps
      Definition (schema file or source APIs) for this GraphQL Api.
      Specified by:
      getDefinition in interface GraphqlApiProps
    • getDomainName

      public final DomainOptions getDomainName()
      Description copied from interface: GraphqlApiProps
      The domain name configuration for the GraphQL API.

      The Route 53 hosted zone and CName DNS record must be configured in addition to this setting to enable custom domain URL

      Default: - no domain name

      Specified by:
      getDomainName in interface GraphqlApiProps
    • getEnvironmentVariables

      public final Map<String,String> getEnvironmentVariables()
      Description copied from interface: GraphqlApiProps
      A map containing the list of resources with their properties and environment variables.

      There are a few rules you must follow when creating keys and values:

      • Keys must begin with a letter.
      • Keys must be between 2 and 64 characters long.
      • Keys can only contain letters, numbers, and the underscore character (_).
      • Values can be up to 512 characters long.
      • You can configure up to 50 key-value pairs in a GraphQL API.

      Default: - No environment variables.

      Specified by:
      getEnvironmentVariables in interface GraphqlApiProps
    • getIntrospectionConfig

      public final IntrospectionConfig getIntrospectionConfig()
      Description copied from interface: GraphqlApiProps
      A value indicating whether the API to enable (ENABLED) or disable (DISABLED) introspection.

      Default: IntrospectionConfig.ENABLED

      Specified by:
      getIntrospectionConfig in interface GraphqlApiProps
    • getLogConfig

      public final LogConfig getLogConfig()
      Description copied from interface: GraphqlApiProps
      Logging configuration for this api.

      Default: - None

      Specified by:
      getLogConfig in interface GraphqlApiProps
    • getQueryDepthLimit

      public final Number getQueryDepthLimit()
      Description copied from interface: GraphqlApiProps
      A number indicating the maximum depth resolvers should be accepted when handling queries.

      Value must be withing range of 0 to 75

      Default: - The default value is 0 (or unspecified) which indicates no maximum depth.

      Specified by:
      getQueryDepthLimit in interface GraphqlApiProps
    • getResolverCountLimit

      public final Number getResolverCountLimit()
      Description copied from interface: GraphqlApiProps
      A number indicating the maximum number of resolvers that should be accepted when handling queries.

      Value must be withing range of 0 to 10000

      Default: - The default value is 0 (or unspecified), which will set the limit to 10000

      Specified by:
      getResolverCountLimit in interface GraphqlApiProps
    • getSchema

      public final ISchema getSchema()
      Description copied from interface: GraphqlApiProps
      (deprecated) GraphQL schema definition. Specify how you want to define your schema.

      SchemaFile.fromAsset(filePath: string) allows schema definition through schema.graphql file

      Default: - schema will be generated code-first (i.e. addType, addObjectType, etc.)

      Specified by:
      getSchema in interface GraphqlApiProps
    • getVisibility

      public final Visibility getVisibility()
      Description copied from interface: GraphqlApiProps
      A value indicating whether the API is accessible from anywhere (GLOBAL) or can only be access from a VPC (PRIVATE).

      Default: - GLOBAL

      Specified by:
      getVisibility in interface GraphqlApiProps
    • getXrayEnabled

      public final Boolean getXrayEnabled()
      Description copied from interface: GraphqlApiProps
      A flag indicating whether or not X-Ray tracing is enabled for the GraphQL API.

      Default: - false

      Specified by:
      getXrayEnabled in interface GraphqlApiProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object