VpcFirewallCenProps
Properties for defining a VpcFirewallCen
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudfw-vpcfirewallcen
Initializer
import com.aliyun.ros.cdk.cloudfw.VpcFirewallCenProps;
VpcFirewallCenProps.builder()
.cenId(java.lang.String)
.cenId(IResolvable)
.firewallSwitch(java.lang.String)
.firewallSwitch(IResolvable)
.firewallVpcZoneId(java.lang.String)
.firewallVpcZoneId(IResolvable)
.networkInstanceId(java.lang.String)
.networkInstanceId(IResolvable)
.vpcFirewallName(java.lang.String)
.vpcFirewallName(IResolvable)
.vpcRegion(java.lang.String)
.vpcRegion(IResolvable)
// .firewallVpcCidrBlock(java.lang.String)
// .firewallVpcCidrBlock(IResolvable)
// .firewallVSwitchCidrBlock(java.lang.String)
// .firewallVSwitchCidrBlock(IResolvable)
// .memberUid(java.lang.String)
// .memberUid(IResolvable)
// .vSwitchId(java.lang.String)
// .vSwitchId(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
cenId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property cenId: The ID of the CEN instance. |
firewallSwitch |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property firewallSwitch: Specifies whether to enable the VPC firewall. |
firewallVpcZoneId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property firewallVpcZoneId: The ID of the zone to which the vSwitch belongs. |
networkInstanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property networkInstanceId: The ID of the VPC for which you want to create the VPC firewall. |
vpcFirewallName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vpcFirewallName: The instance name of the VPC firewall. |
vpcRegion |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vpcRegion: The ID of the region to which the VPC belongs. |
firewallVpcCidrBlock |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property firewallVpcCidrBlock: The CIDR block of the VPC that is automatically created for the VPC firewall. |
firewallVSwitchCidrBlock |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property firewallVSwitchCidrBlock: The CIDR block of the vSwitch that is automatically created for the VPC firewall.You must specify a CIDR block for the Cloud_Firewall_VSWITCH VPC that is automatically created for the VPC firewall for traffic redirection. The CIDR block does not conflict with your network plan. The subnet mask of the CIDR block must be less than or equal to 29 bits in length. The CIDR block of the vSwitch must be within the network segment of the VPC.If you do not specify a value, the CIDR block 10.219.219.216\/29 is automatically allocated. |
memberUid |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property memberUid: The UID of the member that is managed by your Alibaba Cloud account. |
vSwitchId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vSwitchId: The ID of the vSwitch that is used to associate with the elastic network interface (ENI) required by the VPC firewall. |
cenId
Required
public java.lang.Object getCenId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property cenId: The ID of the CEN instance.
firewallSwitch
Required
public java.lang.Object getFirewallSwitch();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property firewallSwitch: Specifies whether to enable the VPC firewall.
Valid values: open: After you create the VPC firewall, the VPC firewall is automatically enabled. This is the default value. close: After you create the VPC firewall, the VPC firewall is disabled. You can call the ModifyVpcFirewallCenSwitchStatus operation to manually enable the VPC firewall.
firewallVpcZoneId
Required
public java.lang.Object getFirewallVpcZoneId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property firewallVpcZoneId: The ID of the zone to which the vSwitch belongs.
If your service is latency-sensitive, you can specify the same zone for the vSwitch of the firewall and the vSwitch of your business VPC to minimize latency.If you do not specify a value, a zone is automatically assigned for the vSwitch.
networkInstanceId
Required
public java.lang.Object getNetworkInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property networkInstanceId: The ID of the VPC for which you want to create the VPC firewall.
vpcFirewallName
Required
public java.lang.Object getVpcFirewallName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpcFirewallName: The instance name of the VPC firewall.
vpcRegion
Required
public java.lang.Object getVpcRegion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpcRegion: The ID of the region to which the VPC belongs.
firewallVpcCidrBlock
Optional
public java.lang.Object getFirewallVpcCidrBlock();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property firewallVpcCidrBlock: The CIDR block of the VPC that is automatically created for the VPC firewall.
You must specify a CIDR block for the Cloud_Firewall_VPC VPC that is automatically created for the VPC firewall for traffic redirection. The subnet mask of the CIDR block must be less than or equal to 28 bits in length.If you do not specify a value, the CIDR block 10.0.0.0/8 is automatically allocated.
firewallVSwitchCidrBlock
Optional
public java.lang.Object getFirewallVSwitchCidrBlock();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property firewallVSwitchCidrBlock: The CIDR block of the vSwitch that is automatically created for the VPC firewall.You must specify a CIDR block for the Cloud_Firewall_VSWITCH VPC that is automatically created for the VPC firewall for traffic redirection. The CIDR block does not conflict with your network plan. The subnet mask of the CIDR block must be less than or equal to 29 bits in length. The CIDR block of the vSwitch must be within the network segment of the VPC.If you do not specify a value, the CIDR block 10.219.219.216\/29 is automatically allocated.
memberUid
Optional
public java.lang.Object getMemberUid();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property memberUid: The UID of the member that is managed by your Alibaba Cloud account.
vSwitchId
Optional
public java.lang.Object getVSwitchId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vSwitchId: The ID of the vSwitch that is used to associate with the elastic network interface (ENI) required by the VPC firewall.