
com.pulumi.awsnative.s3outposts.kotlin.AccessPointArgs.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.s3outposts.kotlin
import com.pulumi.awsnative.s3outposts.AccessPointArgs.builder
import com.pulumi.awsnative.s3outposts.kotlin.inputs.AccessPointVpcConfigurationArgs
import com.pulumi.awsnative.s3outposts.kotlin.inputs.AccessPointVpcConfigurationArgsBuilder
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.Any
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Resource Type Definition for AWS::S3Outposts::AccessPoint
* @property bucket The Amazon Resource Name (ARN) of the bucket you want to associate this AccessPoint with.
* @property name A name for the AccessPoint.
* @property policy The access point policy associated with this access point.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::S3Outposts::AccessPoint` for more information about the expected schema for this property.
* @property vpcConfiguration Virtual Private Cloud (VPC) from which requests can be made to the AccessPoint.
*/
public data class AccessPointArgs(
public val bucket: Output? = null,
public val name: Output? = null,
public val policy: Output? = null,
public val vpcConfiguration: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.s3outposts.AccessPointArgs =
com.pulumi.awsnative.s3outposts.AccessPointArgs.builder()
.bucket(bucket?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.policy(policy?.applyValue({ args0 -> args0 }))
.vpcConfiguration(
vpcConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [AccessPointArgs].
*/
@PulumiTagMarker
public class AccessPointArgsBuilder internal constructor() {
private var bucket: Output? = null
private var name: Output? = null
private var policy: Output? = null
private var vpcConfiguration: Output? = null
/**
* @param value The Amazon Resource Name (ARN) of the bucket you want to associate this AccessPoint with.
*/
@JvmName("wrkvoisrxpaxgqgs")
public suspend fun bucket(`value`: Output) {
this.bucket = value
}
/**
* @param value A name for the AccessPoint.
*/
@JvmName("estgbopqkvnpoaro")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The access point policy associated with this access point.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::S3Outposts::AccessPoint` for more information about the expected schema for this property.
*/
@JvmName("ccdqmyntwydagudu")
public suspend fun policy(`value`: Output) {
this.policy = value
}
/**
* @param value Virtual Private Cloud (VPC) from which requests can be made to the AccessPoint.
*/
@JvmName("jfnjaexbcgtpdsky")
public suspend fun vpcConfiguration(`value`: Output) {
this.vpcConfiguration = value
}
/**
* @param value The Amazon Resource Name (ARN) of the bucket you want to associate this AccessPoint with.
*/
@JvmName("oldfhovqbydiiloa")
public suspend fun bucket(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bucket = mapped
}
/**
* @param value A name for the AccessPoint.
*/
@JvmName("uyldiuiwujamujpu")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The access point policy associated with this access point.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::S3Outposts::AccessPoint` for more information about the expected schema for this property.
*/
@JvmName("qohograxxdsmylfr")
public suspend fun policy(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.policy = mapped
}
/**
* @param value Virtual Private Cloud (VPC) from which requests can be made to the AccessPoint.
*/
@JvmName("duromgcpykgncdrc")
public suspend fun vpcConfiguration(`value`: AccessPointVpcConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.vpcConfiguration = mapped
}
/**
* @param argument Virtual Private Cloud (VPC) from which requests can be made to the AccessPoint.
*/
@JvmName("xomlpfulsmomqdim")
public suspend fun vpcConfiguration(argument: suspend AccessPointVpcConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = AccessPointVpcConfigurationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.vpcConfiguration = mapped
}
internal fun build(): AccessPointArgs = AccessPointArgs(
bucket = bucket,
name = name,
policy = policy,
vpcConfiguration = vpcConfiguration,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy