CriterionArgs

data class CriterionArgs(val asPath: Output<List<String>>? = null, val community: Output<List<String>>? = null, val matchCondition: Output<Either<String, RouteMapMatchCondition>>? = null, val routePrefix: Output<List<String>>? = null) : ConvertibleToJava<CriterionArgs>

A matching criteria which matches routes based on route prefix, community, and AS path.

Constructors

Link copied to clipboard
constructor(asPath: Output<List<String>>? = null, community: Output<List<String>>? = null, matchCondition: Output<Either<String, RouteMapMatchCondition>>? = null, routePrefix: Output<List<String>>? = null)

Properties

Link copied to clipboard
val asPath: Output<List<String>>? = null

List of AS paths which this criteria matches.

Link copied to clipboard
val community: Output<List<String>>? = null

List of BGP communities which this criteria matches.

Link copied to clipboard
val matchCondition: Output<Either<String, RouteMapMatchCondition>>? = null

Match condition to apply RouteMap rules.

Link copied to clipboard
val routePrefix: Output<List<String>>? = null

List of route prefixes which this criteria matches.

Functions

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