getIpSet

suspend fun getIpSet(argument: GetIpSetPlainArgs): GetIpSetResult

Retrieves the summary of a WAFv2 IP Set.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.wafv2.Wafv2Functions;
import com.pulumi.aws.wafv2.inputs.GetIpSetArgs;
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) {
final var example = Wafv2Functions.getIpSet(GetIpSetArgs.builder()
.name("some-ip-set")
.scope("REGIONAL")
.build());
}
}

Return

A collection of values returned by getIpSet.

Parameters

argument

A collection of arguments for invoking getIpSet.


suspend fun getIpSet(name: String, scope: String): GetIpSetResult

Return

A collection of values returned by getIpSet.

Parameters

name

Name of the WAFv2 IP Set.

scope

Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are CLOUDFRONT or REGIONAL. To work with CloudFront, you must also specify the region us-east-1 (N. Virginia) on the AWS provider.

See also


suspend fun getIpSet(argument: suspend GetIpSetPlainArgsBuilder.() -> Unit): GetIpSetResult

Return

A collection of values returned by getIpSet.

Parameters

argument

Builder for com.pulumi.aws.wafv2.kotlin.inputs.GetIpSetPlainArgs.

See also