ApplicationLoadBalancerHttpRuleCondition

Properties

NameTypeDescriptionNotes

condition

The matching rule for the HTTP rule condition attribute; this parameter is mandatory for 'HEADER', 'PATH', 'QUERY', 'METHOD', 'HOST', and 'COOKIE' types. It must be 'null' if the type is 'SOURCE_IP'.

key

String

The key can only be set when the HTTP rule condition type is 'COOKIES', 'HEADER', or 'QUERY'. For the type 'PATH', 'METHOD', 'HOST', or 'SOURCE_IP' the value must be 'null'.

[optional]

negate

Boolean

Specifies whether the condition should be negated; the default value is 'FALSE'.

[optional]

type

The HTTP rule condition type.

value

String

This parameter is mandatory for the conditions 'CONTAINS', 'EQUALS', 'MATCHES', 'STARTS_WITH', 'ENDS_WITH', or if the type is 'SOURCE_IP'. Specify a valid CIDR. If the condition is 'EXISTS', the value must be 'null'.

[optional]

Enum: ConditionEnum

NameValue

EXISTS

"EXISTS"

CONTAINS

"CONTAINS"

EQUALS

"EQUALS"

MATCHES

"MATCHES"

STARTS_WITH

"STARTS_WITH"

ENDS_WITH

"ENDS_WITH"

Enum: TypeEnum

NameValue

HEADER

"HEADER"

PATH

"PATH"

QUERY

"QUERY"

METHOD

"METHOD"

HOST

"HOST"

COOKIE

"COOKIE"

SOURCE_IP

"SOURCE_IP"

Last updated