
com.pulumi.awsnative.refactorspaces.kotlin.outputs.ApplicationApiGatewayProxyInput.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.refactorspaces.kotlin.outputs
import com.pulumi.awsnative.refactorspaces.kotlin.enums.ApplicationApiGatewayEndpointType
import kotlin.String
import kotlin.Suppress
/**
*
* @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 ApplicationApiGatewayProxyInput(
public val endpointType: ApplicationApiGatewayEndpointType? = null,
public val stageName: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.refactorspaces.outputs.ApplicationApiGatewayProxyInput): ApplicationApiGatewayProxyInput = ApplicationApiGatewayProxyInput(
endpointType = javaType.endpointType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.refactorspaces.kotlin.enums.ApplicationApiGatewayEndpointType.Companion.toKotlin(args0)
})
}).orElse(null),
stageName = javaType.stageName().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy