GetIpset

aws.waf.IpSet Retrieves a WAF IP Set Resource Id.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Aws.Waf.GetIpset.InvokeAsync(new Aws.Waf.GetIpsetArgs
        {
            Name = "tfWAFIPSet",
        }));
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/waf"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := waf.GetIpset(ctx, &waf.GetIpsetArgs{
            Name: "tfWAFIPSet",
        }, nil)
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

example = aws.waf.get_ipset(name="tfWAFIPSet")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = pulumi.output(aws.waf.getIpset({
    name: "tfWAFIPSet",
}, { async: true }));

Using GetIpset

function getIpset(args: GetIpsetArgs, opts?: InvokeOptions): Promise<GetIpsetResult>
function  get_ipset(name=None, opts=None)
func GetIpset(ctx *Context, args *GetIpsetArgs, opts ...InvokeOption) (*GetIpsetResult, error)
public static class GetIpset {
    public static Task<GetIpsetResult> InvokeAsync(GetIpsetArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string

The name of the WAF IP set.

Name string

The name of the WAF IP set.

name string

The name of the WAF IP set.

name str

The name of the WAF IP set.

GetIpset Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Name string
Id string

The provider-assigned unique ID for this managed resource.

Name string
id string

The provider-assigned unique ID for this managed resource.

name string
id str

The provider-assigned unique ID for this managed resource.

name str

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.