regionStrategy

Configures a RegionFilterStrategy for this feature.

The feature will be enabled only for the specified geographic regions. Requires com.yonatankarp.ff4k.core.ContextKeys.REGION to be set in the com.yonatankarp.ff4k.core.FlippingExecutionContext.

Example

feature("eu-only") {
regionStrategy {
+"eu-central-1"
+"eu-west-1"
}
}

Author

Yonatan Karp-Rudin

Parameters

block

A DSL block to configure the set of allowed regions.

See also