![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ec2.kotlin.VerifiedAccessEndpoint.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin
import com.pulumi.awsnative.ec2.kotlin.outputs.VerifiedAccessEndpointLoadBalancerOptions
import com.pulumi.awsnative.ec2.kotlin.outputs.VerifiedAccessEndpointNetworkInterfaceOptions
import com.pulumi.awsnative.ec2.kotlin.outputs.VerifiedAccessEndpointSseSpecification
import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.core.Output
import com.pulumi.kotlin.KotlinCustomResource
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.ResourceMapper
import com.pulumi.kotlin.options.CustomResourceOptions
import com.pulumi.kotlin.options.CustomResourceOptionsBuilder
import com.pulumi.resources.Resource
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import com.pulumi.awsnative.ec2.kotlin.outputs.VerifiedAccessEndpointLoadBalancerOptions.Companion.toKotlin as verifiedAccessEndpointLoadBalancerOptionsToKotlin
import com.pulumi.awsnative.ec2.kotlin.outputs.VerifiedAccessEndpointNetworkInterfaceOptions.Companion.toKotlin as verifiedAccessEndpointNetworkInterfaceOptionsToKotlin
import com.pulumi.awsnative.ec2.kotlin.outputs.VerifiedAccessEndpointSseSpecification.Companion.toKotlin as verifiedAccessEndpointSseSpecificationToKotlin
import com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin as tagToKotlin
/**
* Builder for [VerifiedAccessEndpoint].
*/
@PulumiTagMarker
public class VerifiedAccessEndpointResourceBuilder internal constructor() {
public var name: String? = null
public var args: VerifiedAccessEndpointArgs = VerifiedAccessEndpointArgs()
public var opts: CustomResourceOptions = CustomResourceOptions()
/**
* @param name The _unique_ name of the resulting resource.
*/
public fun name(`value`: String) {
this.name = value
}
/**
* @param block The arguments to use to populate this resource's properties.
*/
public suspend fun args(block: suspend VerifiedAccessEndpointArgsBuilder.() -> Unit) {
val builder = VerifiedAccessEndpointArgsBuilder()
block(builder)
this.args = builder.build()
}
/**
* @param block A bag of options that control this resource's behavior.
*/
public suspend fun opts(block: suspend CustomResourceOptionsBuilder.() -> Unit) {
this.opts = com.pulumi.kotlin.options.CustomResourceOptions.opts(block)
}
internal fun build(): VerifiedAccessEndpoint {
val builtJavaResource = com.pulumi.awsnative.ec2.VerifiedAccessEndpoint(
this.name,
this.args.toJava(),
this.opts.toJava(),
)
return VerifiedAccessEndpoint(builtJavaResource)
}
}
/**
* The AWS::EC2::VerifiedAccessEndpoint resource creates an AWS EC2 Verified Access Endpoint.
*/
public class VerifiedAccessEndpoint internal constructor(
override val javaResource: com.pulumi.awsnative.ec2.VerifiedAccessEndpoint,
) : KotlinCustomResource(javaResource, VerifiedAccessEndpointMapper) {
/**
* The DNS name for users to reach your application.
*/
public val applicationDomain: Output
get() = javaResource.applicationDomain().applyValue({ args0 -> args0 })
/**
* The type of attachment used to provide connectivity between the AWS Verified Access endpoint and the application.
*/
public val attachmentType: Output
get() = javaResource.attachmentType().applyValue({ args0 -> args0 })
/**
* The creation time.
*/
public val creationTime: Output
get() = javaResource.creationTime().applyValue({ args0 -> args0 })
/**
* A description for the AWS Verified Access endpoint.
*/
public val description: Output?
get() = javaResource.description().applyValue({ args0 ->
args0.map({ args0 ->
args0
}).orElse(null)
})
/**
* Returned if endpoint has a device trust provider attached.
*/
public val deviceValidationDomain: Output
get() = javaResource.deviceValidationDomain().applyValue({ args0 -> args0 })
/**
* The ARN of a public TLS/SSL certificate imported into or created with ACM.
*/
public val domainCertificateArn: Output
get() = javaResource.domainCertificateArn().applyValue({ args0 -> args0 })
/**
* A DNS name that is generated for the endpoint.
*/
public val endpointDomain: Output
get() = javaResource.endpointDomain().applyValue({ args0 -> args0 })
/**
* A custom identifier that gets prepended to a DNS name that is generated for the endpoint.
*/
public val endpointDomainPrefix: Output
get() = javaResource.endpointDomainPrefix().applyValue({ args0 -> args0 })
/**
* The type of AWS Verified Access endpoint. Incoming application requests will be sent to an IP address, load balancer or a network interface depending on the endpoint type specified.The type of AWS Verified Access endpoint. Incoming application requests will be sent to an IP address, load balancer or a network interface depending on the endpoint type specified.
*/
public val endpointType: Output
get() = javaResource.endpointType().applyValue({ args0 -> args0 })
/**
* The last updated time.
*/
public val lastUpdatedTime: Output
get() = javaResource.lastUpdatedTime().applyValue({ args0 -> args0 })
/**
* The load balancer details if creating the AWS Verified Access endpoint as load-balancer type.
*/
public val loadBalancerOptions: Output?
get() = javaResource.loadBalancerOptions().applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
verifiedAccessEndpointLoadBalancerOptionsToKotlin(args0)
})
}).orElse(null)
})
/**
* The options for network-interface type endpoint.
*/
public val networkInterfaceOptions: Output?
get() = javaResource.networkInterfaceOptions().applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
verifiedAccessEndpointNetworkInterfaceOptionsToKotlin(args0)
})
}).orElse(null)
})
/**
* The AWS Verified Access policy document.
*/
public val policyDocument: Output?
get() = javaResource.policyDocument().applyValue({ args0 ->
args0.map({ args0 ->
args0
}).orElse(null)
})
/**
* The status of the Verified Access policy.
*/
public val policyEnabled: Output?
get() = javaResource.policyEnabled().applyValue({ args0 ->
args0.map({ args0 ->
args0
}).orElse(null)
})
/**
* The IDs of the security groups for the endpoint.
*/
public val securityGroupIds: Output>?
get() = javaResource.securityGroupIds().applyValue({ args0 ->
args0.map({ args0 ->
args0.map({ args0 -> args0 })
}).orElse(null)
})
/**
* The configuration options for customer provided KMS encryption.
*/
public val sseSpecification: Output?
get() = javaResource.sseSpecification().applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> verifiedAccessEndpointSseSpecificationToKotlin(args0) })
}).orElse(null)
})
/**
* The endpoint status.
*/
public val status: Output
get() = javaResource.status().applyValue({ args0 -> args0 })
/**
* An array of key-value pairs to apply to this resource.
*/
public val tags: Output>?
get() = javaResource.tags().applyValue({ args0 ->
args0.map({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> tagToKotlin(args0) })
})
}).orElse(null)
})
/**
* The ID of the AWS Verified Access endpoint.
*/
public val verifiedAccessEndpointId: Output
get() = javaResource.verifiedAccessEndpointId().applyValue({ args0 -> args0 })
/**
* The ID of the AWS Verified Access group.
*/
public val verifiedAccessGroupId: Output
get() = javaResource.verifiedAccessGroupId().applyValue({ args0 -> args0 })
/**
* The ID of the AWS Verified Access instance.
*/
public val verifiedAccessInstanceId: Output
get() = javaResource.verifiedAccessInstanceId().applyValue({ args0 -> args0 })
}
public object VerifiedAccessEndpointMapper : ResourceMapper {
override fun supportsMappingOfType(javaResource: Resource): Boolean =
com.pulumi.awsnative.ec2.VerifiedAccessEndpoint::class == javaResource::class
override fun map(javaResource: Resource): VerifiedAccessEndpoint =
VerifiedAccessEndpoint(javaResource as com.pulumi.awsnative.ec2.VerifiedAccessEndpoint)
}
/**
* @see [VerifiedAccessEndpoint].
* @param name The _unique_ name of the resulting resource.
* @param block Builder for [VerifiedAccessEndpoint].
*/
public suspend fun verifiedAccessEndpoint(
name: String,
block: suspend VerifiedAccessEndpointResourceBuilder.() -> Unit,
): VerifiedAccessEndpoint {
val builder = VerifiedAccessEndpointResourceBuilder()
builder.name(name)
block(builder)
return builder.build()
}
/**
* @see [VerifiedAccessEndpoint].
* @param name The _unique_ name of the resulting resource.
*/
public fun verifiedAccessEndpoint(name: String): VerifiedAccessEndpoint {
val builder = VerifiedAccessEndpointResourceBuilder()
builder.name(name)
return builder.build()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy