All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.sso.kotlin.outputs.PermissionSetPermissionsBoundary.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.sso.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property customerManagedPolicyReference Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each AWS account where you want to deploy your permission set.
 * @property managedPolicyArn The AWS managed policy ARN that you want to attach to a permission set as a permissions boundary.
 */
public data class PermissionSetPermissionsBoundary(
    public val customerManagedPolicyReference: PermissionSetCustomerManagedPolicyReference? = null,
    public val managedPolicyArn: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sso.outputs.PermissionSetPermissionsBoundary): PermissionSetPermissionsBoundary = PermissionSetPermissionsBoundary(
            customerManagedPolicyReference = javaType.customerManagedPolicyReference().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sso.kotlin.outputs.PermissionSetCustomerManagedPolicyReference.Companion.toKotlin(args0)
                })
            }).orElse(null),
            managedPolicyArn = javaType.managedPolicyArn().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy