
com.pulumi.awsnative.apigateway.kotlin.outputs.RestApiEndpointConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.apigateway.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* The ``EndpointConfiguration`` property type specifies the endpoint types of a REST API.
* ``EndpointConfiguration`` is a property of the [AWS::ApiGateway::RestApi](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html) resource.
* @property types A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is ``"EDGE"``. For a regional API and its custom domain name, the endpoint type is ``REGIONAL``. For a private API, the endpoint type is ``PRIVATE``.
* @property vpcEndpointIds A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for ``PRIVATE`` endpoint type.
*/
public data class RestApiEndpointConfiguration(
public val types: List? = null,
public val vpcEndpointIds: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.apigateway.outputs.RestApiEndpointConfiguration): RestApiEndpointConfiguration = RestApiEndpointConfiguration(
types = javaType.types().map({ args0 -> args0 }),
vpcEndpointIds = javaType.vpcEndpointIds().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy