com.pulumi.aws.transfer.kotlin.inputs.ServerEndpointDetailsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.transfer.kotlin.inputs
import com.pulumi.aws.transfer.inputs.ServerEndpointDetailsArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property addressAllocationIds A list of address allocation IDs that are required to attach an Elastic IP address to your SFTP server's endpoint. This property can only be used when `endpoint_type` is set to `VPC`.
* @property securityGroupIds A list of security groups IDs that are available to attach to your server's endpoint. If no security groups are specified, the VPC's default security groups are automatically assigned to your endpoint. This property can only be used when `endpoint_type` is set to `VPC`.
* @property subnetIds A list of subnet IDs that are required to host your SFTP server endpoint in your VPC. This property can only be used when `endpoint_type` is set to `VPC`.
* @property vpcEndpointId The ID of the VPC endpoint. This property can only be used when `endpoint_type` is set to `VPC_ENDPOINT`
* @property vpcId The VPC ID of the virtual private cloud in which the SFTP server's endpoint will be hosted. This property can only be used when `endpoint_type` is set to `VPC`.
*/
public data class ServerEndpointDetailsArgs(
public val addressAllocationIds: Output>? = null,
public val securityGroupIds: Output>? = null,
public val subnetIds: Output>? = null,
public val vpcEndpointId: Output? = null,
public val vpcId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.transfer.inputs.ServerEndpointDetailsArgs =
com.pulumi.aws.transfer.inputs.ServerEndpointDetailsArgs.builder()
.addressAllocationIds(addressAllocationIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.securityGroupIds(securityGroupIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subnetIds(subnetIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.vpcEndpointId(vpcEndpointId?.applyValue({ args0 -> args0 }))
.vpcId(vpcId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServerEndpointDetailsArgs].
*/
@PulumiTagMarker
public class ServerEndpointDetailsArgsBuilder internal constructor() {
private var addressAllocationIds: Output>? = null
private var securityGroupIds: Output>? = null
private var subnetIds: Output>? = null
private var vpcEndpointId: Output? = null
private var vpcId: Output? = null
/**
* @param value A list of address allocation IDs that are required to attach an Elastic IP address to your SFTP server's endpoint. This property can only be used when `endpoint_type` is set to `VPC`.
*/
@JvmName("xlkrsvmbsxajgdfj")
public suspend fun addressAllocationIds(`value`: Output>) {
this.addressAllocationIds = value
}
@JvmName("ytqtacsbgsqqshpn")
public suspend fun addressAllocationIds(vararg values: Output) {
this.addressAllocationIds = Output.all(values.asList())
}
/**
* @param values A list of address allocation IDs that are required to attach an Elastic IP address to your SFTP server's endpoint. This property can only be used when `endpoint_type` is set to `VPC`.
*/
@JvmName("bgqltbrodkhxvyjd")
public suspend fun addressAllocationIds(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy