com.pulumi.aws.networkfirewall.kotlin.inputs.RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.networkfirewall.kotlin.inputs
import com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property destination The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY`.
* @property destinationPort The destination port to inspect for. To match with any address, specify `ANY`.
* @property direction The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`.
* @property protocol The protocol to inspect. Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`.
* @property source The source IP address or address range for, in CIDR notation. To match with any address, specify `ANY`.
* @property sourcePort The source port to inspect for. To match with any address, specify `ANY`.
*/
public data class RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs(
public val destination: Output,
public val destinationPort: Output,
public val direction: Output,
public val protocol: Output,
public val source: Output,
public val sourcePort: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs =
com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs.builder()
.destination(destination.applyValue({ args0 -> args0 }))
.destinationPort(destinationPort.applyValue({ args0 -> args0 }))
.direction(direction.applyValue({ args0 -> args0 }))
.protocol(protocol.applyValue({ args0 -> args0 }))
.source(source.applyValue({ args0 -> args0 }))
.sourcePort(sourcePort.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs].
*/
@PulumiTagMarker
public class RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgsBuilder internal constructor() {
private var destination: Output? = null
private var destinationPort: Output? = null
private var direction: Output? = null
private var protocol: Output? = null
private var source: Output? = null
private var sourcePort: Output? = null
/**
* @param value The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY`.
*/
@JvmName("dernfeatliosxsaq")
public suspend fun destination(`value`: Output) {
this.destination = value
}
/**
* @param value The destination port to inspect for. To match with any address, specify `ANY`.
*/
@JvmName("rjhlpqpbcwtutypj")
public suspend fun destinationPort(`value`: Output) {
this.destinationPort = value
}
/**
* @param value The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`.
*/
@JvmName("lwnivourvkcolhql")
public suspend fun direction(`value`: Output) {
this.direction = value
}
/**
* @param value The protocol to inspect. Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`.
*/
@JvmName("npeoymknrotnpaph")
public suspend fun protocol(`value`: Output) {
this.protocol = value
}
/**
* @param value The source IP address or address range for, in CIDR notation. To match with any address, specify `ANY`.
*/
@JvmName("mjdkngyjwftelrjf")
public suspend fun source(`value`: Output) {
this.source = value
}
/**
* @param value The source port to inspect for. To match with any address, specify `ANY`.
*/
@JvmName("qtrsgkxobtqmhxou")
public suspend fun sourcePort(`value`: Output) {
this.sourcePort = value
}
/**
* @param value The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY`.
*/
@JvmName("doxwukhdffjhfxak")
public suspend fun destination(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.destination = mapped
}
/**
* @param value The destination port to inspect for. To match with any address, specify `ANY`.
*/
@JvmName("cbnyxwtdkshxpccv")
public suspend fun destinationPort(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.destinationPort = mapped
}
/**
* @param value The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`.
*/
@JvmName("kmngaylcudoowafr")
public suspend fun direction(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.direction = mapped
}
/**
* @param value The protocol to inspect. Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`.
*/
@JvmName("jvadhbxvcrihhbrj")
public suspend fun protocol(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.protocol = mapped
}
/**
* @param value The source IP address or address range for, in CIDR notation. To match with any address, specify `ANY`.
*/
@JvmName("uwnulnnikkwtolwx")
public suspend fun source(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.source = mapped
}
/**
* @param value The source port to inspect for. To match with any address, specify `ANY`.
*/
@JvmName("pdmsobssybcftexq")
public suspend fun sourcePort(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sourcePort = mapped
}
internal fun build(): RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs =
RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs(
destination = destination ?: throw PulumiNullFieldException("destination"),
destinationPort = destinationPort ?: throw PulumiNullFieldException("destinationPort"),
direction = direction ?: throw PulumiNullFieldException("direction"),
protocol = protocol ?: throw PulumiNullFieldException("protocol"),
source = source ?: throw PulumiNullFieldException("source"),
sourcePort = sourcePort ?: throw PulumiNullFieldException("sourcePort"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy