Class CfnResolverProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnResolverProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnResolverProps
An implementation for CfnResolverProps
  • 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(CfnResolverProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnResolverProps.Builder.
  • Method Details

    • getApiId

      public final String getApiId()
      Description copied from interface: CfnResolverProps
      The AWS AppSync GraphQL API to which you want to attach this resolver.
      Specified by:
      getApiId in interface CfnResolverProps
    • getFieldName

      public final String getFieldName()
      Description copied from interface: CfnResolverProps
      The GraphQL field on a type that invokes the resolver.
      Specified by:
      getFieldName in interface CfnResolverProps
    • getTypeName

      public final String getTypeName()
      Description copied from interface: CfnResolverProps
      The GraphQL type that invokes this resolver.
      Specified by:
      getTypeName in interface CfnResolverProps
    • getCachingConfig

      public final Object getCachingConfig()
      Description copied from interface: CfnResolverProps
      The caching configuration for the resolver.
      Specified by:
      getCachingConfig in interface CfnResolverProps
    • getCode

      public final String getCode()
      Description copied from interface: CfnResolverProps
      The resolver code that contains the request and response functions.

      When code is used, the runtime is required. The runtime value must be APPSYNC_JS .

      Specified by:
      getCode in interface CfnResolverProps
    • getCodeS3Location

      public final String getCodeS3Location()
      Description copied from interface: CfnResolverProps
      The Amazon S3 endpoint.
      Specified by:
      getCodeS3Location in interface CfnResolverProps
    • getDataSourceName

      public final String getDataSourceName()
      Description copied from interface: CfnResolverProps
      The resolver data source name.
      Specified by:
      getDataSourceName in interface CfnResolverProps
    • getKind

      public final String getKind()
      Description copied from interface: CfnResolverProps
      The resolver type.

      • UNIT : A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
      • PIPELINE : A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
      Specified by:
      getKind in interface CfnResolverProps
    • getMaxBatchSize

      public final Number getMaxBatchSize()
      Description copied from interface: CfnResolverProps
      The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.
      Specified by:
      getMaxBatchSize in interface CfnResolverProps
    • getPipelineConfig

      public final Object getPipelineConfig()
      Description copied from interface: CfnResolverProps
      Functions linked with the pipeline resolver.
      Specified by:
      getPipelineConfig in interface CfnResolverProps
    • getRequestMappingTemplate

      public final String getRequestMappingTemplate()
      Description copied from interface: CfnResolverProps
      The request mapping template.

      Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.

      Specified by:
      getRequestMappingTemplate in interface CfnResolverProps
    • getRequestMappingTemplateS3Location

      public final String getRequestMappingTemplateS3Location()
      Description copied from interface: CfnResolverProps
      The location of a request mapping template in an Amazon S3 bucket.

      Use this if you want to provision with a template file in Amazon S3 rather than embedding it in your CloudFormation template.

      Specified by:
      getRequestMappingTemplateS3Location in interface CfnResolverProps
    • getResponseMappingTemplate

      public final String getResponseMappingTemplate()
      Description copied from interface: CfnResolverProps
      The response mapping template.
      Specified by:
      getResponseMappingTemplate in interface CfnResolverProps
    • getResponseMappingTemplateS3Location

      public final String getResponseMappingTemplateS3Location()
      Description copied from interface: CfnResolverProps
      The location of a response mapping template in an Amazon S3 bucket.

      Use this if you want to provision with a template file in Amazon S3 rather than embedding it in your CloudFormation template.

      Specified by:
      getResponseMappingTemplateS3Location in interface CfnResolverProps
    • getRuntime

      public final Object getRuntime()
      Description copied from interface: CfnResolverProps
      Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function.

      Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.

      Specified by:
      getRuntime in interface CfnResolverProps
    • getSyncConfig

      public final Object getSyncConfig()
      Description copied from interface: CfnResolverProps
      The SyncConfig for a resolver attached to a versioned data source.
      Specified by:
      getSyncConfig in interface CfnResolverProps
    • $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