DnsSecurityRuleActionArgs

data class DnsSecurityRuleActionArgs(val actionType: Output<Either<String, ActionType>>? = null, val blockResponseCode: Output<Either<String, BlockResponseCode>>? = null) : ConvertibleToJava<DnsSecurityRuleActionArgs>

The action to take on DNS requests that match the DNS security rule.

Constructors

Link copied to clipboard
constructor(actionType: Output<Either<String, ActionType>>? = null, blockResponseCode: Output<Either<String, BlockResponseCode>>? = null)

Properties

Link copied to clipboard
val actionType: Output<Either<String, ActionType>>? = null

The type of action to take.

Link copied to clipboard
val blockResponseCode: Output<Either<String, BlockResponseCode>>? = null

The response code for block actions.

Functions

Link copied to clipboard
open override fun toJava(): DnsSecurityRuleActionArgs