![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.s3.kotlin.AccessGrantsLocationArgs.kt Maven / Gradle / Ivy
@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.AccessGrantsLocationArgs.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::AccessGrantsLocation resource is an Amazon S3 resource type hosted in an access grants instance which can be the target of S3 access grants.
* @property iamRoleArn The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
* @property locationScope Descriptor for where the location actually points
* @property tags The AWS resource tags that you are adding to the S3 Access Grants location. 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 AccessGrantsLocationArgs(
public val iamRoleArn: Output? = null,
public val locationScope: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.s3.AccessGrantsLocationArgs =
com.pulumi.awsnative.s3.AccessGrantsLocationArgs.builder()
.iamRoleArn(iamRoleArn?.applyValue({ args0 -> args0 }))
.locationScope(locationScope?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [AccessGrantsLocationArgs].
*/
@PulumiTagMarker
public class AccessGrantsLocationArgsBuilder internal constructor() {
private var iamRoleArn: Output? = null
private var locationScope: Output? = null
private var tags: Output>? = null
/**
* @param value The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
*/
@JvmName("vhrksnpjfjgqtumr")
public suspend fun iamRoleArn(`value`: Output) {
this.iamRoleArn = value
}
/**
* @param value Descriptor for where the location actually points
*/
@JvmName("rwakyxugmetosjtk")
public suspend fun locationScope(`value`: Output) {
this.locationScope = value
}
/**
* @param value The AWS resource tags that you are adding to the S3 Access Grants location. 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("oomaowswrvpkhklw")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("wyaxggbofxknmaqv")
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 location. 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("avwssnkfrmxusxcl")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy