All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.ec2.kotlin.VerifiedAccessEndpointArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ec2.kotlin

import com.pulumi.awsnative.ec2.VerifiedAccessEndpointArgs.builder
import com.pulumi.awsnative.ec2.kotlin.inputs.VerifiedAccessEndpointLoadBalancerOptionsArgs
import com.pulumi.awsnative.ec2.kotlin.inputs.VerifiedAccessEndpointLoadBalancerOptionsArgsBuilder
import com.pulumi.awsnative.ec2.kotlin.inputs.VerifiedAccessEndpointNetworkInterfaceOptionsArgs
import com.pulumi.awsnative.ec2.kotlin.inputs.VerifiedAccessEndpointNetworkInterfaceOptionsArgsBuilder
import com.pulumi.awsnative.ec2.kotlin.inputs.VerifiedAccessEndpointSseSpecificationArgs
import com.pulumi.awsnative.ec2.kotlin.inputs.VerifiedAccessEndpointSseSpecificationArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * The AWS::EC2::VerifiedAccessEndpoint resource creates an AWS EC2 Verified Access Endpoint.
 * @property applicationDomain The DNS name for users to reach your application.
 * @property attachmentType The type of attachment used to provide connectivity between the AWS Verified Access endpoint and the application.
 * @property description A description for the AWS Verified Access endpoint.
 * @property domainCertificateArn The ARN of a public TLS/SSL certificate imported into or created with ACM.
 * @property endpointDomainPrefix A custom identifier that gets prepended to a DNS name that is generated for the endpoint.
 * @property endpointType The type of AWS Verified Access endpoint. Incoming application requests will be sent to an IP address, load balancer or a network interface depending on the endpoint type specified.The type of AWS Verified Access endpoint. Incoming application requests will be sent to an IP address, load balancer or a network interface depending on the endpoint type specified.
 * @property loadBalancerOptions The load balancer details if creating the AWS Verified Access endpoint as load-balancer type.
 * @property networkInterfaceOptions The options for network-interface type endpoint.
 * @property policyDocument The AWS Verified Access policy document.
 * @property policyEnabled The status of the Verified Access policy.
 * @property securityGroupIds The IDs of the security groups for the endpoint.
 * @property sseSpecification The configuration options for customer provided KMS encryption.
 * @property tags An array of key-value pairs to apply to this resource.
 * @property verifiedAccessGroupId The ID of the AWS Verified Access group.
 */
public data class VerifiedAccessEndpointArgs(
    public val applicationDomain: Output? = null,
    public val attachmentType: Output? = null,
    public val description: Output? = null,
    public val domainCertificateArn: Output? = null,
    public val endpointDomainPrefix: Output? = null,
    public val endpointType: Output? = null,
    public val loadBalancerOptions: Output? = null,
    public val networkInterfaceOptions: Output? =
        null,
    public val policyDocument: Output? = null,
    public val policyEnabled: Output? = null,
    public val securityGroupIds: Output>? = null,
    public val sseSpecification: Output? = null,
    public val tags: Output>? = null,
    public val verifiedAccessGroupId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ec2.VerifiedAccessEndpointArgs =
        com.pulumi.awsnative.ec2.VerifiedAccessEndpointArgs.builder()
            .applicationDomain(applicationDomain?.applyValue({ args0 -> args0 }))
            .attachmentType(attachmentType?.applyValue({ args0 -> args0 }))
            .description(description?.applyValue({ args0 -> args0 }))
            .domainCertificateArn(domainCertificateArn?.applyValue({ args0 -> args0 }))
            .endpointDomainPrefix(endpointDomainPrefix?.applyValue({ args0 -> args0 }))
            .endpointType(endpointType?.applyValue({ args0 -> args0 }))
            .loadBalancerOptions(
                loadBalancerOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .networkInterfaceOptions(
                networkInterfaceOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .policyDocument(policyDocument?.applyValue({ args0 -> args0 }))
            .policyEnabled(policyEnabled?.applyValue({ args0 -> args0 }))
            .securityGroupIds(securityGroupIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .sseSpecification(sseSpecification?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .verifiedAccessGroupId(verifiedAccessGroupId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [VerifiedAccessEndpointArgs].
 */
@PulumiTagMarker
public class VerifiedAccessEndpointArgsBuilder internal constructor() {
    private var applicationDomain: Output? = null

    private var attachmentType: Output? = null

    private var description: Output? = null

    private var domainCertificateArn: Output? = null

    private var endpointDomainPrefix: Output? = null

    private var endpointType: Output? = null

    private var loadBalancerOptions: Output? = null

    private var networkInterfaceOptions: Output? =
        null

    private var policyDocument: Output? = null

    private var policyEnabled: Output? = null

    private var securityGroupIds: Output>? = null

    private var sseSpecification: Output? = null

    private var tags: Output>? = null

    private var verifiedAccessGroupId: Output? = null

    /**
     * @param value The DNS name for users to reach your application.
     */
    @JvmName("tyyawuchkvpkbptq")
    public suspend fun applicationDomain(`value`: Output) {
        this.applicationDomain = value
    }

    /**
     * @param value The type of attachment used to provide connectivity between the AWS Verified Access endpoint and the application.
     */
    @JvmName("adplncudsgenhxjk")
    public suspend fun attachmentType(`value`: Output) {
        this.attachmentType = value
    }

    /**
     * @param value A description for the AWS Verified Access endpoint.
     */
    @JvmName("yvumxnodvjvjpgjq")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The ARN of a public TLS/SSL certificate imported into or created with ACM.
     */
    @JvmName("dntloglliybxbldr")
    public suspend fun domainCertificateArn(`value`: Output) {
        this.domainCertificateArn = value
    }

    /**
     * @param value A custom identifier that gets prepended to a DNS name that is generated for the endpoint.
     */
    @JvmName("ejyuokmxcomevada")
    public suspend fun endpointDomainPrefix(`value`: Output) {
        this.endpointDomainPrefix = value
    }

    /**
     * @param value The type of AWS Verified Access endpoint. Incoming application requests will be sent to an IP address, load balancer or a network interface depending on the endpoint type specified.The type of AWS Verified Access endpoint. Incoming application requests will be sent to an IP address, load balancer or a network interface depending on the endpoint type specified.
     */
    @JvmName("lprtcbqrjytrdixm")
    public suspend fun endpointType(`value`: Output) {
        this.endpointType = value
    }

    /**
     * @param value The load balancer details if creating the AWS Verified Access endpoint as load-balancer type.
     */
    @JvmName("nyproumpkhswbeie")
    public suspend fun loadBalancerOptions(`value`: Output) {
        this.loadBalancerOptions = value
    }

    /**
     * @param value The options for network-interface type endpoint.
     */
    @JvmName("ubgyauxpqgbhbpvj")
    public suspend fun networkInterfaceOptions(`value`: Output) {
        this.networkInterfaceOptions = value
    }

    /**
     * @param value The AWS Verified Access policy document.
     */
    @JvmName("vyxlvmhkxmqxaimk")
    public suspend fun policyDocument(`value`: Output) {
        this.policyDocument = value
    }

    /**
     * @param value The status of the Verified Access policy.
     */
    @JvmName("getphmulhaxwlqiq")
    public suspend fun policyEnabled(`value`: Output) {
        this.policyEnabled = value
    }

    /**
     * @param value The IDs of the security groups for the endpoint.
     */
    @JvmName("glqpswxophdmanfs")
    public suspend fun securityGroupIds(`value`: Output>) {
        this.securityGroupIds = value
    }

    @JvmName("hjbnhxwdibaxjtco")
    public suspend fun securityGroupIds(vararg values: Output) {
        this.securityGroupIds = Output.all(values.asList())
    }

    /**
     * @param values The IDs of the security groups for the endpoint.
     */
    @JvmName("oogbadaejmmuafcm")
    public suspend fun securityGroupIds(values: List>) {
        this.securityGroupIds = Output.all(values)
    }

    /**
     * @param value The configuration options for customer provided KMS encryption.
     */
    @JvmName("tulokspayknmeews")
    public suspend fun sseSpecification(`value`: Output) {
        this.sseSpecification = value
    }

    /**
     * @param value An array of key-value pairs to apply to this resource.
     */
    @JvmName("vjlccaahawfcvhkx")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    @JvmName("skdosmovewunqqgw")
    public suspend fun tags(vararg values: Output) {
        this.tags = Output.all(values.asList())
    }

    /**
     * @param values An array of key-value pairs to apply to this resource.
     */
    @JvmName("noxpgtntpvgbfawn")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value The ID of the AWS Verified Access group.
     */
    @JvmName("ecgkeranjxpgblqx")
    public suspend fun verifiedAccessGroupId(`value`: Output) {
        this.verifiedAccessGroupId = value
    }

    /**
     * @param value The DNS name for users to reach your application.
     */
    @JvmName("krysrhspckkpngna")
    public suspend fun applicationDomain(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.applicationDomain = mapped
    }

    /**
     * @param value The type of attachment used to provide connectivity between the AWS Verified Access endpoint and the application.
     */
    @JvmName("cimqamwlflnifvmd")
    public suspend fun attachmentType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.attachmentType = mapped
    }

    /**
     * @param value A description for the AWS Verified Access endpoint.
     */
    @JvmName("vhmdxyaddncprbnj")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The ARN of a public TLS/SSL certificate imported into or created with ACM.
     */
    @JvmName("ppqivjqubbitnobf")
    public suspend fun domainCertificateArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.domainCertificateArn = mapped
    }

    /**
     * @param value A custom identifier that gets prepended to a DNS name that is generated for the endpoint.
     */
    @JvmName("yilheqsxfbaxjxmp")
    public suspend fun endpointDomainPrefix(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endpointDomainPrefix = mapped
    }

    /**
     * @param value The type of AWS Verified Access endpoint. Incoming application requests will be sent to an IP address, load balancer or a network interface depending on the endpoint type specified.The type of AWS Verified Access endpoint. Incoming application requests will be sent to an IP address, load balancer or a network interface depending on the endpoint type specified.
     */
    @JvmName("mfmovinnnkiktdxh")
    public suspend fun endpointType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endpointType = mapped
    }

    /**
     * @param value The load balancer details if creating the AWS Verified Access endpoint as load-balancer type.
     */
    @JvmName("lkjcdarxijmlbeci")
    public suspend fun loadBalancerOptions(`value`: VerifiedAccessEndpointLoadBalancerOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.loadBalancerOptions = mapped
    }

    /**
     * @param argument The load balancer details if creating the AWS Verified Access endpoint as load-balancer type.
     */
    @JvmName("ugbrksycphmlvysp")
    public suspend fun loadBalancerOptions(argument: suspend VerifiedAccessEndpointLoadBalancerOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = VerifiedAccessEndpointLoadBalancerOptionsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.loadBalancerOptions = mapped
    }

    /**
     * @param value The options for network-interface type endpoint.
     */
    @JvmName("dnrljqdrklghswgx")
    public suspend fun networkInterfaceOptions(`value`: VerifiedAccessEndpointNetworkInterfaceOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.networkInterfaceOptions = mapped
    }

    /**
     * @param argument The options for network-interface type endpoint.
     */
    @JvmName("ndlgtskwktlsirgt")
    public suspend fun networkInterfaceOptions(argument: suspend VerifiedAccessEndpointNetworkInterfaceOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = VerifiedAccessEndpointNetworkInterfaceOptionsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.networkInterfaceOptions = mapped
    }

    /**
     * @param value The AWS Verified Access policy document.
     */
    @JvmName("wyvdnfgekxkvkxrc")
    public suspend fun policyDocument(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.policyDocument = mapped
    }

    /**
     * @param value The status of the Verified Access policy.
     */
    @JvmName("xrikcxwsukwrmupc")
    public suspend fun policyEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.policyEnabled = mapped
    }

    /**
     * @param value The IDs of the security groups for the endpoint.
     */
    @JvmName("aetssbbimdpkpnyk")
    public suspend fun securityGroupIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.securityGroupIds = mapped
    }

    /**
     * @param values The IDs of the security groups for the endpoint.
     */
    @JvmName("bvjeugiflkkxowso")
    public suspend fun securityGroupIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.securityGroupIds = mapped
    }

    /**
     * @param value The configuration options for customer provided KMS encryption.
     */
    @JvmName("fuwsjlakgnpnljla")
    public suspend fun sseSpecification(`value`: VerifiedAccessEndpointSseSpecificationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sseSpecification = mapped
    }

    /**
     * @param argument The configuration options for customer provided KMS encryption.
     */
    @JvmName("pdxacikksaqqdqmj")
    public suspend fun sseSpecification(argument: suspend VerifiedAccessEndpointSseSpecificationArgsBuilder.() -> Unit) {
        val toBeMapped = VerifiedAccessEndpointSseSpecificationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.sseSpecification = mapped
    }

    /**
     * @param value An array of key-value pairs to apply to this resource.
     */
    @JvmName("arhwatqujnxkkljw")
    public suspend fun tags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("ixehkgpvochssjwx")
    public suspend fun tags(argument: List Unit>) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("qxshpxrmlmvsdmwu")
    public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("hvwuquflvqbufkgs")
    public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param values An array of key-value pairs to apply to this resource.
     */
    @JvmName("vilelkgdilcfhcmi")
    public suspend fun tags(vararg values: TagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value The ID of the AWS Verified Access group.
     */
    @JvmName("hloeeagpisldonoy")
    public suspend fun verifiedAccessGroupId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.verifiedAccessGroupId = mapped
    }

    internal fun build(): VerifiedAccessEndpointArgs = VerifiedAccessEndpointArgs(
        applicationDomain = applicationDomain,
        attachmentType = attachmentType,
        description = description,
        domainCertificateArn = domainCertificateArn,
        endpointDomainPrefix = endpointDomainPrefix,
        endpointType = endpointType,
        loadBalancerOptions = loadBalancerOptions,
        networkInterfaceOptions = networkInterfaceOptions,
        policyDocument = policyDocument,
        policyEnabled = policyEnabled,
        securityGroupIds = securityGroupIds,
        sseSpecification = sseSpecification,
        tags = tags,
        verifiedAccessGroupId = verifiedAccessGroupId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy