1. Packages
  2. AWS
  3. API Docs
  4. glue
  5. getRegistry
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.glue.getRegistry

Explore with Pulumi AI

AWS v6.77.0 published on Wednesday, Apr 9, 2025 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",
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.glue.get_registry(name="example")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: aws:glue:getRegistry
      arguments:
        name: example
Copy

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>
Copy
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]
Copy
func LookupRegistry(ctx *Context, args *LookupRegistryArgs, opts ...InvokeOption) (*LookupRegistryResult, error)
func LookupRegistryOutput(ctx *Context, args *LookupRegistryOutputArgs, opts ...InvokeOption) LookupRegistryResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetRegistryResult> getRegistry(GetRegistryArgs args, InvokeOptions options)
public static Output<GetRegistryResult> getRegistry(GetRegistryArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws:glue/getRegistry:getRegistry
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
Name of the Glue Registry.
Name This property is required. string
Name of the Glue Registry.
name This property is required. String
Name of the Glue Registry.
name This property is required. string
Name of the Glue Registry.
name This property is required. str
Name of the Glue Registry.
name This property is required. 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 v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi