
com.pulumi.awsnative.redshift.kotlin.outputs.GetEndpointAccessResult.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.redshift.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property address The DNS address of the endpoint.
* @property endpointCreateTime The time (UTC) that the endpoint was created.
* @property endpointStatus The status of the endpoint.
* @property port The port number on which the cluster accepts incoming connections.
* @property vpcEndpoint The connection endpoint for connecting to an Amazon Redshift cluster through the proxy.
* @property vpcSecurityGroupIds A list of vpc security group ids to apply to the created endpoint access.
* @property vpcSecurityGroups A list of Virtual Private Cloud (VPC) security groups to be associated with the endpoint.
*/
public data class GetEndpointAccessResult(
public val address: String? = null,
public val endpointCreateTime: String? = null,
public val endpointStatus: String? = null,
public val port: Int? = null,
public val vpcEndpoint: VpcEndpointProperties? = null,
public val vpcSecurityGroupIds: List? = null,
public val vpcSecurityGroups: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.redshift.outputs.GetEndpointAccessResult): GetEndpointAccessResult = GetEndpointAccessResult(
address = javaType.address().map({ args0 -> args0 }).orElse(null),
endpointCreateTime = javaType.endpointCreateTime().map({ args0 -> args0 }).orElse(null),
endpointStatus = javaType.endpointStatus().map({ args0 -> args0 }).orElse(null),
port = javaType.port().map({ args0 -> args0 }).orElse(null),
vpcEndpoint = javaType.vpcEndpoint().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.redshift.kotlin.outputs.VpcEndpointProperties.Companion.toKotlin(args0)
})
}).orElse(null),
vpcSecurityGroupIds = javaType.vpcSecurityGroupIds().map({ args0 -> args0 }),
vpcSecurityGroups = javaType.vpcSecurityGroups().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.redshift.kotlin.outputs.EndpointAccessVpcSecurityGroup.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy