NetworkAclProps
Properties for defining a NetworkAcl.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-networkacl
Initializer
import { NetworkAclProps } from '@alicloud/ros-cdk-vpc'
const networkAclProps: NetworkAclProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
vpcId | string | @alicloud/ros-cdk-core.IResolvable | Property vpcId: The ID of the virtual private cloud (VPC) to which the network ACL belongs. |
description | string | @alicloud/ros-cdk-core.IResolvable | Property description: The description of the network ACL. |
egressAclEntries | @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | EgressAclEntriesProperty[] | Property egressAclEntries: The list of egress network ACL entries. |
ingressAclEntries | @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | IngressAclEntriesProperty[] | Property ingressAclEntries: The list of ingress network ACL entries. |
networkAclName | string | @alicloud/ros-cdk-core.IResolvable | Property networkAclName: The name of the network ACL. |
vpcIdRequired
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: The ID of the virtual private cloud (VPC) to which the network ACL belongs.
If the VPC contains Elastic Compute Service (ECS) instances of the following instance families, you must upgrade the ECS instances or release the ECS instances. Otherwise, you cannot create a network ACL for the VPC. ecs.c1, ecs.c2, ecs.c4, ecs.c5, ecs.ce4, ecs.cm4, ecs.d1, ecs.e3, ecs.e4, ecs.ga1, ecs.gn4, ecs.gn5, ecs.i1, ecs.m1, ecs.m2, ecs.mn4, ecs.n1, ecs.n2, ecs.n4, ecs.s1, ecs.s2, ecs.s3, ecs.se1, ecs.sn1, ecs.sn2, ecs.t1, and ecs.xn4.
If the VPC contains an ECS instance that does not support network ACLs, upgrade the ECS instance.
descriptionOptional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: The description of the network ACL.
The description must be 1 to 256 characters in length, and cannot start with http:\/\/ or https:\/\/.
egressAclEntriesOptional
public readonly egressAclEntries: IResolvable | IResolvable | EgressAclEntriesProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | EgressAclEntriesProperty[]
Property egressAclEntries: The list of egress network ACL entries.
ingressAclEntriesOptional
public readonly ingressAclEntries: IResolvable | IResolvable | IngressAclEntriesProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | IngressAclEntriesProperty[]
Property ingressAclEntries: The list of ingress network ACL entries.
networkAclNameOptional
public readonly networkAclName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property networkAclName: The name of the network ACL.
The name must be 1 to 128 characters in length, and cannot start with http:\/\/ or https:\/\/.