com.pulumi.awsnative.s3.kotlin.AccessGrantsInstanceArgs.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.s3.kotlin
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgs
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgsBuilder
import com.pulumi.awsnative.s3.AccessGrantsInstanceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The AWS::S3::AccessGrantsInstance resource is an Amazon S3 resource type that hosts Access Grants and their associated locations
* @property identityCenterArn The Amazon Resource Name (ARN) of the specified AWS Identity Center.
* @property tags The AWS resource tags that you are adding to the S3 Access Grants instance. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
*/
public data class AccessGrantsInstanceArgs(
public val identityCenterArn: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.s3.AccessGrantsInstanceArgs =
com.pulumi.awsnative.s3.AccessGrantsInstanceArgs.builder()
.identityCenterArn(identityCenterArn?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [AccessGrantsInstanceArgs].
*/
@PulumiTagMarker
public class AccessGrantsInstanceArgsBuilder internal constructor() {
private var identityCenterArn: Output? = null
private var tags: Output>? = null
/**
* @param value The Amazon Resource Name (ARN) of the specified AWS Identity Center.
*/
@JvmName("jdysnqqfvarictrh")
public suspend fun identityCenterArn(`value`: Output) {
this.identityCenterArn = value
}
/**
* @param value The AWS resource tags that you are adding to the S3 Access Grants instance. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
*/
@JvmName("kwjrhaujrcbhjiuv")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("umibdfdnqhvkmcco")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values The AWS resource tags that you are adding to the S3 Access Grants instance. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
*/
@JvmName("bvoplcqtpthaqfuh")
public suspend fun tags(values: List