Skip to content

TransitRouterVpcAttachmentProps

Properties for defining a TransitRouterVpcAttachment.

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

Initializer

import com.aliyun.ros.cdk.cen.TransitRouterVpcAttachmentProps;
TransitRouterVpcAttachmentProps.builder()
    .vpcId(java.lang.String)
    .vpcId(IResolvable)
    .zoneMappings(IResolvable)
    .zoneMappings(java.util.List<IResolvable)
    .zoneMappings(ZoneMappingsProperty>)
//  .autoCreateVpcRoute(java.lang.Boolean)
//  .autoCreateVpcRoute(IResolvable)
//  .autoPublishRouteEnabled(java.lang.Boolean)
//  .autoPublishRouteEnabled(IResolvable)
//  .cenId(java.lang.String)
//  .cenId(IResolvable)
//  .chargeType(java.lang.String)
//  .chargeType(IResolvable)
//  .deletionForce(java.lang.Boolean)
//  .deletionForce(IResolvable)
//  .routeTableAssociationEnabled(java.lang.Boolean)
//  .routeTableAssociationEnabled(IResolvable)
//  .routeTablePropagationEnabled(java.lang.Boolean)
//  .routeTablePropagationEnabled(IResolvable)
//  .transitRouterAttachmentDescription(java.lang.String)
//  .transitRouterAttachmentDescription(IResolvable)
//  .transitRouterAttachmentName(java.lang.String)
//  .transitRouterAttachmentName(IResolvable)
//  .transitRouterId(java.lang.String)
//  .transitRouterId(IResolvable)
//  .transitRouterVpcAttachmentOptions(IResolvable)
//  .transitRouterVpcAttachmentOptions(java.util.Map<java.lang.String, java.lang.Object>)
//  .vpcOwnerId(java.lang.Number)
//  .vpcOwnerId(IResolvable)
    .build();

Properties

Name Type Description
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The ID of the VPC.
zoneMappings com.aliyun.ros.cdk.core.IResolvable OR java.util.ListZoneMappingsProperty> Property zoneMappings: The zone mappings for the VPC.
autoCreateVpcRoute java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property autoCreateVpcRoute: undefined.
autoPublishRouteEnabled java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property autoPublishRouteEnabled: Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to the VPC instance.
cenId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property cenId: The ID of the Cloud Enterprise Network (CEN) instance.
chargeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property chargeType: The charge type of the transit router vpc attachment.
deletionForce java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property deletionForce: Whether force delete related resources, like vpc route entry, route table association, route propagation.
routeTableAssociationEnabled java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property routeTableAssociationEnabled: undefined.
routeTablePropagationEnabled java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property routeTablePropagationEnabled: undefined.
transitRouterAttachmentDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property transitRouterAttachmentDescription: The description of the VPC connection.
transitRouterAttachmentName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property transitRouterAttachmentName: The name of the VPC connection.
transitRouterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property transitRouterId: The ID of the transit router.
transitRouterVpcAttachmentOptions com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property transitRouterVpcAttachmentOptions: The properties of the VPC connection.
vpcOwnerId java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property vpcOwnerId: The ID of the account (root account) that owns the VPC instance.

vpcIdRequired

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

Property vpcId: The ID of the VPC.


zoneMappingsRequired

public java.lang.Object getZoneMappings();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListZoneMappingsProperty>

Property zoneMappings: The zone mappings for the VPC.


autoCreateVpcRouteOptional

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

Property autoCreateVpcRoute: undefined.


autoPublishRouteEnabledOptional

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

Property autoPublishRouteEnabled: Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to the VPC instance.

  • false (default): Do not automatically advertise routes.
  • true: Automatically advertise routes.

cenIdOptional

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

Property cenId: The ID of the Cloud Enterprise Network (CEN) instance.


chargeTypeOptional

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

Property chargeType: The charge type of the transit router vpc attachment.


deletionForceOptional

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

Property deletionForce: Whether force delete related resources, like vpc route entry, route table association, route propagation.


routeTableAssociationEnabledOptional

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

Property routeTableAssociationEnabled: undefined.


routeTablePropagationEnabledOptional

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

Property routeTablePropagationEnabled: undefined.


transitRouterAttachmentDescriptionOptional

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

Property transitRouterAttachmentDescription: The description of the VPC connection.

The description can be empty or 1 to 256 characters long, 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 VPC connection.

The name can be empty or 1 to 128 characters long, 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: The ID of the transit router.


transitRouterVpcAttachmentOptionsOptional

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

Property transitRouterVpcAttachmentOptions: The properties of the VPC connection.

This parameter is deprecated. We recommend that you use the Options parameter instead.


vpcOwnerIdOptional

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

Property vpcOwnerId: The ID of the account (root account) that owns the VPC instance.

By default, this is the ID of the current account.

This parameter is required if you want to attach a cross-account network instance.