Skip to content

FwSwitchProps

Properties for defining a FwSwitch.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudfw-fwswitch

Initializer

import com.aliyun.ros.cdk.cloudfw.FwSwitchProps;
FwSwitchProps.builder()
//  .ipaddrList(java.util.List<java.lang.Object>)
//  .ipaddrList(IResolvable)
//  .ipVersion(java.lang.String)
//  .ipVersion(IResolvable)
//  .memberUid(java.lang.String)
//  .memberUid(IResolvable)
//  .regionList(java.util.List<java.lang.Object>)
//  .regionList(IResolvable)
//  .resourceTypeList(java.util.List<java.lang.Object>)
//  .resourceTypeList(IResolvable)
    .build();

Properties

Name Type Description
ipaddrList java.util.List OR com.aliyun.ros.cdk.core.IResolvable Property ipaddrList: The IP address list.
ipVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ipVersion: The IP version number.
memberUid java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property memberUid: The member unique identifier.
regionList java.util.List OR com.aliyun.ros.cdk.core.IResolvable Property regionList: The region list.
resourceTypeList java.util.List OR com.aliyun.ros.cdk.core.IResolvable Property resourceTypeList: The list of asset types.

ipaddrListOptional

public java.lang.Object getIpaddrList();
  • Type: java.util.List OR com.aliyun.ros.cdk.core.IResolvable

Property ipaddrList: The IP address list.

Note: The IpaddrList, RegionList, and ResourceTypeList arguments are not allowed to be empty at the same time. A value must be set for one of the three arguments.


ipVersionOptional

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

Property ipVersion: The IP version number.


memberUidOptional

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

Property memberUid: The member unique identifier.


regionListOptional

public java.lang.Object getRegionList();
  • Type: java.util.List OR com.aliyun.ros.cdk.core.IResolvable

Property regionList: The region list.

Note: The IpaddrList, RegionList, and ResourceTypeList arguments are not allowed to be empty at the same time. A value must be set for one of the three arguments.


resourceTypeListOptional

public java.lang.Object getResourceTypeList();
  • Type: java.util.List OR com.aliyun.ros.cdk.core.IResolvable

Property resourceTypeList: The list of asset types.

Valid values:

  • BastionHostEgressIP: the egress IP address of a bastion host.
  • BastionHostIngressIP: the ingress IP address of a bastion host.
  • EcsEIP: the EIP of an ECS instance.
  • EcsPublicIP: the public IP address of an ECS instance.
  • EIP: an EIP.
  • EniEIP: the EIP of an ENI.
  • NatEIP: the EIP of a NAT gateway.
  • SlbEIP: the EIP of an SLB instance or a CLB instance.
  • SlbPublicIP: the public IP address of an SLB instance or a CLB instance.
  • NatPublicIP: the public IP address of a NAT gateway.
  • HAVIP: an HAVIP.
  • NlbEIP: the EIP of an NLB instance.
  • ApiGatewayEIP: the public IP address of an API gateway.
  • AlbEIP: the EIP of an ALB instance.
  • AiGatewayEIP: the public IP address of an AI gateway.
  • GaEIP: the EIP of a GA instance.
  • SwasEIP: the public IP address of a Simple Application Server instance.
  • EcdEIP: the public IP address of an Elastic Desktop Service instance.
  • BastionHostIP: the IP address of a bastion host.

You must specify at least one of the IpaddrList, RegionList, and ResourceTypeList parameters.