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

com.pulumi.awsnative.refactorspaces.kotlin.inputs.ApplicationApiGatewayProxyInputArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.refactorspaces.kotlin.inputs

import com.pulumi.awsnative.refactorspaces.inputs.ApplicationApiGatewayProxyInputArgs.builder
import com.pulumi.awsnative.refactorspaces.kotlin.enums.ApplicationApiGatewayEndpointType
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.jvm.JvmName

/**
 *
 * @property endpointType The type of endpoint to use for the API Gateway proxy. If no value is specified in the request, the value is set to `REGIONAL` by default.
 * If the value is set to `PRIVATE` in the request, this creates a private API endpoint that is isolated from the public internet. The private endpoint can only be accessed by using Amazon Virtual Private Cloud (Amazon VPC) interface endpoints for the Amazon API Gateway that has been granted access. For more information about creating a private connection with Refactor Spaces and interface endpoint ( AWS PrivateLink ) availability, see [Access Refactor Spaces using an interface endpoint ( AWS PrivateLink )](https://docs.aws.amazon.com/migrationhub-refactor-spaces/latest/userguide/vpc-interface-endpoints.html) .
 * @property stageName The name of the API Gateway stage. The name defaults to `prod` .
 */
public data class ApplicationApiGatewayProxyInputArgs(
    public val endpointType: Output? = null,
    public val stageName: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.refactorspaces.inputs.ApplicationApiGatewayProxyInputArgs =
        com.pulumi.awsnative.refactorspaces.inputs.ApplicationApiGatewayProxyInputArgs.builder()
            .endpointType(endpointType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .stageName(stageName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApplicationApiGatewayProxyInputArgs].
 */
@PulumiTagMarker
public class ApplicationApiGatewayProxyInputArgsBuilder internal constructor() {
    private var endpointType: Output? = null

    private var stageName: Output? = null

    /**
     * @param value The type of endpoint to use for the API Gateway proxy. If no value is specified in the request, the value is set to `REGIONAL` by default.
     * If the value is set to `PRIVATE` in the request, this creates a private API endpoint that is isolated from the public internet. The private endpoint can only be accessed by using Amazon Virtual Private Cloud (Amazon VPC) interface endpoints for the Amazon API Gateway that has been granted access. For more information about creating a private connection with Refactor Spaces and interface endpoint ( AWS PrivateLink ) availability, see [Access Refactor Spaces using an interface endpoint ( AWS PrivateLink )](https://docs.aws.amazon.com/migrationhub-refactor-spaces/latest/userguide/vpc-interface-endpoints.html) .
     */
    @JvmName("vririqjlnsptejqd")
    public suspend fun endpointType(`value`: Output) {
        this.endpointType = value
    }

    /**
     * @param value The name of the API Gateway stage. The name defaults to `prod` .
     */
    @JvmName("stwxhooysddgvpvb")
    public suspend fun stageName(`value`: Output) {
        this.stageName = value
    }

    /**
     * @param value The type of endpoint to use for the API Gateway proxy. If no value is specified in the request, the value is set to `REGIONAL` by default.
     * If the value is set to `PRIVATE` in the request, this creates a private API endpoint that is isolated from the public internet. The private endpoint can only be accessed by using Amazon Virtual Private Cloud (Amazon VPC) interface endpoints for the Amazon API Gateway that has been granted access. For more information about creating a private connection with Refactor Spaces and interface endpoint ( AWS PrivateLink ) availability, see [Access Refactor Spaces using an interface endpoint ( AWS PrivateLink )](https://docs.aws.amazon.com/migrationhub-refactor-spaces/latest/userguide/vpc-interface-endpoints.html) .
     */
    @JvmName("qlikrjhfuyfokfww")
    public suspend fun endpointType(`value`: ApplicationApiGatewayEndpointType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endpointType = mapped
    }

    /**
     * @param value The name of the API Gateway stage. The name defaults to `prod` .
     */
    @JvmName("aqpopmhjatudlous")
    public suspend fun stageName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.stageName = mapped
    }

    internal fun build(): ApplicationApiGatewayProxyInputArgs = ApplicationApiGatewayProxyInputArgs(
        endpointType = endpointType,
        stageName = stageName,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy