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

com.pulumi.awsnative.globalaccelerator.kotlin.outputs.CrossAccountAttachmentResource.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.globalaccelerator.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * ARN of resource to share.
 * @property endpointId The endpoint ID for the endpoint that is specified as a AWS resource.
 * An endpoint ID for the cross-account feature is the ARN of an AWS resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.
 * @property region The AWS Region where a shared endpoint resource is located.
 */
public data class CrossAccountAttachmentResource(
    public val endpointId: String,
    public val region: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.globalaccelerator.outputs.CrossAccountAttachmentResource): CrossAccountAttachmentResource = CrossAccountAttachmentResource(
            endpointId = javaType.endpointId(),
            region = javaType.region().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy