Skip to content

TransitRouterVpcAttachmentProps

Properties for defining a TransitRouterVpcAttachment.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcen"
&alicloudroscdkcen.TransitRouterVpcAttachmentProps {
    VpcId: interface{},
    ZoneMappings: interface{},
    AutoCreateVpcRoute: interface{},
    AutoPublishRouteEnabled: interface{},
    CenId: interface{},
    ChargeType: interface{},
    DeletionForce: interface{},
    RouteTableAssociationEnabled: interface{},
    RouteTablePropagationEnabled: interface{},
    TransitRouterAttachmentDescription: interface{},
    TransitRouterAttachmentName: interface{},
    TransitRouterId: interface{},
    TransitRouterVpcAttachmentOptions: interface{},
    VpcOwnerId: interface{},
}

Properties

Name Type Description
VpcId interface{} Property vpcId: The ID of the VPC.
ZoneMappings interface{} Property zoneMappings: The zone mappings for the VPC.
AutoCreateVpcRoute interface{} Property autoCreateVpcRoute: undefined.
AutoPublishRouteEnabled interface{} Property autoPublishRouteEnabled: Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to the VPC instance.
CenId interface{} Property cenId: The ID of the Cloud Enterprise Network (CEN) instance.
ChargeType interface{} Property chargeType: The charge type of the transit router vpc attachment.
DeletionForce interface{} Property deletionForce: Whether force delete related resources, like vpc route entry, route table association, route propagation.
RouteTableAssociationEnabled interface{} Property routeTableAssociationEnabled: undefined.
RouteTablePropagationEnabled interface{} Property routeTablePropagationEnabled: undefined.
TransitRouterAttachmentDescription interface{} Property transitRouterAttachmentDescription: The description of the VPC connection.
TransitRouterAttachmentName interface{} Property transitRouterAttachmentName: The name of the VPC connection.
TransitRouterId interface{} Property transitRouterId: The ID of the transit router.
TransitRouterVpcAttachmentOptions interface{} Property transitRouterVpcAttachmentOptions: The properties of the VPC connection.
VpcOwnerId interface{} Property vpcOwnerId: The ID of the account (root account) that owns the VPC instance.

VpcIdRequired

VpcId interface{}
  • Type: interface{}

Property vpcId: The ID of the VPC.


ZoneMappingsRequired

ZoneMappings interface{}
  • Type: interface{}

Property zoneMappings: The zone mappings for the VPC.


AutoCreateVpcRouteOptional

AutoCreateVpcRoute interface{}
  • Type: interface{}

Property autoCreateVpcRoute: undefined.


AutoPublishRouteEnabledOptional

AutoPublishRouteEnabled interface{}
  • Type: interface{}

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

CenId interface{}
  • Type: interface{}

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


ChargeTypeOptional

ChargeType interface{}
  • Type: interface{}

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


DeletionForceOptional

DeletionForce interface{}
  • Type: interface{}

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


RouteTableAssociationEnabledOptional

RouteTableAssociationEnabled interface{}
  • Type: interface{}

Property routeTableAssociationEnabled: undefined.


RouteTablePropagationEnabledOptional

RouteTablePropagationEnabled interface{}
  • Type: interface{}

Property routeTablePropagationEnabled: undefined.


TransitRouterAttachmentDescriptionOptional

TransitRouterAttachmentDescription interface{}
  • Type: interface{}

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

TransitRouterAttachmentName interface{}
  • Type: interface{}

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

TransitRouterId interface{}
  • Type: interface{}

Property transitRouterId: The ID of the transit router.


TransitRouterVpcAttachmentOptionsOptional

TransitRouterVpcAttachmentOptions interface{}
  • Type: interface{}

Property transitRouterVpcAttachmentOptions: The properties of the VPC connection.

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


VpcOwnerIdOptional

VpcOwnerId interface{}
  • Type: interface{}

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.