![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iam.kotlin.ServiceLinkedRoleArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iam.kotlin
import com.pulumi.awsnative.iam.ServiceLinkedRoleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::IAM::ServiceLinkedRole
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property awsServiceName The service principal for the AWS service to which this role is attached.
* @property customSuffix A string that you provide, which is combined with the service-provided prefix to form the complete role name.
* @property description The description of the role.
*/
public data class ServiceLinkedRoleArgs(
public val awsServiceName: Output? = null,
public val customSuffix: Output? = null,
public val description: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iam.ServiceLinkedRoleArgs =
com.pulumi.awsnative.iam.ServiceLinkedRoleArgs.builder()
.awsServiceName(awsServiceName?.applyValue({ args0 -> args0 }))
.customSuffix(customSuffix?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServiceLinkedRoleArgs].
*/
@PulumiTagMarker
public class ServiceLinkedRoleArgsBuilder internal constructor() {
private var awsServiceName: Output? = null
private var customSuffix: Output? = null
private var description: Output? = null
/**
* @param value The service principal for the AWS service to which this role is attached.
*/
@JvmName("nxwlsiyhfqqeqvum")
public suspend fun awsServiceName(`value`: Output) {
this.awsServiceName = value
}
/**
* @param value A string that you provide, which is combined with the service-provided prefix to form the complete role name.
*/
@JvmName("myqvxueuggpmejef")
public suspend fun customSuffix(`value`: Output) {
this.customSuffix = value
}
/**
* @param value The description of the role.
*/
@JvmName("umohasbmcvgyawba")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The service principal for the AWS service to which this role is attached.
*/
@JvmName("kenvsjnqupbguujf")
public suspend fun awsServiceName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.awsServiceName = mapped
}
/**
* @param value A string that you provide, which is combined with the service-provided prefix to form the complete role name.
*/
@JvmName("mihnuoexyahffgjg")
public suspend fun customSuffix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customSuffix = mapped
}
/**
* @param value The description of the role.
*/
@JvmName("mssqufgapieerayt")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
internal fun build(): ServiceLinkedRoleArgs = ServiceLinkedRoleArgs(
awsServiceName = awsServiceName,
customSuffix = customSuffix,
description = description,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy