1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. appsync
  6. getType

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.78.0
published on Monday, Sep 7, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.78.0
published on Monday, Sep 7, 2026 by Pulumi

    Represents a GraphQL type in an AWS AppSync GraphQL API.

    Using getType

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getType(args: GetTypeArgs, opts?: InvokeOptions): Promise<GetTypeResult>
    function getTypeOutput(args: GetTypeOutputArgs, opts?: InvokeOutputOptions): Output<GetTypeResult>
    def get_type(arn: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetTypeResult
    def get_type_output(arn: pulumi.Input[Optional[str]] = None,
                 opts: Optional[InvokeOutputOptions] = None) -> Output[GetTypeResult]
    func LookupType(ctx *Context, args *LookupTypeArgs, opts ...InvokeOption) (*LookupTypeResult, error)
    func LookupTypeOutput(ctx *Context, args *LookupTypeOutputArgs, opts ...InvokeOption) LookupTypeResultOutput

    > Note: This function is named LookupType in the Go SDK.

    public static class GetType 
    {
        public static Task<GetTypeResult> InvokeAsync(GetTypeArgs args, InvokeOptions? opts = null)
        public static Output<GetTypeResult> Invoke(GetTypeInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetTypeResult> Invoke(GetTypeInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetTypeResult> getType(GetTypeArgs args, InvokeOptions options)
    public static Output<GetTypeResult> getType(GetTypeArgs args, InvokeOptions options)
    public static Output<GetTypeResult> getType(GetTypeArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:appsync:getType
      arguments:
        # arguments dictionary
    data "aws-native_appsync_get_type" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the type.
    Arn string
    The Amazon Resource Name (ARN) of the type.
    arn string
    The Amazon Resource Name (ARN) of the type.
    arn String
    The Amazon Resource Name (ARN) of the type.
    arn string
    The Amazon Resource Name (ARN) of the type.
    arn str
    The Amazon Resource Name (ARN) of the type.
    arn String
    The Amazon Resource Name (ARN) of the type.

    getType Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the type.
    Definition string
    The type definition, in GraphQL Schema Definition Language (SDL) format.
    Format Pulumi.AwsNative.AppSync.TypeFormat
    The type format: SDL or JSON.
    Name string
    The type name.
    Arn string
    The Amazon Resource Name (ARN) of the type.
    Definition string
    The type definition, in GraphQL Schema Definition Language (SDL) format.
    Format TypeFormat
    The type format: SDL or JSON.
    Name string
    The type name.
    arn string
    The Amazon Resource Name (ARN) of the type.
    definition string
    The type definition, in GraphQL Schema Definition Language (SDL) format.
    format "SDL" | "JSON"
    The type format: SDL or JSON.
    name string
    The type name.
    arn String
    The Amazon Resource Name (ARN) of the type.
    definition String
    The type definition, in GraphQL Schema Definition Language (SDL) format.
    format TypeFormat
    The type format: SDL or JSON.
    name String
    The type name.
    arn string
    The Amazon Resource Name (ARN) of the type.
    definition string
    The type definition, in GraphQL Schema Definition Language (SDL) format.
    format TypeFormat
    The type format: SDL or JSON.
    name string
    The type name.
    arn str
    The Amazon Resource Name (ARN) of the type.
    definition str
    The type definition, in GraphQL Schema Definition Language (SDL) format.
    format TypeFormat
    The type format: SDL or JSON.
    name str
    The type name.
    arn String
    The Amazon Resource Name (ARN) of the type.
    definition String
    The type definition, in GraphQL Schema Definition Language (SDL) format.
    format "SDL" | "JSON"
    The type format: SDL or JSON.
    name String
    The type name.

    Supporting Types

    TypeFormat

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.78.0
    published on Monday, Sep 7, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial