
com.pulumi.awsnative.iam.kotlin.outputs.GroupPolicy.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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, see [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 policy document.
* @property policyName The friendly name (not ARN) identifying the policy.
*/
public data class GroupPolicy(
public val policyDocument: Any,
public val policyName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iam.outputs.GroupPolicy): GroupPolicy =
GroupPolicy(
policyDocument = javaType.policyDocument(),
policyName = javaType.policyName(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy