Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws.ssoadmin.getApplication
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 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:
- Application
Arn string - ARN of the application.
- Portal
Options List<GetApplication Portal Option> - Options for the portal associated with an application. See the
aws.ssoadmin.Application
resource documentation. The attributes are the same.
- Application
Arn string - ARN of the application.
- Portal
Options []GetApplication Portal Option - Options for the portal associated with an application. See the
aws.ssoadmin.Application
resource documentation. The attributes are the same.
- application
Arn String - ARN of the application.
- portal
Options List<GetApplication Portal Option> - Options for the portal associated with an application. See the
aws.ssoadmin.Application
resource documentation. The attributes are the same.
- application
Arn string - ARN of the application.
- portal
Options GetApplication Portal Option[] - 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[GetApplication Portal Option] - Options for the portal associated with an application. See the
aws.ssoadmin.Application
resource documentation. The attributes are the same.
- application
Arn String - ARN of the application.
- portal
Options 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:
- Application
Account string - AWS account ID.
- Application
Arn string - Application
Provider stringArn - ARN of the application provider.
- Description string
- Description of the application.
- Id string
- ARN of the application.
- Instance
Arn string - ARN of the instance of IAM Identity Center.
- Name string
- Name of the application.
- Status string
- Status of the application.
- Portal
Options List<GetApplication Portal Option> - Options for the portal associated with an application. See the
aws.ssoadmin.Application
resource documentation. The attributes are the same.
- Application
Account string - AWS account ID.
- Application
Arn string - Application
Provider stringArn - ARN of the application provider.
- Description string
- Description of the application.
- Id string
- ARN of the application.
- Instance
Arn string - ARN of the instance of IAM Identity Center.
- Name string
- Name of the application.
- Status string
- Status of the application.
- Portal
Options []GetApplication Portal Option - Options for the portal associated with an application. See the
aws.ssoadmin.Application
resource documentation. The attributes are the same.
- application
Account String - AWS account ID.
- application
Arn String - application
Provider StringArn - ARN of the application provider.
- description String
- Description of the application.
- id String
- ARN of the application.
- instance
Arn String - ARN of the instance of IAM Identity Center.
- name String
- Name of the application.
- status String
- Status of the application.
- portal
Options List<GetApplication Portal Option> - Options for the portal associated with an application. See the
aws.ssoadmin.Application
resource documentation. The attributes are the same.
- application
Account string - AWS account ID.
- application
Arn string - application
Provider stringArn - ARN of the application provider.
- description string
- Description of the application.
- id string
- ARN of the application.
- instance
Arn string - ARN of the instance of IAM Identity Center.
- name string
- Name of the application.
- status string
- Status of the application.
- portal
Options GetApplication Portal Option[] - 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_ strarn - 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[GetApplication Portal Option] - Options for the portal associated with an application. See the
aws.ssoadmin.Application
resource documentation. The attributes are the same.
- application
Account String - AWS account ID.
- application
Arn String - application
Provider StringArn - ARN of the application provider.
- description String
- Description of the application.
- id String
- ARN of the application.
- instance
Arn String - ARN of the instance of IAM Identity Center.
- name String
- Name of the application.
- status String
- Status of the application.
- portal
Options 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
- Application
Url string - Origin string
- Application
Url string - Origin string
- application
Url String - origin String
- application
Url string - origin string
- application_
url str - origin str
- application
Url 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.
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi