![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.s3.kotlin.MultiRegionAccessPointPolicyArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.s3.kotlin
import com.pulumi.awsnative.s3.MultiRegionAccessPointPolicyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The policy to be attached to a Multi Region Access Point
* @property mrapName The name of the Multi Region Access Point to apply policy
* @property policy Policy document to apply to a Multi Region Access Point
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::S3::MultiRegionAccessPointPolicy` for more information about the expected schema for this property.
*/
public data class MultiRegionAccessPointPolicyArgs(
public val mrapName: Output? = null,
public val policy: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.s3.MultiRegionAccessPointPolicyArgs =
com.pulumi.awsnative.s3.MultiRegionAccessPointPolicyArgs.builder()
.mrapName(mrapName?.applyValue({ args0 -> args0 }))
.policy(policy?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MultiRegionAccessPointPolicyArgs].
*/
@PulumiTagMarker
public class MultiRegionAccessPointPolicyArgsBuilder internal constructor() {
private var mrapName: Output? = null
private var policy: Output? = null
/**
* @param value The name of the Multi Region Access Point to apply policy
*/
@JvmName("cbgpjmpkoxbiogvv")
public suspend fun mrapName(`value`: Output) {
this.mrapName = value
}
/**
* @param value Policy document to apply to a Multi Region Access Point
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::S3::MultiRegionAccessPointPolicy` for more information about the expected schema for this property.
*/
@JvmName("nwbyelmbjjusfqul")
public suspend fun policy(`value`: Output) {
this.policy = value
}
/**
* @param value The name of the Multi Region Access Point to apply policy
*/
@JvmName("qdhuslcnppakdeox")
public suspend fun mrapName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mrapName = mapped
}
/**
* @param value Policy document to apply to a Multi Region Access Point
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::S3::MultiRegionAccessPointPolicy` for more information about the expected schema for this property.
*/
@JvmName("opgjlrwtcafbvtae")
public suspend fun policy(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.policy = mapped
}
internal fun build(): MultiRegionAccessPointPolicyArgs = MultiRegionAccessPointPolicyArgs(
mrapName = mrapName,
policy = policy,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy