ManagedPolicyAttachmentArgs

data class ManagedPolicyAttachmentArgs(val instanceArn: Output<String>? = null, val managedPolicyArn: Output<String>? = null, val permissionSetArn: Output<String>? = null) : ConvertibleToJava<ManagedPolicyAttachmentArgs>

Provides an IAM managed policy for a Single Sign-On (SSO) Permission Set resource

NOTE: Creating this resource will automatically Provision the Permission Set to apply the corresponding updates to all assigned accounts.

Example Usage

Import

Using pulumi import, import SSO Managed Policy Attachments using the managed_policy_arn, permission_set_arn, and instance_arn separated by a comma (,). For example:

$ pulumi import aws:ssoadmin/managedPolicyAttachment:ManagedPolicyAttachment example arn:aws:iam::aws:policy/AlexaForBusinessDeviceSetup,arn:aws:sso:::permissionSet/ssoins-2938j0x8920sbj72/ps-80383020jr9302rk,arn:aws:sso:::instance/ssoins-2938j0x8920sbj72

Constructors

Link copied to clipboard
fun ManagedPolicyAttachmentArgs(instanceArn: Output<String>? = null, managedPolicyArn: Output<String>? = null, permissionSetArn: Output<String>? = null)

Functions

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

Properties

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

The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.

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

The IAM managed policy Amazon Resource Name (ARN) to be attached to the Permission Set.

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

The Amazon Resource Name (ARN) of the Permission Set.