getWebAcl function

Future<GetWebAclResult> getWebAcl(
  1. GetWebAclArgs args, {
  2. InvokeOptions? options,
})

Retrieves the summary of a WAFv2 Web ACL. args Arguments passed to this invoke. Arguments for getWebAcl. options Invoke options controlling this call.

Implementation

Future<GetWebAclResult> getWebAcl(
  GetWebAclArgs args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'aws:wafv2/getWebAcl:getWebAcl',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetWebAclResult.fromMap(result);
}