1. Packages
  2. AWS
  3. API Docs
  4. glue
  5. getRegistry
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

aws.glue.getRegistry

Explore with Pulumi AI

aws logo
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

    Data source for managing an AWS Glue Registry.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.glue.getRegistry({
        name: "example",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.glue.get_registry(name="example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/glue"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := glue.LookupRegistry(ctx, &glue.LookupRegistryArgs{
    			Name: "example",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aws.Glue.GetRegistry.Invoke(new()
        {
            Name = "example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.glue.GlueFunctions;
    import com.pulumi.aws.glue.inputs.GetRegistryArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = GlueFunctions.getRegistry(GetRegistryArgs.builder()
                .name("example")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: aws:glue:getRegistry
          Arguments:
            name: example
    

    Using getRegistry

    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 getRegistry(args: GetRegistryArgs, opts?: InvokeOptions): Promise<GetRegistryResult>
    function getRegistryOutput(args: GetRegistryOutputArgs, opts?: InvokeOptions): Output<GetRegistryResult>
    def get_registry(name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetRegistryResult
    def get_registry_output(name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetRegistryResult]
    func LookupRegistry(ctx *Context, args *LookupRegistryArgs, opts ...InvokeOption) (*LookupRegistryResult, error)
    func LookupRegistryOutput(ctx *Context, args *LookupRegistryOutputArgs, opts ...InvokeOption) LookupRegistryResultOutput

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

    public static class GetRegistry 
    {
        public static Task<GetRegistryResult> InvokeAsync(GetRegistryArgs args, InvokeOptions? opts = null)
        public static Output<GetRegistryResult> Invoke(GetRegistryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRegistryResult> getRegistry(GetRegistryArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:glue/getRegistry:getRegistry
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Name of the Glue Registry.
    Name string
    Name of the Glue Registry.
    name String
    Name of the Glue Registry.
    name string
    Name of the Glue Registry.
    name str
    Name of the Glue Registry.
    name String
    Name of the Glue Registry.

    getRegistry Result

    The following output properties are available:

    Arn string
    Amazon Resource Name (ARN) of Glue Registry.
    Description string
    A description of the registry.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Arn string
    Amazon Resource Name (ARN) of Glue Registry.
    Description string
    A description of the registry.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    arn String
    Amazon Resource Name (ARN) of Glue Registry.
    description String
    A description of the registry.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    arn string
    Amazon Resource Name (ARN) of Glue Registry.
    description string
    A description of the registry.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    arn str
    Amazon Resource Name (ARN) of Glue Registry.
    description str
    A description of the registry.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    arn String
    Amazon Resource Name (ARN) of Glue Registry.
    description String
    A description of the registry.
    id String
    The provider-assigned unique ID for this managed resource.
    name String

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi