com.pulumi.awsnative.ec2.kotlin.VerifiedAccessInstanceArgs.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.ec2.kotlin
import com.pulumi.awsnative.ec2.VerifiedAccessInstanceArgs.builder
import com.pulumi.awsnative.ec2.kotlin.inputs.VerifiedAccessInstanceVerifiedAccessLogsArgs
import com.pulumi.awsnative.ec2.kotlin.inputs.VerifiedAccessInstanceVerifiedAccessLogsArgsBuilder
import com.pulumi.awsnative.ec2.kotlin.inputs.VerifiedAccessInstanceVerifiedAccessTrustProviderArgs
import com.pulumi.awsnative.ec2.kotlin.inputs.VerifiedAccessInstanceVerifiedAccessTrustProviderArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The AWS::EC2::VerifiedAccessInstance resource creates an AWS EC2 Verified Access Instance.
* @property description A description for the AWS Verified Access instance.
* @property fipsEnabled Indicates whether FIPS is enabled
* @property loggingConfigurations The configuration options for AWS Verified Access instances.
* @property tags An array of key-value pairs to apply to this resource.
* @property verifiedAccessTrustProviderIds The IDs of the AWS Verified Access trust providers.
* @property verifiedAccessTrustProviders AWS Verified Access trust providers.
*/
public data class VerifiedAccessInstanceArgs(
public val description: Output? = null,
public val fipsEnabled: Output? = null,
public val loggingConfigurations: Output? = null,
public val tags: Output>? = null,
public val verifiedAccessTrustProviderIds: Output>? = null,
public val verifiedAccessTrustProviders: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.VerifiedAccessInstanceArgs =
com.pulumi.awsnative.ec2.VerifiedAccessInstanceArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.fipsEnabled(fipsEnabled?.applyValue({ args0 -> args0 }))
.loggingConfigurations(
loggingConfigurations?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.verifiedAccessTrustProviderIds(
verifiedAccessTrustProviderIds?.applyValue({ args0 ->
args0.map({ args0 -> args0 })
}),
)
.verifiedAccessTrustProviders(
verifiedAccessTrustProviders?.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
).build()
}
/**
* Builder for [VerifiedAccessInstanceArgs].
*/
@PulumiTagMarker
public class VerifiedAccessInstanceArgsBuilder internal constructor() {
private var description: Output? = null
private var fipsEnabled: Output? = null
private var loggingConfigurations: Output? = null
private var tags: Output>? = null
private var verifiedAccessTrustProviderIds: Output>? = null
private var verifiedAccessTrustProviders:
Output>? = null
/**
* @param value A description for the AWS Verified Access instance.
*/
@JvmName("yltkpesdvjrkjkit")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Indicates whether FIPS is enabled
*/
@JvmName("qbbyfbucrvpipvxp")
public suspend fun fipsEnabled(`value`: Output) {
this.fipsEnabled = value
}
/**
* @param value The configuration options for AWS Verified Access instances.
*/
@JvmName("hoaqmjpxhqxrgmff")
public suspend fun loggingConfigurations(`value`: Output) {
this.loggingConfigurations = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("wshdgymslvmforyw")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("uuqcrttewthivlnp")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this resource.
*/
@JvmName("pxaguwelvldfwqpm")
public suspend fun tags(values: List