NetworkAclsProps
Properties for defining a NetworkAcls
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-networkacls
Initializer
import com.aliyun.ros.cdk.vpc.datasource.NetworkAclsProps;
NetworkAclsProps.builder()
// .networkAclId(java.lang.String)
// .networkAclId(IResolvable)
// .networkAclName(java.lang.String)
// .networkAclName(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
// .resourceId(java.lang.String)
// .resourceId(IResolvable)
// .resourceType(java.lang.String)
// .resourceType(IResolvable)
// .vpcId(java.lang.String)
// .vpcId(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
networkAclId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property networkAclId: The ID of the network ACL. |
networkAclName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property networkAclName: The name of the network ACL. |
refreshOptions |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
resourceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceId: The ID of the associated instance.This parameter is valid only if ResourceType and ResourceId are both set. |
resourceType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceType: The type of the associated instance. |
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. |
networkAclId
Optional
public java.lang.Object getNetworkAclId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property networkAclId: The ID of the network ACL.
networkAclName
Optional
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, underscores (_), and hyphens (-). The name must start with a letter but cannot start with http:// or https://.
refreshOptions
Optional
public java.lang.Object getRefreshOptions();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.
resourceId
Optional
public java.lang.Object getResourceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceId: The ID of the associated instance.This parameter is valid only if ResourceType and ResourceId are both set.
resourceType
Optional
public java.lang.Object getResourceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceType: The type of the associated instance.
Set the value to VSwitch. This parameter is valid only if ResourceType and ResourceId are both set.
vpcId
Optional
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.