
com.pulumi.awsnative.iam.kotlin.inputs.GetGroupPolicyPlainArgs.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.inputs
import com.pulumi.awsnative.iam.inputs.GetGroupPolicyPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property groupName The name of the group to associate the policy with.
* This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-.
* @property policyName The name of the policy document.
* This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
*/
public data class GetGroupPolicyPlainArgs(
public val groupName: String,
public val policyName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iam.inputs.GetGroupPolicyPlainArgs =
com.pulumi.awsnative.iam.inputs.GetGroupPolicyPlainArgs.builder()
.groupName(groupName.let({ args0 -> args0 }))
.policyName(policyName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetGroupPolicyPlainArgs].
*/
@PulumiTagMarker
public class GetGroupPolicyPlainArgsBuilder internal constructor() {
private var groupName: String? = null
private var policyName: String? = null
/**
* @param value The name of the group to associate the policy with.
* This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-.
*/
@JvmName("jdemejpenasjryoy")
public suspend fun groupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.groupName = mapped
}
/**
* @param value The name of the policy document.
* This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
*/
@JvmName("syualtekhluvtxka")
public suspend fun policyName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.policyName = mapped
}
internal fun build(): GetGroupPolicyPlainArgs = GetGroupPolicyPlainArgs(
groupName = groupName ?: throw PulumiNullFieldException("groupName"),
policyName = policyName ?: throw PulumiNullFieldException("policyName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy