
com.pulumi.awsnative.apigatewayv2.kotlin.outputs.ApiBodyS3Location.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.apigatewayv2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* The ``BodyS3Location`` property specifies an S3 location from which to import an OpenAPI definition. Supported only for HTTP APIs.
* @property bucket The S3 bucket that contains the OpenAPI definition to import. Required if you specify a ``BodyS3Location`` for an API.
* @property etag The Etag of the S3 object.
* @property key The key of the S3 object. Required if you specify a ``BodyS3Location`` for an API.
* @property version The version of the S3 object.
*/
public data class ApiBodyS3Location(
public val bucket: String? = null,
public val etag: String? = null,
public val key: String? = null,
public val version: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.apigatewayv2.outputs.ApiBodyS3Location): ApiBodyS3Location = ApiBodyS3Location(
bucket = javaType.bucket().map({ args0 -> args0 }).orElse(null),
etag = javaType.etag().map({ args0 -> args0 }).orElse(null),
key = javaType.key().map({ args0 -> args0 }).orElse(null),
version = javaType.version().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy