RuleArgs

data class RuleArgs(val destinations: Output<List<DestinationArgs>>? = null, val sources: Output<List<SourceArgs>>? = null) : ConvertibleToJava<RuleArgs>

Specification of rules.

Constructors

Link copied to clipboard
fun RuleArgs(destinations: Output<List<DestinationArgs>>? = null, sources: Output<List<SourceArgs>>? = null)

Functions

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

Properties

Link copied to clipboard
val destinations: Output<List<DestinationArgs>>? = null

Optional. List of attributes for the traffic destination. All of the destinations must match. A destination is a match if a request matches all the specified hosts, ports, methods and headers. If not set, the action specified in the 'action' field will be applied without any rule checks for the destination.

Link copied to clipboard
val sources: Output<List<SourceArgs>>? = null

Optional. List of attributes for the traffic source. All of the sources must match. A source is a match if both principals and ip_blocks match. If not set, the action specified in the 'action' field will be applied without any rule checks for the source.