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

com.pulumi.awsnative.networkmanager.kotlin.outputs.GetSiteToSiteVpnAttachmentResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.networkmanager.kotlin.outputs

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

/**
 *
 * @property attachmentId The ID of the attachment.
 * @property attachmentPolicyRuleNumber The policy rule number associated with the attachment.
 * @property attachmentType The type of attachment.
 * @property coreNetworkArn The ARN of a core network for the VPC attachment.
 * @property createdAt Creation time of the attachment.
 * @property edgeLocation The Region where the edge is located.
 * @property networkFunctionGroupName The name of the network function group attachment.
 * @property ownerAccountId Owner account of the attachment.
 * @property proposedNetworkFunctionGroupChange The attachment to move from one network function group to another.
 * @property proposedSegmentChange The attachment to move from one segment to another.
 * @property resourceArn The ARN of the Resource.
 * @property segmentName The name of the segment that attachment is in.
 * @property state The state of the attachment.
 * @property tags Tags for the attachment.
 * @property updatedAt Last update time of the attachment.
 */
public data class GetSiteToSiteVpnAttachmentResult(
    public val attachmentId: String? = null,
    public val attachmentPolicyRuleNumber: Int? = null,
    public val attachmentType: String? = null,
    public val coreNetworkArn: String? = null,
    public val createdAt: String? = null,
    public val edgeLocation: String? = null,
    public val networkFunctionGroupName: String? = null,
    public val ownerAccountId: String? = null,
    public val proposedNetworkFunctionGroupChange: SiteToSiteVpnAttachmentProposedNetworkFunctionGroupChange? = null,
    public val proposedSegmentChange: SiteToSiteVpnAttachmentProposedSegmentChange? = null,
    public val resourceArn: String? = null,
    public val segmentName: String? = null,
    public val state: String? = null,
    public val tags: List? = null,
    public val updatedAt: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.networkmanager.outputs.GetSiteToSiteVpnAttachmentResult): GetSiteToSiteVpnAttachmentResult = GetSiteToSiteVpnAttachmentResult(
            attachmentId = javaType.attachmentId().map({ args0 -> args0 }).orElse(null),
            attachmentPolicyRuleNumber = javaType.attachmentPolicyRuleNumber().map({ args0 ->
                args0
            }).orElse(null),
            attachmentType = javaType.attachmentType().map({ args0 -> args0 }).orElse(null),
            coreNetworkArn = javaType.coreNetworkArn().map({ args0 -> args0 }).orElse(null),
            createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
            edgeLocation = javaType.edgeLocation().map({ args0 -> args0 }).orElse(null),
            networkFunctionGroupName = javaType.networkFunctionGroupName().map({ args0 -> args0 }).orElse(null),
            ownerAccountId = javaType.ownerAccountId().map({ args0 -> args0 }).orElse(null),
            proposedNetworkFunctionGroupChange = javaType.proposedNetworkFunctionGroupChange().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.networkmanager.kotlin.outputs.SiteToSiteVpnAttachmentProposedNetworkFunctionGroupChange.Companion.toKotlin(args0)
                })
            }).orElse(null),
            proposedSegmentChange = javaType.proposedSegmentChange().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.networkmanager.kotlin.outputs.SiteToSiteVpnAttachmentProposedSegmentChange.Companion.toKotlin(args0)
                })
            }).orElse(null),
            resourceArn = javaType.resourceArn().map({ args0 -> args0 }).orElse(null),
            segmentName = javaType.segmentName().map({ args0 -> args0 }).orElse(null),
            state = javaType.state().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            updatedAt = javaType.updatedAt().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy