AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getNetworkAcl

Resource Type definition for AWS::EC2::NetworkAcl

Using getNetworkAcl

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getNetworkAcl(args: GetNetworkAclArgs, opts?: InvokeOptions): Promise<GetNetworkAclResult>
function getNetworkAclOutput(args: GetNetworkAclOutputArgs, opts?: InvokeOptions): Output<GetNetworkAclResult>
def get_network_acl(id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetNetworkAclResult
def get_network_acl_output(id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetNetworkAclResult]
func LookupNetworkAcl(ctx *Context, args *LookupNetworkAclArgs, opts ...InvokeOption) (*LookupNetworkAclResult, error)
func LookupNetworkAclOutput(ctx *Context, args *LookupNetworkAclOutputArgs, opts ...InvokeOption) LookupNetworkAclResultOutput

> Note: This function is named LookupNetworkAcl in the Go SDK.

public static class GetNetworkAcl 
{
    public static Task<GetNetworkAclResult> InvokeAsync(GetNetworkAclArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkAclResult> Invoke(GetNetworkAclInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNetworkAclResult> getNetworkAcl(GetNetworkAclArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:ec2:getNetworkAcl
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Id string
Id string
id String
id string
id str
id String

getNetworkAcl Result

The following output properties are available:

Id string
Tags List<Pulumi.AwsNative.EC2.Outputs.NetworkAclTag>

The tags to assign to the network ACL.

Id string
Tags []NetworkAclTag

The tags to assign to the network ACL.

id String
tags List<NetworkAclTag>

The tags to assign to the network ACL.

id string
tags NetworkAclTag[]

The tags to assign to the network ACL.

id str
tags Sequence[NetworkAclTag]

The tags to assign to the network ACL.

id String
tags List<Property Map>

The tags to assign to the network ACL.

Supporting Types

NetworkAclTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0