1. Packages
  2. AWS
  3. API Docs
  4. appconfig
  5. getApplication
AWS v7.10.0 published on Friday, Oct 24, 2025 by Pulumi

aws.appconfig.getApplication

Get Started
aws logo
AWS v7.10.0 published on Friday, Oct 24, 2025 by Pulumi

    Provides details about an AWS AppConfig Application.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.appconfig.getApplication({
        name: "my-appconfig-application",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.appconfig.get_application(name="my-appconfig-application")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/appconfig"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := appconfig.LookupApplication(ctx, &appconfig.LookupApplicationArgs{
    			Name: pulumi.StringRef("my-appconfig-application"),
    		}, 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.AppConfig.GetApplication.Invoke(new()
        {
            Name = "my-appconfig-application",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.appconfig.AppconfigFunctions;
    import com.pulumi.aws.appconfig.inputs.GetApplicationArgs;
    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 = AppconfigFunctions.getApplication(GetApplicationArgs.builder()
                .name("my-appconfig-application")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:appconfig:getApplication
          arguments:
            name: my-appconfig-application
    

    Using getApplication

    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 getApplication(args: GetApplicationArgs, opts?: InvokeOptions): Promise<GetApplicationResult>
    function getApplicationOutput(args: GetApplicationOutputArgs, opts?: InvokeOptions): Output<GetApplicationResult>
    def get_application(id: Optional[str] = None,
                        name: Optional[str] = None,
                        region: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetApplicationResult
    def get_application_output(id: Optional[pulumi.Input[str]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        region: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetApplicationResult]
    func LookupApplication(ctx *Context, args *LookupApplicationArgs, opts ...InvokeOption) (*LookupApplicationResult, error)
    func LookupApplicationOutput(ctx *Context, args *LookupApplicationOutputArgs, opts ...InvokeOption) LookupApplicationResultOutput

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

    public static class GetApplication 
    {
        public static Task<GetApplicationResult> InvokeAsync(GetApplicationArgs args, InvokeOptions? opts = null)
        public static Output<GetApplicationResult> Invoke(GetApplicationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
    public static Output<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:appconfig/getApplication:getApplication
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ID of the Application. Either id or name must be specified.
    Name string
    AWS AppConfig Application name. Either name or id must be specified.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Id string
    ID of the Application. Either id or name must be specified.
    Name string
    AWS AppConfig Application name. Either name or id must be specified.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    id String
    ID of the Application. Either id or name must be specified.
    name String
    AWS AppConfig Application name. Either name or id must be specified.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    id string
    ID of the Application. Either id or name must be specified.
    name string
    AWS AppConfig Application name. Either name or id must be specified.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    id str
    ID of the Application. Either id or name must be specified.
    name str
    AWS AppConfig Application name. Either name or id must be specified.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    id String
    ID of the Application. Either id or name must be specified.
    name String
    AWS AppConfig Application name. Either name or id must be specified.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.

    getApplication Result

    The following output properties are available:

    Arn string
    ARN of the Application.
    Description string
    Description of the Application.
    Id string
    Name string
    Region string
    Arn string
    ARN of the Application.
    Description string
    Description of the Application.
    Id string
    Name string
    Region string
    arn String
    ARN of the Application.
    description String
    Description of the Application.
    id String
    name String
    region String
    arn string
    ARN of the Application.
    description string
    Description of the Application.
    id string
    name string
    region string
    arn str
    ARN of the Application.
    description str
    Description of the Application.
    id str
    name str
    region str
    arn String
    ARN of the Application.
    description String
    Description of the Application.
    id String
    name String
    region 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 v7.10.0 published on Friday, Oct 24, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate