![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.apigatewayv2.kotlin.outputs.DomainNameConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.apigatewayv2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* The ``DomainNameConfiguration`` property type specifies the configuration for an API's domain name.
* ``DomainNameConfiguration`` is a property of the [AWS::ApiGatewayV2::DomainName](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html) resource.
* @property certificateArn An AWS-managed certificate that will be used by the edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.
* @property certificateName The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.
* @property endpointType The endpoint type.
* @property ownershipVerificationCertificateArn The Amazon resource name (ARN) for the public certificate issued by ACMlong. This ARN is used to validate custom domain ownership. It's required only if you configure mutual TLS and use either an ACM-imported or a private CA certificate ARN as the regionalCertificateArn.
* @property securityPolicy The Transport Layer Security (TLS) version of the security policy for this domain name. The valid values are ``TLS_1_0`` and ``TLS_1_2``.
*/
public data class DomainNameConfiguration(
public val certificateArn: String? = null,
public val certificateName: String? = null,
public val endpointType: String? = null,
public val ownershipVerificationCertificateArn: String? = null,
public val securityPolicy: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.apigatewayv2.outputs.DomainNameConfiguration): DomainNameConfiguration = DomainNameConfiguration(
certificateArn = javaType.certificateArn().map({ args0 -> args0 }).orElse(null),
certificateName = javaType.certificateName().map({ args0 -> args0 }).orElse(null),
endpointType = javaType.endpointType().map({ args0 -> args0 }).orElse(null),
ownershipVerificationCertificateArn = javaType.ownershipVerificationCertificateArn().map({ args0 ->
args0
}).orElse(null),
securityPolicy = javaType.securityPolicy().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy