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

com.pulumi.aws.budgets.kotlin.outputs.BudgetActionDefinitionIamActionDefinition.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.budgets.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property groups A list of groups to be attached. There must be at least one group.
 * @property policyArn The Amazon Resource Name (ARN) of the policy to be attached.
 * @property roles A list of roles to be attached. There must be at least one role.
 * @property users A list of users to be attached. There must be at least one user.
 */
public data class BudgetActionDefinitionIamActionDefinition(
    public val groups: List? = null,
    public val policyArn: String,
    public val roles: List? = null,
    public val users: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.budgets.outputs.BudgetActionDefinitionIamActionDefinition): BudgetActionDefinitionIamActionDefinition = BudgetActionDefinitionIamActionDefinition(
            groups = javaType.groups().map({ args0 -> args0 }),
            policyArn = javaType.policyArn(),
            roles = javaType.roles().map({ args0 -> args0 }),
            users = javaType.users().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy