GeoMatchSet constructor
GeoMatchSet(
- String name, {
- GeoMatchSetArgs? args,
- CustomResourceOptions? options,
Creates a new GeoMatchSet.
name The Pulumi resource name.
args Arguments used to configure this GeoMatchSet. The set of arguments for GeoMatchSet.
options Resource options controlling this resource's behavior.
Implementation
GeoMatchSet(
String name, {
GeoMatchSetArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:waf/geoMatchSet:GeoMatchSet',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
arn = registerOutput<String>('arn');
geoMatchConstraints = registerOutput<List<GeoMatchSetGeoMatchConstraint>?>('geoMatchConstraints', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<GeoMatchSetGeoMatchConstraint>(guardedValue, (value) => GeoMatchSetGeoMatchConstraint.fromMap((value as Map).cast<String, dynamic>())); });
this.name = registerOutput<String>('name');
}