Skip to content

TransitRouterVpcAttachmentProps

Properties for defining a TransitRouterVpcAttachment.

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

Initializer

import { TransitRouterVpcAttachmentProps } from '@alicloud/ros-cdk-cen'
const transitRouterVpcAttachmentProps: TransitRouterVpcAttachmentProps = { ... }

Properties

Name Type Description
vpcId string | @alicloud/ros-cdk-core.IResolvable Property vpcId: The ID of the VPC.
zoneMappings @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ZoneMappingsProperty[] Property zoneMappings: The zone mappings for the VPC.
autoCreateVpcRoute boolean | @alicloud/ros-cdk-core.IResolvable Property autoCreateVpcRoute: undefined.
autoPublishRouteEnabled boolean | @alicloud/ros-cdk-core.IResolvable Property autoPublishRouteEnabled: Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to the VPC instance.
cenId string | @alicloud/ros-cdk-core.IResolvable Property cenId: The ID of the Cloud Enterprise Network (CEN) instance.
chargeType string | @alicloud/ros-cdk-core.IResolvable Property chargeType: The charge type of the transit router vpc attachment.
deletionForce boolean | @alicloud/ros-cdk-core.IResolvable Property deletionForce: Whether force delete related resources, like vpc route entry, route table association, route propagation.
routeTableAssociationEnabled boolean | @alicloud/ros-cdk-core.IResolvable Property routeTableAssociationEnabled: undefined.
routeTablePropagationEnabled boolean | @alicloud/ros-cdk-core.IResolvable Property routeTablePropagationEnabled: undefined.
transitRouterAttachmentDescription string | @alicloud/ros-cdk-core.IResolvable Property transitRouterAttachmentDescription: The description of the VPC connection.
transitRouterAttachmentName string | @alicloud/ros-cdk-core.IResolvable Property transitRouterAttachmentName: The name of the VPC connection.
transitRouterId string | @alicloud/ros-cdk-core.IResolvable Property transitRouterId: The ID of the transit router.
transitRouterVpcAttachmentOptions @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property transitRouterVpcAttachmentOptions: The properties of the VPC connection.
vpcOwnerId number | @alicloud/ros-cdk-core.IResolvable Property vpcOwnerId: The ID of the account (root account) that owns the VPC instance.

vpcIdRequired

public readonly vpcId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property vpcId: The ID of the VPC.


zoneMappingsRequired

public readonly zoneMappings: IResolvable | IResolvable | ZoneMappingsProperty[];
  • Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ZoneMappingsProperty[]

Property zoneMappings: The zone mappings for the VPC.


autoCreateVpcRouteOptional

public readonly autoCreateVpcRoute: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property autoCreateVpcRoute: undefined.


autoPublishRouteEnabledOptional

public readonly autoPublishRouteEnabled: boolean | IResolvable;
  • Type: boolean | @alicloud/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 readonly cenId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


chargeTypeOptional

public readonly chargeType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


deletionForceOptional

public readonly deletionForce: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

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


routeTableAssociationEnabledOptional

public readonly routeTableAssociationEnabled: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property routeTableAssociationEnabled: undefined.


routeTablePropagationEnabledOptional

public readonly routeTablePropagationEnabled: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property routeTablePropagationEnabled: undefined.


transitRouterAttachmentDescriptionOptional

public readonly transitRouterAttachmentDescription: string | IResolvable;
  • Type: string | @alicloud/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 readonly transitRouterAttachmentName: string | IResolvable;
  • Type: string | @alicloud/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 readonly transitRouterId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property transitRouterId: The ID of the transit router.


transitRouterVpcAttachmentOptionsOptional

public readonly transitRouterVpcAttachmentOptions: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property transitRouterVpcAttachmentOptions: The properties of the VPC connection.

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


vpcOwnerIdOptional

public readonly vpcOwnerId: number | IResolvable;
  • Type: number | @alicloud/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.