Skip to content

NetworkAclProps

Properties for defining a NetworkAcl.

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

Initializer

import com.aliyun.ros.cdk.vpc.NetworkAclProps;
NetworkAclProps.builder()
    .vpcId(java.lang.String)
    .vpcId(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .egressAclEntries(IResolvable)
//  .egressAclEntries(java.util.List<IResolvable)
//  .egressAclEntries(EgressAclEntriesProperty>)
//  .ingressAclEntries(IResolvable)
//  .ingressAclEntries(java.util.List<IResolvable)
//  .ingressAclEntries(IngressAclEntriesProperty>)
//  .networkAclName(java.lang.String)
//  .networkAclName(IResolvable)
    .build();

Properties

Name Type Description
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The ID of the virtual private cloud (VPC) to which the network ACL belongs.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the network ACL.
egressAclEntries com.aliyun.ros.cdk.core.IResolvable OR java.util.ListEgressAclEntriesProperty> Property egressAclEntries: The list of egress network ACL entries.
ingressAclEntries com.aliyun.ros.cdk.core.IResolvable OR java.util.ListIngressAclEntriesProperty> Property ingressAclEntries: The list of ingress network ACL entries.
networkAclName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property networkAclName: The name of the network ACL.

vpcIdRequired

public java.lang.Object getVpcId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.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://.


egressAclEntriesOptional

public java.lang.Object getEgressAclEntries();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListEgressAclEntriesProperty>

Property egressAclEntries: The list of egress network ACL entries.


ingressAclEntriesOptional

public java.lang.Object getIngressAclEntries();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListIngressAclEntriesProperty>

Property ingressAclEntries: The list of ingress network ACL entries.


networkAclNameOptional

public java.lang.Object getNetworkAclName();
  • Type: java.lang.String OR com.aliyun.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://.