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

com.pulumi.awsnative.redshift.kotlin.outputs.GetEndpointAuthorizationResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.redshift.kotlin.outputs

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

/**
 *
 * @property allowedAllVpcs Indicates whether all VPCs in the grantee account are allowed access to the cluster.
 * @property allowedVpcs The VPCs allowed access to the cluster.
 * @property authorizeTime The time (UTC) when the authorization was created.
 * @property clusterStatus The status of the cluster.
 * @property endpointCount The number of Redshift-managed VPC endpoints created for the authorization.
 * @property grantee The AWS account ID of the grantee of the cluster.
 * @property grantor The AWS account ID of the cluster owner.
 * @property status The status of the authorization action.
 * @property vpcIds The virtual private cloud (VPC) identifiers to grant or revoke access to.
 */
public data class GetEndpointAuthorizationResult(
    public val allowedAllVpcs: Boolean? = null,
    public val allowedVpcs: List? = null,
    public val authorizeTime: String? = null,
    public val clusterStatus: String? = null,
    public val endpointCount: Int? = null,
    public val grantee: String? = null,
    public val grantor: String? = null,
    public val status: String? = null,
    public val vpcIds: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.redshift.outputs.GetEndpointAuthorizationResult): GetEndpointAuthorizationResult = GetEndpointAuthorizationResult(
            allowedAllVpcs = javaType.allowedAllVpcs().map({ args0 -> args0 }).orElse(null),
            allowedVpcs = javaType.allowedVpcs().map({ args0 -> args0 }),
            authorizeTime = javaType.authorizeTime().map({ args0 -> args0 }).orElse(null),
            clusterStatus = javaType.clusterStatus().map({ args0 -> args0 }).orElse(null),
            endpointCount = javaType.endpointCount().map({ args0 -> args0 }).orElse(null),
            grantee = javaType.grantee().map({ args0 -> args0 }).orElse(null),
            grantor = javaType.grantor().map({ args0 -> args0 }).orElse(null),
            status = javaType.status().map({ args0 -> args0 }).orElse(null),
            vpcIds = javaType.vpcIds().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy