1. Packages
  2. AWS Classic
  3. API Docs
  4. ssoadmin
  5. getApplication

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.ssoadmin.getApplication

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 SSO Admin Application.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.ssoadmin.getApplication({
        applicationArn: "arn:aws:sso::012345678901:application/ssoins-1234/apl-5678",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.ssoadmin.get_application(application_arn="arn:aws:sso::012345678901:application/ssoins-1234/apl-5678")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ssoadmin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ssoadmin.LookupApplication(ctx, &ssoadmin.LookupApplicationArgs{
    			ApplicationArn: "arn:aws:sso::012345678901:application/ssoins-1234/apl-5678",
    		}, 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.SsoAdmin.GetApplication.Invoke(new()
        {
            ApplicationArn = "arn:aws:sso::012345678901:application/ssoins-1234/apl-5678",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ssoadmin.SsoadminFunctions;
    import com.pulumi.aws.ssoadmin.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 = SsoadminFunctions.getApplication(GetApplicationArgs.builder()
                .applicationArn("arn:aws:sso::012345678901:application/ssoins-1234/apl-5678")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: aws:ssoadmin:getApplication
          Arguments:
            applicationArn: arn:aws:sso::012345678901:application/ssoins-1234/apl-5678
    

    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(application_arn: Optional[str] = None,
                        portal_options: Optional[Sequence[GetApplicationPortalOption]] = None,
                        opts: Optional[InvokeOptions] = None) -> GetApplicationResult
    def get_application_output(application_arn: Optional[pulumi.Input[str]] = None,
                        portal_options: Optional[pulumi.Input[Sequence[pulumi.Input[GetApplicationPortalOptionArgs]]]] = 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:ssoadmin/getApplication:getApplication
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ApplicationArn string
    ARN of the application.
    PortalOptions List<GetApplicationPortalOption>
    Options for the portal associated with an application. See the aws.ssoadmin.Application resource documentation. The attributes are the same.
    ApplicationArn string
    ARN of the application.
    PortalOptions []GetApplicationPortalOption
    Options for the portal associated with an application. See the aws.ssoadmin.Application resource documentation. The attributes are the same.
    applicationArn String
    ARN of the application.
    portalOptions List<GetApplicationPortalOption>
    Options for the portal associated with an application. See the aws.ssoadmin.Application resource documentation. The attributes are the same.
    applicationArn string
    ARN of the application.
    portalOptions GetApplicationPortalOption[]
    Options for the portal associated with an application. See the aws.ssoadmin.Application resource documentation. The attributes are the same.
    application_arn str
    ARN of the application.
    portal_options Sequence[GetApplicationPortalOption]
    Options for the portal associated with an application. See the aws.ssoadmin.Application resource documentation. The attributes are the same.
    applicationArn String
    ARN of the application.
    portalOptions List<Property Map>
    Options for the portal associated with an application. See the aws.ssoadmin.Application resource documentation. The attributes are the same.

    getApplication Result

    The following output properties are available:

    ApplicationAccount string
    AWS account ID.
    ApplicationArn string
    ApplicationProviderArn string
    ARN of the application provider.
    Description string
    Description of the application.
    Id string
    ARN of the application.
    InstanceArn string
    ARN of the instance of IAM Identity Center.
    Name string
    Name of the application.
    Status string
    Status of the application.
    PortalOptions List<GetApplicationPortalOption>
    Options for the portal associated with an application. See the aws.ssoadmin.Application resource documentation. The attributes are the same.
    ApplicationAccount string
    AWS account ID.
    ApplicationArn string
    ApplicationProviderArn string
    ARN of the application provider.
    Description string
    Description of the application.
    Id string
    ARN of the application.
    InstanceArn string
    ARN of the instance of IAM Identity Center.
    Name string
    Name of the application.
    Status string
    Status of the application.
    PortalOptions []GetApplicationPortalOption
    Options for the portal associated with an application. See the aws.ssoadmin.Application resource documentation. The attributes are the same.
    applicationAccount String
    AWS account ID.
    applicationArn String
    applicationProviderArn String
    ARN of the application provider.
    description String
    Description of the application.
    id String
    ARN of the application.
    instanceArn String
    ARN of the instance of IAM Identity Center.
    name String
    Name of the application.
    status String
    Status of the application.
    portalOptions List<GetApplicationPortalOption>
    Options for the portal associated with an application. See the aws.ssoadmin.Application resource documentation. The attributes are the same.
    applicationAccount string
    AWS account ID.
    applicationArn string
    applicationProviderArn string
    ARN of the application provider.
    description string
    Description of the application.
    id string
    ARN of the application.
    instanceArn string
    ARN of the instance of IAM Identity Center.
    name string
    Name of the application.
    status string
    Status of the application.
    portalOptions GetApplicationPortalOption[]
    Options for the portal associated with an application. See the aws.ssoadmin.Application resource documentation. The attributes are the same.
    application_account str
    AWS account ID.
    application_arn str
    application_provider_arn str
    ARN of the application provider.
    description str
    Description of the application.
    id str
    ARN of the application.
    instance_arn str
    ARN of the instance of IAM Identity Center.
    name str
    Name of the application.
    status str
    Status of the application.
    portal_options Sequence[GetApplicationPortalOption]
    Options for the portal associated with an application. See the aws.ssoadmin.Application resource documentation. The attributes are the same.
    applicationAccount String
    AWS account ID.
    applicationArn String
    applicationProviderArn String
    ARN of the application provider.
    description String
    Description of the application.
    id String
    ARN of the application.
    instanceArn String
    ARN of the instance of IAM Identity Center.
    name String
    Name of the application.
    status String
    Status of the application.
    portalOptions List<Property Map>
    Options for the portal associated with an application. See the aws.ssoadmin.Application resource documentation. The attributes are the same.

    Supporting Types

    GetApplicationPortalOption

    GetApplicationPortalOptionSignInOption

    ApplicationUrl string
    Origin string
    ApplicationUrl string
    Origin string
    applicationUrl String
    origin String
    applicationUrl string
    origin string
    applicationUrl String
    origin 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

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

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