![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.route53resolver.kotlin.ResolverRuleAssociationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.route53resolver.kotlin
import com.pulumi.awsnative.route53resolver.ResolverRuleAssociationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* In the response to an [AssociateResolverRule](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverRule.html), [DisassociateResolverRule](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverRule.html), or [ListResolverRuleAssociations](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html) request, provides information about an association between a resolver rule and a VPC. The association determines which DNS queries that originate in the VPC are forwarded to your network.
* @property name The name of an association between a Resolver rule and a VPC.
* @property resolverRuleId The ID of the Resolver rule that you associated with the VPC that is specified by ``VPCId``.
* @property vpcId The ID of the VPC that you associated the Resolver rule with.
*/
public data class ResolverRuleAssociationArgs(
public val name: Output? = null,
public val resolverRuleId: Output? = null,
public val vpcId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.route53resolver.ResolverRuleAssociationArgs =
com.pulumi.awsnative.route53resolver.ResolverRuleAssociationArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.resolverRuleId(resolverRuleId?.applyValue({ args0 -> args0 }))
.vpcId(vpcId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ResolverRuleAssociationArgs].
*/
@PulumiTagMarker
public class ResolverRuleAssociationArgsBuilder internal constructor() {
private var name: Output? = null
private var resolverRuleId: Output? = null
private var vpcId: Output? = null
/**
* @param value The name of an association between a Resolver rule and a VPC.
*/
@JvmName("aivptvfjkvsmuckj")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The ID of the Resolver rule that you associated with the VPC that is specified by ``VPCId``.
*/
@JvmName("yjpkfkkxnvsurgxk")
public suspend fun resolverRuleId(`value`: Output) {
this.resolverRuleId = value
}
/**
* @param value The ID of the VPC that you associated the Resolver rule with.
*/
@JvmName("ehfulffowhqaankf")
public suspend fun vpcId(`value`: Output) {
this.vpcId = value
}
/**
* @param value The name of an association between a Resolver rule and a VPC.
*/
@JvmName("ffukjgndckokkhih")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The ID of the Resolver rule that you associated with the VPC that is specified by ``VPCId``.
*/
@JvmName("yyupphvcvbhehkrv")
public suspend fun resolverRuleId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resolverRuleId = mapped
}
/**
* @param value The ID of the VPC that you associated the Resolver rule with.
*/
@JvmName("qogmouqtudvxmemp")
public suspend fun vpcId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.vpcId = mapped
}
internal fun build(): ResolverRuleAssociationArgs = ResolverRuleAssociationArgs(
name = name,
resolverRuleId = resolverRuleId,
vpcId = vpcId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy