-
Notifications
You must be signed in to change notification settings - Fork 151
/
getNetworkAcls.go
39 lines (34 loc) · 1.35 KB
/
getNetworkAcls.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package ec2
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func GetNetworkAcls(ctx *pulumi.Context, args *GetNetworkAclsArgs, opts ...pulumi.InvokeOption) (*GetNetworkAclsResult, error) {
var rv GetNetworkAclsResult
err := ctx.Invoke("aws:ec2/getNetworkAcls:getNetworkAcls", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
// A collection of arguments for invoking getNetworkAcls.
type GetNetworkAclsArgs struct {
// Custom filter block as described below.
Filters []GetNetworkAclsFilter `pulumi:"filters"`
// A map of tags, each pair of which must exactly match
// a pair on the desired network ACLs.
Tags map[string]string `pulumi:"tags"`
// The VPC ID that you want to filter from.
VpcId *string `pulumi:"vpcId"`
}
// A collection of values returned by getNetworkAcls.
type GetNetworkAclsResult struct {
Filters []GetNetworkAclsFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// A list of all the network ACL ids found. This data source will fail if none are found.
Ids []string `pulumi:"ids"`
Tags map[string]string `pulumi:"tags"`
VpcId *string `pulumi:"vpcId"`
}