Skip to content

TransitRouterVpnAttachmentProps

Properties for defining a TransitRouterVpnAttachment.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cen-transitroutervpnattachment

Initializer

import com.aliyun.ros.cdk.cen.TransitRouterVpnAttachmentProps;
TransitRouterVpnAttachmentProps.builder()
    .vpnId(java.lang.String)
    .vpnId(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)
//  .zoneId(java.lang.String)
//  .zoneId(IResolvable)
    .build();

Properties

Name Type Description
vpnId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpnId: IPsec connection ID.
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: The 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: The ID of the account to which the IPsec-VPN connection belongs.
zoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property zoneId: Availability zone ID in the current region.

vpnIdRequired

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

Property vpnId: IPsec connection ID.


autoPublishRouteEnabledOptional

public java.lang.Object getAutoPublishRouteEnabled();
  • 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.


cenIdOptional

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

Property cenId: The ID of the CEN instance.


deletionForceOptional

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

Property deletionForce: Whether to forcefully delete the VPN connection.


routeTableAssociationEnabledOptional

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

Property routeTableAssociationEnabled: Whether to enable route association and forwarding relationship.


routeTablePropagationEnabledOptional

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

Property routeTablePropagationEnabled: Whether to enable route learning relationships.


tagsOptional

public java.util.List<TagsProperty> getTags();

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.


transitRouterAttachmentDescriptionOptional

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

Property transitRouterAttachmentDescription: The description of the VPN connection.

The description can be empty or 1 to 256 characters in length, and cannot start with http:// or https://.


transitRouterAttachmentNameOptional

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

Property transitRouterAttachmentName: The name of the VPN connection.

The name can be empty or 1 to 128 characters in length, and cannot start with http:// or https://.


transitRouterIdOptional

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

Property transitRouterId: Forwarding router instance ID.


vpnOwnerIdOptional

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

Property vpnOwnerId: The ID of the account to which the IPsec-VPN connection belongs.

  • If you do not specify this parameter, the ID of the current account is used.
  • This parameter is required if you want to connect to a cross-account IPsec-VPN connection.

zoneIdOptional

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

Property zoneId: Availability zone ID in the current region.