GeoMatchSet

class GeoMatchSet : KotlinCustomResource

Provides a WAF Geo Match Set Resource

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.waf.GeoMatchSet;
import com.pulumi.aws.waf.GeoMatchSetArgs;
import com.pulumi.aws.waf.inputs.GeoMatchSetGeoMatchConstraintArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var geoMatchSet = new GeoMatchSet("geoMatchSet", GeoMatchSetArgs.builder()
.geoMatchConstraints(
GeoMatchSetGeoMatchConstraintArgs.builder()
.type("Country")
.value("US")
.build(),
GeoMatchSetGeoMatchConstraintArgs.builder()
.type("Country")
.value("CA")
.build())
.build());
}
}

Import

WAF Geo Match Set can be imported using their ID, e.g.,

$ pulumi import aws:waf/geoMatchSet:GeoMatchSet example a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc

Properties

Link copied to clipboard
val arn: Output<String>

Amazon Resource Name (ARN)

Link copied to clipboard

The GeoMatchConstraint objects which contain the country that you want AWS WAF to search for.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name or description of the GeoMatchSet.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>