Skip to content

NetworkAclProps

Properties for defining a NetworkAcl.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-networkacl

Initializer

import ros_cdk_vpc
ros_cdk_vpc.NetworkAclProps(
  vpc_id: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None,
  egress_acl_entries: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, EgressAclEntriesProperty]]] = None,
  ingress_acl_entries: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, IngressAclEntriesProperty]]] = None,
  network_acl_name: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: The ID of the virtual private cloud (VPC) to which the network ACL belongs.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the network ACL.
egress_acl_entries typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, EgressAclEntriesProperty]]] Property egressAclEntries: The list of egress network ACL entries.
ingress_acl_entries typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, IngressAclEntriesProperty]]] Property ingressAclEntries: The list of ingress network ACL entries.
network_acl_name typing.Union[str, ros_cdk_core.IResolvable] Property networkAclName: The name of the network ACL.

vpc_idRequired

vpc_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vpcId: The ID of the virtual private cloud (VPC) to which the network ACL belongs.


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: The description of the network ACL.

The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http:// or https://.


egress_acl_entriesOptional

egress_acl_entries: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, EgressAclEntriesProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, EgressAclEntriesProperty]]]

Property egressAclEntries: The list of egress network ACL entries.


ingress_acl_entriesOptional

ingress_acl_entries: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, IngressAclEntriesProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, IngressAclEntriesProperty]]]

Property ingressAclEntries: The list of ingress network ACL entries.


network_acl_nameOptional

network_acl_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property networkAclName: The name of the network ACL.

The name must be 2 to 128 characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter and cannot start with http:// or https://.