TrFirewall
This class encapsulates and extends the ROS resource type ALIYUN::CLOUDFW::TrFirewall.
Initializers
import com.aliyun.ros.cdk.cloudfw.TrFirewall;
TrFirewall.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
.cenId(java.lang.String)
.cenId(IResolvable)
.firewallName(java.lang.String)
.firewallName(IResolvable)
.regionNo(java.lang.String)
.regionNo(IResolvable)
.routeMode(java.lang.String)
.routeMode(IResolvable)
.transitRouterId(java.lang.String)
.transitRouterId(IResolvable)
// .firewallDescription(java.lang.String)
// .firewallDescription(IResolvable)
// .firewallSubnetCidr(java.lang.String)
// .firewallSubnetCidr(IResolvable)
// .firewallVpcCidr(java.lang.String)
// .firewallVpcCidr(IResolvable)
// .firewallVpcId(java.lang.String)
// .firewallVpcId(IResolvable)
// .firewallVswitchId(java.lang.String)
// .firewallVswitchId(IResolvable)
// .trAttachmentMasterCidr(java.lang.String)
// .trAttachmentMasterCidr(IResolvable)
// .trAttachmentMasterZone(java.lang.String)
// .trAttachmentMasterZone(IResolvable)
// .trAttachmentSlaveCidr(java.lang.String)
// .trAttachmentSlaveCidr(IResolvable)
// .trAttachmentSlaveZone(java.lang.String)
// .trAttachmentSlaveZone(IResolvable)
.build();
| Name | Type | Description |
|---|---|---|
scope |
com.aliyun.ros.cdk.core.Construct |
No description. |
id |
java.lang.String |
No description. |
enableResourcePropertyConstraint |
java.lang.Boolean |
No description. |
cenId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property cenId: The ID of the Cloud Enterprise Network (CEN) instance. |
firewallName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property firewallName: The name of the firewall. |
regionNo |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property regionNo: The region ID of the route router. |
routeMode |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property routeMode: The routing mode of the VPC firewall. |
transitRouterId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property transitRouterId: The ID of the transit router. |
firewallDescription |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property firewallDescription: The description of the firewall. |
firewallSubnetCidr |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property firewallSubnetCidr: The subnet CIDR block of the VPC in which the ENI of the firewall is stored in automatic mode. |
firewallVpcCidr |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property firewallVpcCidr: The CIDR block that is allocated to the VPC created for the VPC firewall in automatic mode. |
firewallVpcId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property firewallVpcId: The ID of the VPC in which the ENI associated with the VPC firewall is created in manual mode. |
firewallVswitchId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property firewallVswitchId: The ID of the vSwitch that is used to create the ENI in manual mode. |
trAttachmentMasterCidr |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property trAttachmentMasterCidr: The primary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode. |
trAttachmentMasterZone |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property trAttachmentMasterZone: The primary zone for the vSwitch. |
trAttachmentSlaveCidr |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property trAttachmentSlaveCidr: The secondary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode. |
trAttachmentSlaveZone |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property trAttachmentSlaveZone: The secondary zone for the vSwitch. |
scopeRequired
- Type: com.aliyun.ros.cdk.core.Construct
idRequired
- Type: java.lang.String
enableResourcePropertyConstraintOptional
- Type: java.lang.Boolean
cenIdRequired
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property cenId: The ID of the Cloud Enterprise Network (CEN) instance.
firewallNameRequired
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property firewallName: The name of the firewall.
regionNoRequired
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property regionNo: The region ID of the route router.
routeModeRequired
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property routeMode: The routing mode of the VPC firewall.
Valid values: managed: automatic mode manual: manual mode
transitRouterIdRequired
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property transitRouterId: The ID of the transit router.
firewallDescriptionOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property firewallDescription: The description of the firewall.
firewallSubnetCidrOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property firewallSubnetCidr: The subnet CIDR block of the VPC in which the ENI of the firewall is stored in automatic mode.
firewallVpcCidrOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property firewallVpcCidr: The CIDR block that is allocated to the VPC created for the VPC firewall in automatic mode.
firewallVpcIdOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property firewallVpcId: The ID of the VPC in which the ENI associated with the VPC firewall is created in manual mode.
firewallVswitchIdOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property firewallVswitchId: The ID of the vSwitch that is used to create the ENI in manual mode.
trAttachmentMasterCidrOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property trAttachmentMasterCidr: The primary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.
trAttachmentMasterZoneOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property trAttachmentMasterZone: The primary zone for the vSwitch.
trAttachmentSlaveCidrOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property trAttachmentSlaveCidr: The secondary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.
trAttachmentSlaveZoneOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property trAttachmentSlaveZone: The secondary zone for the vSwitch.
Methods
| Name | Description |
|---|---|
toString |
Returns a string representation of this construct. |
synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
addCondition |
No description. |
addCount |
No description. |
addDependency |
No description. |
addResourceDesc |
No description. |
applyRemovalPolicy |
No description. |
getAtt |
No description. |
setMetadata |
No description. |
toString
public java.lang.String toString()
Returns a string representation of this construct.
synthesize
public void synthesize(ISynthesisSession session)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack and Asset
as they participate in synthesizing the cloud assembly.
- Type: com.aliyun.ros.cdk.core.ISynthesisSession
The synthesis session.
addCondition
public void addCondition(RosCondition condition)
- Type: com.aliyun.ros.cdk.core.RosCondition
addCount
public void addCount(java.lang.Number OR IResolvable count)
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
addDependency
public void addDependency(Resource resource)
- Type: com.aliyun.ros.cdk.core.Resource
addResourceDesc
public void addResourceDesc(java.lang.String desc)
- Type: java.lang.String
applyRemovalPolicy
public void applyRemovalPolicy(RemovalPolicy policy)
- Type: com.aliyun.ros.cdk.core.RemovalPolicy
getAtt
public IResolvable getAtt(java.lang.String name)
- Type: java.lang.String
setMetadata
public void setMetadata(java.lang.String key, java.lang.Object value)
- Type: java.lang.String
- Type: java.lang.Object
Static Functions
| Name | Description |
|---|---|
isConstruct |
Return whether the given object is a Construct. |
isConstruct
import com.aliyun.ros.cdk.cloudfw.TrFirewall;
TrFirewall.isConstruct(java.lang.Object x)
Return whether the given object is a Construct.
- Type: java.lang.Object
Properties
| Name | Type | Description |
|---|---|---|
node |
com.aliyun.ros.cdk.core.ConstructNode |
The construct tree node associated with this construct. |
ref |
java.lang.String |
No description. |
stack |
com.aliyun.ros.cdk.core.Stack |
The stack in which this resource is defined. |
resource |
com.aliyun.ros.cdk.core.RosResource |
No description. |
attrFirewallId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute FirewallId: The instance ID of the VPC firewall. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node associated with this construct.
refRequired
public java.lang.String getRef();
- Type: java.lang.String
stackRequired
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
resourceOptional
public RosResource getResource();
- Type: com.aliyun.ros.cdk.core.RosResource
attrFirewallIdRequired
public IResolvable getAttrFirewallId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute FirewallId: The instance ID of the VPC firewall.