VpcFirewallCenProps
Properties for defining a VpcFirewallCen
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudfw-vpcfirewallcen
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcloudfw"
&alicloudroscdkcloudfw.VpcFirewallCenProps {
CenId: interface{},
FirewallSwitch: interface{},
FirewallVpcZoneId: interface{},
NetworkInstanceId: interface{},
VpcFirewallName: interface{},
VpcRegion: interface{},
FirewallVpcCidrBlock: interface{},
FirewallVSwitchCidrBlock: interface{},
MemberUid: interface{},
VSwitchId: interface{},
}
Properties
Name | Type | Description |
---|---|---|
CenId |
interface{} |
Property cenId: The ID of the CEN instance. |
FirewallSwitch |
interface{} |
Property firewallSwitch: Specifies whether to enable the VPC firewall. |
FirewallVpcZoneId |
interface{} |
Property firewallVpcZoneId: The ID of the zone to which the vSwitch belongs. |
NetworkInstanceId |
interface{} |
Property networkInstanceId: The ID of the VPC for which you want to create the VPC firewall. |
VpcFirewallName |
interface{} |
Property vpcFirewallName: The instance name of the VPC firewall. |
VpcRegion |
interface{} |
Property vpcRegion: The ID of the region to which the VPC belongs. |
FirewallVpcCidrBlock |
interface{} |
Property firewallVpcCidrBlock: The CIDR block of the VPC that is automatically created for the VPC firewall. |
FirewallVSwitchCidrBlock |
interface{} |
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 |
interface{} |
Property memberUid: The UID of the member that is managed by your Alibaba Cloud account. |
VSwitchId |
interface{} |
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
CenId interface{}
- Type: interface{}
Property cenId: The ID of the CEN instance.
FirewallSwitch
Required
FirewallSwitch interface{}
- Type: interface{}
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
FirewallVpcZoneId interface{}
- Type: interface{}
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
NetworkInstanceId interface{}
- Type: interface{}
Property networkInstanceId: The ID of the VPC for which you want to create the VPC firewall.
VpcFirewallName
Required
VpcFirewallName interface{}
- Type: interface{}
Property vpcFirewallName: The instance name of the VPC firewall.
VpcRegion
Required
VpcRegion interface{}
- Type: interface{}
Property vpcRegion: The ID of the region to which the VPC belongs.
FirewallVpcCidrBlock
Optional
FirewallVpcCidrBlock interface{}
- Type: interface{}
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
FirewallVSwitchCidrBlock interface{}
- Type: interface{}
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
MemberUid interface{}
- Type: interface{}
Property memberUid: The UID of the member that is managed by your Alibaba Cloud account.
VSwitchId
Optional
VSwitchId interface{}
- Type: interface{}
Property vSwitchId: The ID of the vSwitch that is used to associate with the elastic network interface (ENI) required by the VPC firewall.