NetworkAclArgs

data class NetworkAclArgs(val description: Output<String>? = null, val egressAclEntries: Output<List<NetworkAclEgressAclEntryArgs>>? = null, val ingressAclEntries: Output<List<NetworkAclIngressAclEntryArgs>>? = null, val name: Output<String>? = null, val networkAclName: Output<String>? = null, val resources: Output<List<NetworkAclResourceArgs>>? = null, val tags: Output<Map<String, Any>>? = null, val vpcId: Output<String>? = null) : ConvertibleToJava<NetworkAclArgs>

Provides a VPC Network Acl resource.

NOTE: Currently, the resource are only available in Hongkong(cn-hongkong), India(ap-south-1), and Indonesia(ap-southeast-1) regions. For information about VPC Network Acl and how to use it, see What is Network Acl. NOTE: Available in v1.43.0+.

Import

VPC Network Acl can be imported using the id, e.g.

$ pulumi import alicloud:vpc/networkAcl:NetworkAcl example <id>

Constructors

Link copied to clipboard
fun NetworkAclArgs(description: Output<String>? = null, egressAclEntries: Output<List<NetworkAclEgressAclEntryArgs>>? = null, ingressAclEntries: Output<List<NetworkAclIngressAclEntryArgs>>? = null, name: Output<String>? = null, networkAclName: Output<String>? = null, resources: Output<List<NetworkAclResourceArgs>>? = null, tags: Output<Map<String, Any>>? = null, vpcId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): NetworkAclArgs

Properties

Link copied to clipboard
val description: Output<String>? = null

The description of the network ACL.The description must be 1 to 256 characters in length and cannot start with http:// or https.

Link copied to clipboard

Out direction rule information. See the following Block EgressAclEntries.

Link copied to clipboard

Inward direction rule information. See the following Block IngressAclEntries.

Link copied to clipboard
val name: Output<String>? = null

Field 'name' has been deprecated from provider version 1.122.0. New field 'network_acl_name' instead.

Link copied to clipboard
val networkAclName: Output<String>? = null

The name of the network ACL.The name must be 1 to 128 characters in length and cannot start with http:// or https.

Link copied to clipboard
val resources: Output<List<NetworkAclResourceArgs>>? = null

The associated resource. See the following Block Resources.

Link copied to clipboard
val tags: Output<Map<String, Any>>? = null

The tags of this resource.

Link copied to clipboard
val vpcId: Output<String>? = null

The ID of the associated VPC. The following arguments will be discarded. Please use new fields as soon as possible: