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

com.pulumi.awsnative.neptunegraph.kotlin.outputs.GetGraphResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.neptunegraph.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property deletionProtection Value that indicates whether the Graph has deletion protection enabled. The graph can't be deleted when deletion protection is enabled.
 * _Default_: If not specified, the default value is true.
 * @property endpoint The connection endpoint for the graph. For example: `g-12a3bcdef4.us-east-1.neptune-graph.amazonaws.com`
 * @property graphArn Graph resource ARN
 * @property graphId The auto-generated id assigned by the service.
 * @property provisionedMemory Memory for the Graph.
 * @property publicConnectivity Specifies whether the Graph can be reached over the internet. Access to all graphs requires IAM authentication.
 * When the Graph is publicly reachable, its Domain Name System (DNS) endpoint resolves to the public IP address from the internet.
 * When the Graph isn't publicly reachable, you need to create a PrivateGraphEndpoint in a given VPC to ensure the DNS name resolves to a private IP address that is reachable from the VPC.
 * _Default_: If not specified, the default value is false.
 * @property tags The tags associated with this graph.
 */
public data class GetGraphResult(
    public val deletionProtection: Boolean? = null,
    public val endpoint: String? = null,
    public val graphArn: String? = null,
    public val graphId: String? = null,
    public val provisionedMemory: Int? = null,
    public val publicConnectivity: Boolean? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.neptunegraph.outputs.GetGraphResult): GetGraphResult = GetGraphResult(
            deletionProtection = javaType.deletionProtection().map({ args0 -> args0 }).orElse(null),
            endpoint = javaType.endpoint().map({ args0 -> args0 }).orElse(null),
            graphArn = javaType.graphArn().map({ args0 -> args0 }).orElse(null),
            graphId = javaType.graphId().map({ args0 -> args0 }).orElse(null),
            provisionedMemory = javaType.provisionedMemory().map({ args0 -> args0 }).orElse(null),
            publicConnectivity = javaType.publicConnectivity().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy