com.pulumi.awsnative.ec2.kotlin.VerifiedAccessGroupArgs.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.VerifiedAccessGroupArgs.builder
import com.pulumi.awsnative.ec2.kotlin.inputs.VerifiedAccessGroupSseSpecificationArgs
import com.pulumi.awsnative.ec2.kotlin.inputs.VerifiedAccessGroupSseSpecificationArgsBuilder
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::VerifiedAccessGroup resource creates an AWS EC2 Verified Access Group.
* @property description A description for the AWS Verified Access group.
* @property policyDocument The AWS Verified Access policy document.
* @property policyEnabled The status of the Verified Access policy.
* @property sseSpecification The configuration options for customer provided KMS encryption.
* @property tags An array of key-value pairs to apply to this resource.
* @property verifiedAccessInstanceId The ID of the AWS Verified Access instance.
*/
public data class VerifiedAccessGroupArgs(
public val description: Output? = null,
public val policyDocument: Output? = null,
public val policyEnabled: Output? = null,
public val sseSpecification: Output? = null,
public val tags: Output>? = null,
public val verifiedAccessInstanceId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.VerifiedAccessGroupArgs =
com.pulumi.awsnative.ec2.VerifiedAccessGroupArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.policyDocument(policyDocument?.applyValue({ args0 -> args0 }))
.policyEnabled(policyEnabled?.applyValue({ args0 -> args0 }))
.sseSpecification(sseSpecification?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.verifiedAccessInstanceId(verifiedAccessInstanceId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VerifiedAccessGroupArgs].
*/
@PulumiTagMarker
public class VerifiedAccessGroupArgsBuilder internal constructor() {
private var description: Output? = null
private var policyDocument: Output? = null
private var policyEnabled: Output? = null
private var sseSpecification: Output? = null
private var tags: Output>? = null
private var verifiedAccessInstanceId: Output? = null
/**
* @param value A description for the AWS Verified Access group.
*/
@JvmName("iwpvchixtgsotwdx")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The AWS Verified Access policy document.
*/
@JvmName("pjgcxnhkhxtshfnm")
public suspend fun policyDocument(`value`: Output) {
this.policyDocument = value
}
/**
* @param value The status of the Verified Access policy.
*/
@JvmName("jqbbofgcbdiiiebt")
public suspend fun policyEnabled(`value`: Output) {
this.policyEnabled = value
}
/**
* @param value The configuration options for customer provided KMS encryption.
*/
@JvmName("fqfwfnhlwanuxmau")
public suspend fun sseSpecification(`value`: Output) {
this.sseSpecification = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("unngrbjscgepxdvs")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("vhjbvcbjfndaanpy")
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("mlddtsdjduhecyuv")
public suspend fun tags(values: List