TransitRouterVpnAttachment
This class encapsulates and extends the ROS resource type ALIYUN::CEN::TransitRouterVpnAttachment
, which is used to create a VPN attachment.
Initializers
import com.aliyun.ros.cdk.cen.TransitRouterVpnAttachment;
TransitRouterVpnAttachment.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
.vpnId(java.lang.String)
.vpnId(IResolvable)
.zoneId(java.lang.String)
.zoneId(IResolvable)
// .autoPublishRouteEnabled(java.lang.Boolean)
// .autoPublishRouteEnabled(IResolvable)
// .cenId(java.lang.String)
// .cenId(IResolvable)
// .deletionForce(java.lang.Boolean)
// .deletionForce(IResolvable)
// .routeTableAssociationEnabled(java.lang.Boolean)
// .routeTableAssociationEnabled(IResolvable)
// .routeTablePropagationEnabled(java.lang.Boolean)
// .routeTablePropagationEnabled(IResolvable)
// .tags(java.util.List<TagsProperty>)
// .transitRouterAttachmentDescription(java.lang.String)
// .transitRouterAttachmentDescription(IResolvable)
// .transitRouterAttachmentName(java.lang.String)
// .transitRouterAttachmentName(IResolvable)
// .transitRouterId(java.lang.String)
// .transitRouterId(IResolvable)
// .vpnOwnerId(java.lang.String)
// .vpnOwnerId(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. |
vpnId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vpnId: IPsec connection ID. |
zoneId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property zoneId: Availability zone ID in the current region. |
autoPublishRouteEnabled |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property autoPublishRouteEnabled: Whether to allow forwarding router instances to automatically publish route entries to IPsec connections. |
cenId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property cenId: The ID of the CEN instance. |
deletionForce |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property deletionForce: Whether to forcefully delete the VPN connection. |
routeTableAssociationEnabled |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property routeTableAssociationEnabled: Whether to enable route association and forwarding relationship. |
routeTablePropagationEnabled |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property routeTablePropagationEnabled: Whether to enable route learning relationships. |
tags |
java.util.List<TagsProperty> |
Property tags: Tags to attach to TransitRouterVpnAttachment. |
transitRouterAttachmentDescription |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property transitRouterAttachmentDescription: Description of the VPN connection. |
transitRouterAttachmentName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property transitRouterAttachmentName: The name of the VPN connection. |
transitRouterId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property transitRouterId: Forwarding router instance ID. |
vpnOwnerId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vpnOwnerId: Alibaba Cloud account (main account) ID to which the IPsec connection belongs. |
scope
Required
- Type: com.aliyun.ros.cdk.core.Construct
id
Required
- Type: java.lang.String
enableResourcePropertyConstraint
Optional
- Type: java.lang.Boolean
vpnId
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpnId: IPsec connection ID.
zoneId
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property zoneId: Availability zone ID in the current region.
autoPublishRouteEnabled
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property autoPublishRouteEnabled: Whether to allow forwarding router instances to automatically publish route entries to IPsec connections.
Default is true.
cenId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property cenId: The ID of the CEN instance.
deletionForce
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property deletionForce: Whether to forcefully delete the VPN connection.
routeTableAssociationEnabled
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property routeTableAssociationEnabled: Whether to enable route association and forwarding relationship.
routeTablePropagationEnabled
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property routeTablePropagationEnabled: Whether to enable route learning relationships.
tags
Optional
- Type: java.util.List<TagsProperty>
Property tags: Tags to attach to TransitRouterVpnAttachment.
Max support 20 tags to add during create TransitRouterVpnAttachment. Each tag with two properties Key and Value, and Key is required.
transitRouterAttachmentDescription
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property transitRouterAttachmentDescription: Description of the VPN connection.
transitRouterAttachmentName
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property transitRouterAttachmentName: The name of the VPN connection.
transitRouterId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property transitRouterId: Forwarding router instance ID.
vpnOwnerId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpnOwnerId: Alibaba Cloud account (main account) ID to which the IPsec connection belongs.
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.cen.TransitRouterVpnAttachment;
TransitRouterVpnAttachment.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. |
attrTransitRouterAttachmentId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute TransitRouterAttachmentId: The ID of the VPN connection. |
node
Required
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node associated with this construct.
ref
Required
public java.lang.String getRef();
- Type: java.lang.String
stack
Required
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
resource
Optional
public RosResource getResource();
- Type: com.aliyun.ros.cdk.core.RosResource
attrTransitRouterAttachmentId
Required
public IResolvable getAttrTransitRouterAttachmentId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute TransitRouterAttachmentId: The ID of the VPN connection.