1. Packages
  2. AWS Classic
  3. API Docs
  4. servicecatalog
  5. getAppregistryApplication

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.33.1 published on Thursday, May 2, 2024 by Pulumi

aws.servicecatalog.getAppregistryApplication

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.33.1 published on Thursday, May 2, 2024 by Pulumi

    Data source for managing an AWS Service Catalog AppRegistry Application.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.servicecatalog.getAppregistryApplication({
        id: "application-1234",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.servicecatalog.get_appregistry_application(id="application-1234")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicecatalog"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := servicecatalog.LookupAppregistryApplication(ctx, &servicecatalog.LookupAppregistryApplicationArgs{
    			Id: "application-1234",
    		}, 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.ServiceCatalog.GetAppregistryApplication.Invoke(new()
        {
            Id = "application-1234",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.servicecatalog.ServicecatalogFunctions;
    import com.pulumi.aws.servicecatalog.inputs.GetAppregistryApplicationArgs;
    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 = ServicecatalogFunctions.getAppregistryApplication(GetAppregistryApplicationArgs.builder()
                .id("application-1234")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: aws:servicecatalog:getAppregistryApplication
          Arguments:
            id: application-1234
    

    Using getAppregistryApplication

    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 getAppregistryApplication(args: GetAppregistryApplicationArgs, opts?: InvokeOptions): Promise<GetAppregistryApplicationResult>
    function getAppregistryApplicationOutput(args: GetAppregistryApplicationOutputArgs, opts?: InvokeOptions): Output<GetAppregistryApplicationResult>
    def get_appregistry_application(id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetAppregistryApplicationResult
    def get_appregistry_application_output(id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetAppregistryApplicationResult]
    func LookupAppregistryApplication(ctx *Context, args *LookupAppregistryApplicationArgs, opts ...InvokeOption) (*LookupAppregistryApplicationResult, error)
    func LookupAppregistryApplicationOutput(ctx *Context, args *LookupAppregistryApplicationOutputArgs, opts ...InvokeOption) LookupAppregistryApplicationResultOutput

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

    public static class GetAppregistryApplication 
    {
        public static Task<GetAppregistryApplicationResult> InvokeAsync(GetAppregistryApplicationArgs args, InvokeOptions? opts = null)
        public static Output<GetAppregistryApplicationResult> Invoke(GetAppregistryApplicationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAppregistryApplicationResult> getAppregistryApplication(GetAppregistryApplicationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:servicecatalog/getAppregistryApplication:getAppregistryApplication
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Application identifier.
    Id string
    Application identifier.
    id String
    Application identifier.
    id string
    Application identifier.
    id str
    Application identifier.
    id String
    Application identifier.

    getAppregistryApplication Result

    The following output properties are available:

    ApplicationTag Dictionary<string, string>
    A map with a single tag key-value pair used to associate resources with the application.
    Arn string
    ARN (Amazon Resource Name) of the application.
    Description string
    Description of the application.
    Id string
    Name string
    Name of the application.
    ApplicationTag map[string]string
    A map with a single tag key-value pair used to associate resources with the application.
    Arn string
    ARN (Amazon Resource Name) of the application.
    Description string
    Description of the application.
    Id string
    Name string
    Name of the application.
    applicationTag Map<String,String>
    A map with a single tag key-value pair used to associate resources with the application.
    arn String
    ARN (Amazon Resource Name) of the application.
    description String
    Description of the application.
    id String
    name String
    Name of the application.
    applicationTag {[key: string]: string}
    A map with a single tag key-value pair used to associate resources with the application.
    arn string
    ARN (Amazon Resource Name) of the application.
    description string
    Description of the application.
    id string
    name string
    Name of the application.
    application_tag Mapping[str, str]
    A map with a single tag key-value pair used to associate resources with the application.
    arn str
    ARN (Amazon Resource Name) of the application.
    description str
    Description of the application.
    id str
    name str
    Name of the application.
    applicationTag Map<String>
    A map with a single tag key-value pair used to associate resources with the application.
    arn String
    ARN (Amazon Resource Name) of the application.
    description String
    Description of the application.
    id String
    name String
    Name of the application.

    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

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.33.1 published on Thursday, May 2, 2024 by Pulumi