AccountAssignmentArgs

data class AccountAssignmentArgs(val instanceArn: Output<String>? = null, val permissionSetArn: Output<String>? = null, val principalId: Output<String>? = null, val principalType: Output<String>? = null, val targetId: Output<String>? = null, val targetType: Output<String>? = null) : ConvertibleToJava<AccountAssignmentArgs>

Provides a Single Sign-On (SSO) Account Assignment resource

Import

SSO Account Assignments can be imported using the principal_id, principal_type, target_id, target_type, permission_set_arn, instance_arn separated by commas (,) e.g.,

$ pulumi import aws:ssoadmin/accountAssignment:AccountAssignment example f81d4fae-7dec-11d0-a765-00a0c91e6bf6,GROUP,1234567890,AWS_ACCOUNT,arn:aws:sso:::permissionSet/ssoins-0123456789abcdef/ps-0123456789abcdef,arn:aws:sso:::instance/ssoins-0123456789abcdef

Constructors

Link copied to clipboard
constructor(instanceArn: Output<String>? = null, permissionSetArn: Output<String>? = null, principalId: Output<String>? = null, principalType: Output<String>? = null, targetId: Output<String>? = null, targetType: Output<String>? = null)

Properties

Link copied to clipboard
val instanceArn: Output<String>? = null

The Amazon Resource Name (ARN) of the SSO Instance.

Link copied to clipboard
val permissionSetArn: Output<String>? = null

The Amazon Resource Name (ARN) of the Permission Set that the admin wants to grant the principal access to.

Link copied to clipboard
val principalId: Output<String>? = null

An identifier for an object in SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6).

Link copied to clipboard
val principalType: Output<String>? = null

The entity type for which the assignment will be created. Valid values: USER, GROUP.

Link copied to clipboard
val targetId: Output<String>? = null

An AWS account identifier, typically a 10-12 digit string.

Link copied to clipboard
val targetType: Output<String>? = null

The entity type for which the assignment will be created. Valid values: AWS_ACCOUNT.

Functions

Link copied to clipboard
open override fun toJava(): AccountAssignmentArgs