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

com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionX509DescriptionNameConstraint.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.certificateauthority.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property critical Indicates whether or not the name constraints are marked critical.
 * @property excludedDnsNames Contains excluded DNS names. Any DNS name that can be
 * constructed by simply adding zero or more labels to
 * the left-hand side of the name satisfies the name constraint.
 * For example, `example.com`, `www.example.com`, `www.sub.example.com`
 * would satisfy `example.com` while `example1.com` does not.
 * @property excludedEmailAddresses Contains the excluded email addresses. The value can be a particular
 * email address, a hostname to indicate all email addresses on that host or
 * a domain with a leading period (e.g. `.example.com`) to indicate
 * all email addresses in that domain.
 * @property excludedIpRanges Contains the excluded IP ranges. For IPv4 addresses, the ranges
 * are expressed using CIDR notation as specified in RFC 4632.
 * For IPv6 addresses, the ranges are expressed in similar encoding as IPv4
 * addresses.
 * @property excludedUris Contains the excluded URIs that apply to the host part of the name.
 * The value can be a hostname or a domain with a
 * leading period (like `.example.com`)
 * @property permittedDnsNames Contains permitted DNS names. Any DNS name that can be
 * constructed by simply adding zero or more labels to
 * the left-hand side of the name satisfies the name constraint.
 * For example, `example.com`, `www.example.com`, `www.sub.example.com`
 * would satisfy `example.com` while `example1.com` does not.
 * @property permittedEmailAddresses Contains the permitted email addresses. The value can be a particular
 * email address, a hostname to indicate all email addresses on that host or
 * a domain with a leading period (e.g. `.example.com`) to indicate
 * all email addresses in that domain.
 * @property permittedIpRanges Contains the permitted IP ranges. For IPv4 addresses, the ranges
 * are expressed using CIDR notation as specified in RFC 4632.
 * For IPv6 addresses, the ranges are expressed in similar encoding as IPv4
 * addresses.
 * @property permittedUris Contains the permitted URIs that apply to the host part of the name.
 * The value can be a hostname or a domain with a
 * leading period (like `.example.com`)
 */
public data class CertificateCertificateDescriptionX509DescriptionNameConstraint(
    public val critical: Boolean? = null,
    public val excludedDnsNames: List? = null,
    public val excludedEmailAddresses: List? = null,
    public val excludedIpRanges: List? = null,
    public val excludedUris: List? = null,
    public val permittedDnsNames: List? = null,
    public val permittedEmailAddresses: List? = null,
    public val permittedIpRanges: List? = null,
    public val permittedUris: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CertificateCertificateDescriptionX509DescriptionNameConstraint): CertificateCertificateDescriptionX509DescriptionNameConstraint =
            CertificateCertificateDescriptionX509DescriptionNameConstraint(
                critical = javaType.critical().map({ args0 -> args0 }).orElse(null),
                excludedDnsNames = javaType.excludedDnsNames().map({ args0 -> args0 }),
                excludedEmailAddresses = javaType.excludedEmailAddresses().map({ args0 -> args0 }),
                excludedIpRanges = javaType.excludedIpRanges().map({ args0 -> args0 }),
                excludedUris = javaType.excludedUris().map({ args0 -> args0 }),
                permittedDnsNames = javaType.permittedDnsNames().map({ args0 -> args0 }),
                permittedEmailAddresses = javaType.permittedEmailAddresses().map({ args0 -> args0 }),
                permittedIpRanges = javaType.permittedIpRanges().map({ args0 -> args0 }),
                permittedUris = javaType.permittedUris().map({ args0 -> args0 }),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy