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.getPrincipalApplicationAssignments
Explore with Pulumi AI
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 viewing AWS SSO Admin Principal Application Assignments.
Example Usage
Using getPrincipalApplicationAssignments
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 getPrincipalApplicationAssignments(args: GetPrincipalApplicationAssignmentsArgs, opts?: InvokeOptions): Promise<GetPrincipalApplicationAssignmentsResult>
function getPrincipalApplicationAssignmentsOutput(args: GetPrincipalApplicationAssignmentsOutputArgs, opts?: InvokeOptions): Output<GetPrincipalApplicationAssignmentsResult>
def get_principal_application_assignments(application_assignments: Optional[Sequence[GetPrincipalApplicationAssignmentsApplicationAssignment]] = None,
instance_arn: Optional[str] = None,
principal_id: Optional[str] = None,
principal_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrincipalApplicationAssignmentsResult
def get_principal_application_assignments_output(application_assignments: Optional[pulumi.Input[Sequence[pulumi.Input[GetPrincipalApplicationAssignmentsApplicationAssignmentArgs]]]] = None,
instance_arn: Optional[pulumi.Input[str]] = None,
principal_id: Optional[pulumi.Input[str]] = None,
principal_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrincipalApplicationAssignmentsResult]
func GetPrincipalApplicationAssignments(ctx *Context, args *GetPrincipalApplicationAssignmentsArgs, opts ...InvokeOption) (*GetPrincipalApplicationAssignmentsResult, error)
func GetPrincipalApplicationAssignmentsOutput(ctx *Context, args *GetPrincipalApplicationAssignmentsOutputArgs, opts ...InvokeOption) GetPrincipalApplicationAssignmentsResultOutput
> Note: This function is named GetPrincipalApplicationAssignments
in the Go SDK.
public static class GetPrincipalApplicationAssignments
{
public static Task<GetPrincipalApplicationAssignmentsResult> InvokeAsync(GetPrincipalApplicationAssignmentsArgs args, InvokeOptions? opts = null)
public static Output<GetPrincipalApplicationAssignmentsResult> Invoke(GetPrincipalApplicationAssignmentsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrincipalApplicationAssignmentsResult> getPrincipalApplicationAssignments(GetPrincipalApplicationAssignmentsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:ssoadmin/getPrincipalApplicationAssignments:getPrincipalApplicationAssignments
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Arn string - ARN of the instance of IAM Identity Center.
- Principal
Id string - An identifier for an object in IAM Identity Center, such as a user or group.
- Principal
Type string - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
. - Application
Assignments List<GetPrincipal Application Assignments Application Assignment> - List of principals assigned to the application. See the
application_assignments
attribute reference below.
- Instance
Arn string - ARN of the instance of IAM Identity Center.
- Principal
Id string - An identifier for an object in IAM Identity Center, such as a user or group.
- Principal
Type string - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
. - Application
Assignments []GetPrincipal Application Assignments Application Assignment - List of principals assigned to the application. See the
application_assignments
attribute reference below.
- instance
Arn String - ARN of the instance of IAM Identity Center.
- principal
Id String - An identifier for an object in IAM Identity Center, such as a user or group.
- principal
Type String - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
. - application
Assignments List<GetPrincipal Application Assignments Application Assignment> - List of principals assigned to the application. See the
application_assignments
attribute reference below.
- instance
Arn string - ARN of the instance of IAM Identity Center.
- principal
Id string - An identifier for an object in IAM Identity Center, such as a user or group.
- principal
Type string - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
. - application
Assignments GetPrincipal Application Assignments Application Assignment[] - List of principals assigned to the application. See the
application_assignments
attribute reference below.
- instance_
arn str - ARN of the instance of IAM Identity Center.
- principal_
id str - An identifier for an object in IAM Identity Center, such as a user or group.
- principal_
type str - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
. - application_
assignments Sequence[GetPrincipal Application Assignments Application Assignment] - List of principals assigned to the application. See the
application_assignments
attribute reference below.
- instance
Arn String - ARN of the instance of IAM Identity Center.
- principal
Id String - An identifier for an object in IAM Identity Center, such as a user or group.
- principal
Type String - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
. - application
Assignments List<Property Map> - List of principals assigned to the application. See the
application_assignments
attribute reference below.
getPrincipalApplicationAssignments Result
The following output properties are available:
- Id string
- Instance
Arn string - Principal
Id string - An identifier for an object in IAM Identity Center, such as a user or group.
- Principal
Type string - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
. - Application
Assignments List<GetPrincipal Application Assignments Application Assignment> - List of principals assigned to the application. See the
application_assignments
attribute reference below.
- Id string
- Instance
Arn string - Principal
Id string - An identifier for an object in IAM Identity Center, such as a user or group.
- Principal
Type string - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
. - Application
Assignments []GetPrincipal Application Assignments Application Assignment - List of principals assigned to the application. See the
application_assignments
attribute reference below.
- id String
- instance
Arn String - principal
Id String - An identifier for an object in IAM Identity Center, such as a user or group.
- principal
Type String - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
. - application
Assignments List<GetPrincipal Application Assignments Application Assignment> - List of principals assigned to the application. See the
application_assignments
attribute reference below.
- id string
- instance
Arn string - principal
Id string - An identifier for an object in IAM Identity Center, such as a user or group.
- principal
Type string - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
. - application
Assignments GetPrincipal Application Assignments Application Assignment[] - List of principals assigned to the application. See the
application_assignments
attribute reference below.
- id str
- instance_
arn str - principal_
id str - An identifier for an object in IAM Identity Center, such as a user or group.
- principal_
type str - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
. - application_
assignments Sequence[GetPrincipal Application Assignments Application Assignment] - List of principals assigned to the application. See the
application_assignments
attribute reference below.
- id String
- instance
Arn String - principal
Id String - An identifier for an object in IAM Identity Center, such as a user or group.
- principal
Type String - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
. - application
Assignments List<Property Map> - List of principals assigned to the application. See the
application_assignments
attribute reference below.
Supporting Types
GetPrincipalApplicationAssignmentsApplicationAssignment
- Application
Arn string - ARN of the application.
- Principal
Id string - An identifier for an object in IAM Identity Center, such as a user or group.
- Principal
Type string - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
.
- Application
Arn string - ARN of the application.
- Principal
Id string - An identifier for an object in IAM Identity Center, such as a user or group.
- Principal
Type string - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
.
- application
Arn String - ARN of the application.
- principal
Id String - An identifier for an object in IAM Identity Center, such as a user or group.
- principal
Type String - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
.
- application
Arn string - ARN of the application.
- principal
Id string - An identifier for an object in IAM Identity Center, such as a user or group.
- principal
Type string - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
.
- application_
arn str - ARN of the application.
- principal_
id str - An identifier for an object in IAM Identity Center, such as a user or group.
- principal_
type str - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
.
- application
Arn String - ARN of the application.
- principal
Id String - An identifier for an object in IAM Identity Center, such as a user or group.
- principal
Type String - Entity type for which the assignment will be created. Valid values are
USER
orGROUP
.
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.33.1 published on Thursday, May 2, 2024 by Pulumi