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

com.pulumi.awsnative.iam.kotlin.outputs.UserPolicy.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.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iam.kotlin.outputs

import kotlin.Any
import kotlin.String
import kotlin.Suppress

/**
 * Contains information about an attached policy.
 *  An attached policy is a managed policy that has been attached to a user, group, or role.
 *  For more information about managed policies, refer to [Managed Policies and Inline Policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *User Guide*.
 * @property policyDocument The entire contents of the policy that defines permissions. For more information, see [Overview of JSON policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json).
 * @property policyName The friendly name (not ARN) identifying the policy.
 */
public data class UserPolicy(
    public val policyDocument: Any,
    public val policyName: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iam.outputs.UserPolicy): UserPolicy =
            UserPolicy(
                policyDocument = javaType.policyDocument(),
                policyName = javaType.policyName(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy