1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. cen
  5. getRouteMaps
Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi

alicloud.cen.getRouteMaps

Explore with Pulumi AI

Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi

This data source provides CEN Route Maps available to the user.

NOTE: Available in v1.87.0+.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const _this = alicloud.cen.getRouteMaps({
    cenId: "cen-ihdlgo87ai********",
    ids: ["cen-ihdlgo87ai:cenrmap-bnh97kb3mn********"],
    descriptionRegex: "datasource_test",
    cenRegionId: "cn-hangzhou",
    transmitDirection: "RegionIn",
    status: "Active",
});
export const firstCenRouteMapId = _this.then(_this => _this.maps?.[0]?.routeMapId);
Copy
import pulumi
import pulumi_alicloud as alicloud

this = alicloud.cen.get_route_maps(cen_id="cen-ihdlgo87ai********",
    ids=["cen-ihdlgo87ai:cenrmap-bnh97kb3mn********"],
    description_regex="datasource_test",
    cen_region_id="cn-hangzhou",
    transmit_direction="RegionIn",
    status="Active")
pulumi.export("firstCenRouteMapId", this.maps[0].route_map_id)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		this, err := cen.GetRouteMaps(ctx, &cen.GetRouteMapsArgs{
			CenId: "cen-ihdlgo87ai********",
			Ids: []string{
				"cen-ihdlgo87ai:cenrmap-bnh97kb3mn********",
			},
			DescriptionRegex:  pulumi.StringRef("datasource_test"),
			CenRegionId:       pulumi.StringRef("cn-hangzhou"),
			TransmitDirection: pulumi.StringRef("RegionIn"),
			Status:            pulumi.StringRef("Active"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstCenRouteMapId", this.Maps[0].RouteMapId)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var @this = AliCloud.Cen.GetRouteMaps.Invoke(new()
    {
        CenId = "cen-ihdlgo87ai********",
        Ids = new[]
        {
            "cen-ihdlgo87ai:cenrmap-bnh97kb3mn********",
        },
        DescriptionRegex = "datasource_test",
        CenRegionId = "cn-hangzhou",
        TransmitDirection = "RegionIn",
        Status = "Active",
    });

    return new Dictionary<string, object?>
    {
        ["firstCenRouteMapId"] = @this.Apply(@this => @this.Apply(getRouteMapsResult => getRouteMapsResult.Maps[0]?.RouteMapId)),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cen.CenFunctions;
import com.pulumi.alicloud.cen.inputs.GetRouteMapsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var this = CenFunctions.getRouteMaps(GetRouteMapsArgs.builder()
            .cenId("cen-ihdlgo87ai********")
            .ids("cen-ihdlgo87ai:cenrmap-bnh97kb3mn********")
            .descriptionRegex("datasource_test")
            .cenRegionId("cn-hangzhou")
            .transmitDirection("RegionIn")
            .status("Active")
            .build());

        ctx.export("firstCenRouteMapId", this_.maps()[0].routeMapId());
    }
}
Copy
variables:
  this:
    fn::invoke:
      function: alicloud:cen:getRouteMaps
      arguments:
        cenId: cen-ihdlgo87ai********
        ids:
          - cen-ihdlgo87ai:cenrmap-bnh97kb3mn********
        descriptionRegex: datasource_test
        cenRegionId: cn-hangzhou
        transmitDirection: RegionIn
        status: Active
outputs:
  firstCenRouteMapId: ${this.maps[0].routeMapId}
Copy

Using getRouteMaps

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getRouteMaps(args: GetRouteMapsArgs, opts?: InvokeOptions): Promise<GetRouteMapsResult>
function getRouteMapsOutput(args: GetRouteMapsOutputArgs, opts?: InvokeOptions): Output<GetRouteMapsResult>
Copy
def get_route_maps(cen_id: Optional[str] = None,
                   cen_region_id: Optional[str] = None,
                   description_regex: Optional[str] = None,
                   ids: Optional[Sequence[str]] = None,
                   output_file: Optional[str] = None,
                   status: Optional[str] = None,
                   transmit_direction: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetRouteMapsResult
def get_route_maps_output(cen_id: Optional[pulumi.Input[str]] = None,
                   cen_region_id: Optional[pulumi.Input[str]] = None,
                   description_regex: Optional[pulumi.Input[str]] = None,
                   ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                   output_file: Optional[pulumi.Input[str]] = None,
                   status: Optional[pulumi.Input[str]] = None,
                   transmit_direction: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetRouteMapsResult]
Copy
func GetRouteMaps(ctx *Context, args *GetRouteMapsArgs, opts ...InvokeOption) (*GetRouteMapsResult, error)
func GetRouteMapsOutput(ctx *Context, args *GetRouteMapsOutputArgs, opts ...InvokeOption) GetRouteMapsResultOutput
Copy

> Note: This function is named GetRouteMaps in the Go SDK.

public static class GetRouteMaps 
{
    public static Task<GetRouteMapsResult> InvokeAsync(GetRouteMapsArgs args, InvokeOptions? opts = null)
    public static Output<GetRouteMapsResult> Invoke(GetRouteMapsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRouteMapsResult> getRouteMaps(GetRouteMapsArgs args, InvokeOptions options)
public static Output<GetRouteMapsResult> getRouteMaps(GetRouteMapsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:cen/getRouteMaps:getRouteMaps
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CenId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the CEN instance.
CenRegionId Changes to this property will trigger replacement. string
The ID of the region to which the CEN instance belongs.
DescriptionRegex Changes to this property will trigger replacement. string
A regex string to filter CEN route map by description.
Ids Changes to this property will trigger replacement. List<string>
A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>.
OutputFile string
File name where to save data source results (after running pulumi preview).
Status Changes to this property will trigger replacement. string
The status of the route map, including Creating, Active and Deleting.
TransmitDirection Changes to this property will trigger replacement. string
The direction in which the route map is applied, including RegionIn and RegionOut.
CenId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the CEN instance.
CenRegionId Changes to this property will trigger replacement. string
The ID of the region to which the CEN instance belongs.
DescriptionRegex Changes to this property will trigger replacement. string
A regex string to filter CEN route map by description.
Ids Changes to this property will trigger replacement. []string
A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>.
OutputFile string
File name where to save data source results (after running pulumi preview).
Status Changes to this property will trigger replacement. string
The status of the route map, including Creating, Active and Deleting.
TransmitDirection Changes to this property will trigger replacement. string
The direction in which the route map is applied, including RegionIn and RegionOut.
cenId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the CEN instance.
cenRegionId Changes to this property will trigger replacement. String
The ID of the region to which the CEN instance belongs.
descriptionRegex Changes to this property will trigger replacement. String
A regex string to filter CEN route map by description.
ids Changes to this property will trigger replacement. List<String>
A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>.
outputFile String
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. String
The status of the route map, including Creating, Active and Deleting.
transmitDirection Changes to this property will trigger replacement. String
The direction in which the route map is applied, including RegionIn and RegionOut.
cenId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the CEN instance.
cenRegionId Changes to this property will trigger replacement. string
The ID of the region to which the CEN instance belongs.
descriptionRegex Changes to this property will trigger replacement. string
A regex string to filter CEN route map by description.
ids Changes to this property will trigger replacement. string[]
A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>.
outputFile string
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. string
The status of the route map, including Creating, Active and Deleting.
transmitDirection Changes to this property will trigger replacement. string
The direction in which the route map is applied, including RegionIn and RegionOut.
cen_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the CEN instance.
cen_region_id Changes to this property will trigger replacement. str
The ID of the region to which the CEN instance belongs.
description_regex Changes to this property will trigger replacement. str
A regex string to filter CEN route map by description.
ids Changes to this property will trigger replacement. Sequence[str]
A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>.
output_file str
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. str
The status of the route map, including Creating, Active and Deleting.
transmit_direction Changes to this property will trigger replacement. str
The direction in which the route map is applied, including RegionIn and RegionOut.
cenId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the CEN instance.
cenRegionId Changes to this property will trigger replacement. String
The ID of the region to which the CEN instance belongs.
descriptionRegex Changes to this property will trigger replacement. String
A regex string to filter CEN route map by description.
ids Changes to this property will trigger replacement. List<String>
A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>.
outputFile String
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. String
The status of the route map, including Creating, Active and Deleting.
transmitDirection Changes to this property will trigger replacement. String
The direction in which the route map is applied, including RegionIn and RegionOut.

getRouteMaps Result

The following output properties are available:

CenId string
The ID of the CEN instance.
Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>. Before 1.161.0, its element is route_map_id.
Maps List<Pulumi.AliCloud.Cen.Outputs.GetRouteMapsMap>
A list of CEN instances. Each element contains the following attributes:
CenRegionId string
The ID of the region to which the CEN instance belongs.
DescriptionRegex string
OutputFile string
Status string
The status of the route map.
TransmitDirection string
The direction in which the route map is applied.
CenId string
The ID of the CEN instance.
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>. Before 1.161.0, its element is route_map_id.
Maps []GetRouteMapsMap
A list of CEN instances. Each element contains the following attributes:
CenRegionId string
The ID of the region to which the CEN instance belongs.
DescriptionRegex string
OutputFile string
Status string
The status of the route map.
TransmitDirection string
The direction in which the route map is applied.
cenId String
The ID of the CEN instance.
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>. Before 1.161.0, its element is route_map_id.
maps List<GetRouteMapsMap>
A list of CEN instances. Each element contains the following attributes:
cenRegionId String
The ID of the region to which the CEN instance belongs.
descriptionRegex String
outputFile String
status String
The status of the route map.
transmitDirection String
The direction in which the route map is applied.
cenId string
The ID of the CEN instance.
id string
The provider-assigned unique ID for this managed resource.
ids string[]
A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>. Before 1.161.0, its element is route_map_id.
maps GetRouteMapsMap[]
A list of CEN instances. Each element contains the following attributes:
cenRegionId string
The ID of the region to which the CEN instance belongs.
descriptionRegex string
outputFile string
status string
The status of the route map.
transmitDirection string
The direction in which the route map is applied.
cen_id str
The ID of the CEN instance.
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>. Before 1.161.0, its element is route_map_id.
maps Sequence[GetRouteMapsMap]
A list of CEN instances. Each element contains the following attributes:
cen_region_id str
The ID of the region to which the CEN instance belongs.
description_regex str
output_file str
status str
The status of the route map.
transmit_direction str
The direction in which the route map is applied.
cenId String
The ID of the CEN instance.
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>. Before 1.161.0, its element is route_map_id.
maps List<Property Map>
A list of CEN instances. Each element contains the following attributes:
cenRegionId String
The ID of the region to which the CEN instance belongs.
descriptionRegex String
outputFile String
status String
The status of the route map.
transmitDirection String
The direction in which the route map is applied.

Supporting Types

GetRouteMapsMap

AsPathMatchMode This property is required. string
A match statement. It indicates the mode in which the as-path attribute is matched.
CenId This property is required. string
The ID of the CEN instance.
CenRegionId This property is required. string
The ID of the region to which the CEN instance belongs.
CidrMatchMode This property is required. string
A match statement. It indicates the mode in which the prefix attribute is matched.
CommunityMatchMode This property is required. string
A match statement. It indicates the mode in which the community attribute is matched.
CommunityOperateMode This property is required. string
An action statement. It indicates the mode in which the community attribute is operated.
Description This property is required. string
The description of the route map.
DestinationChildInstanceTypes This property is required. List<string>
A match statement that indicates the list of IDs of the destination instances.
DestinationCidrBlocks This property is required. List<string>
A match statement that indicates the prefix list.
DestinationInstanceIds This property is required. List<string>
A match statement that indicates the list of IDs of the destination instances.
DestinationInstanceIdsReverseMatch This property is required. bool
Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
DestinationRouteTableIds This property is required. List<string>
A match statement that indicates the list of IDs of the destination route tables.
Id This property is required. string
The ID of the route map. It formats as <cen_id>:<route_map_id>. Before 1.161.0, it is route_map_id.
MapResult This property is required. string
The action that is performed to a route if the route meets all the match conditions.
MatchAsns This property is required. List<string>
A match statement that indicates the As path list.
MatchCommunitySets This property is required. List<string>
A match statement that indicates the community set.
NextPriority This property is required. int
The priority of the next route map that is associated with the current route map.
OperateCommunitySets This property is required. List<string>
An action statement that operates the community attribute.
Preference This property is required. int
An action statement that modifies the preference of the route.
PrependAsPaths This property is required. List<string>
Indicates AS Path prepending when a regional gateway receives or publishes a route.
Priority This property is required. int
The priority of the route map.
RouteMapId This property is required. string
The ID of the route map.
RouteTypes This property is required. List<string>
A match statement that indicates the list of route types.
SourceChildInstanceTypes This property is required. List<string>
A match statement that indicates the list of IDs of the source instances.
SourceInstanceIds This property is required. List<string>
A match statement that indicates the list of IDs of the source instances.
SourceInstanceIdsReverseMatch This property is required. bool
Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
SourceRegionIds This property is required. List<string>
A match statement that indicates the list of IDs of the source regions.
SourceRouteTableIds This property is required. List<string>
A match statement that indicates the list of IDs of the source route tables.
Status This property is required. string
The status of the route map, including Creating, Active and Deleting.
TransmitDirection This property is required. string
The direction in which the route map is applied, including RegionIn and RegionOut.
AsPathMatchMode This property is required. string
A match statement. It indicates the mode in which the as-path attribute is matched.
CenId This property is required. string
The ID of the CEN instance.
CenRegionId This property is required. string
The ID of the region to which the CEN instance belongs.
CidrMatchMode This property is required. string
A match statement. It indicates the mode in which the prefix attribute is matched.
CommunityMatchMode This property is required. string
A match statement. It indicates the mode in which the community attribute is matched.
CommunityOperateMode This property is required. string
An action statement. It indicates the mode in which the community attribute is operated.
Description This property is required. string
The description of the route map.
DestinationChildInstanceTypes This property is required. []string
A match statement that indicates the list of IDs of the destination instances.
DestinationCidrBlocks This property is required. []string
A match statement that indicates the prefix list.
DestinationInstanceIds This property is required. []string
A match statement that indicates the list of IDs of the destination instances.
DestinationInstanceIdsReverseMatch This property is required. bool
Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
DestinationRouteTableIds This property is required. []string
A match statement that indicates the list of IDs of the destination route tables.
Id This property is required. string
The ID of the route map. It formats as <cen_id>:<route_map_id>. Before 1.161.0, it is route_map_id.
MapResult This property is required. string
The action that is performed to a route if the route meets all the match conditions.
MatchAsns This property is required. []string
A match statement that indicates the As path list.
MatchCommunitySets This property is required. []string
A match statement that indicates the community set.
NextPriority This property is required. int
The priority of the next route map that is associated with the current route map.
OperateCommunitySets This property is required. []string
An action statement that operates the community attribute.
Preference This property is required. int
An action statement that modifies the preference of the route.
PrependAsPaths This property is required. []string
Indicates AS Path prepending when a regional gateway receives or publishes a route.
Priority This property is required. int
The priority of the route map.
RouteMapId This property is required. string
The ID of the route map.
RouteTypes This property is required. []string
A match statement that indicates the list of route types.
SourceChildInstanceTypes This property is required. []string
A match statement that indicates the list of IDs of the source instances.
SourceInstanceIds This property is required. []string
A match statement that indicates the list of IDs of the source instances.
SourceInstanceIdsReverseMatch This property is required. bool
Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
SourceRegionIds This property is required. []string
A match statement that indicates the list of IDs of the source regions.
SourceRouteTableIds This property is required. []string
A match statement that indicates the list of IDs of the source route tables.
Status This property is required. string
The status of the route map, including Creating, Active and Deleting.
TransmitDirection This property is required. string
The direction in which the route map is applied, including RegionIn and RegionOut.
asPathMatchMode This property is required. String
A match statement. It indicates the mode in which the as-path attribute is matched.
cenId This property is required. String
The ID of the CEN instance.
cenRegionId This property is required. String
The ID of the region to which the CEN instance belongs.
cidrMatchMode This property is required. String
A match statement. It indicates the mode in which the prefix attribute is matched.
communityMatchMode This property is required. String
A match statement. It indicates the mode in which the community attribute is matched.
communityOperateMode This property is required. String
An action statement. It indicates the mode in which the community attribute is operated.
description This property is required. String
The description of the route map.
destinationChildInstanceTypes This property is required. List<String>
A match statement that indicates the list of IDs of the destination instances.
destinationCidrBlocks This property is required. List<String>
A match statement that indicates the prefix list.
destinationInstanceIds This property is required. List<String>
A match statement that indicates the list of IDs of the destination instances.
destinationInstanceIdsReverseMatch This property is required. Boolean
Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
destinationRouteTableIds This property is required. List<String>
A match statement that indicates the list of IDs of the destination route tables.
id This property is required. String
The ID of the route map. It formats as <cen_id>:<route_map_id>. Before 1.161.0, it is route_map_id.
mapResult This property is required. String
The action that is performed to a route if the route meets all the match conditions.
matchAsns This property is required. List<String>
A match statement that indicates the As path list.
matchCommunitySets This property is required. List<String>
A match statement that indicates the community set.
nextPriority This property is required. Integer
The priority of the next route map that is associated with the current route map.
operateCommunitySets This property is required. List<String>
An action statement that operates the community attribute.
preference This property is required. Integer
An action statement that modifies the preference of the route.
prependAsPaths This property is required. List<String>
Indicates AS Path prepending when a regional gateway receives or publishes a route.
priority This property is required. Integer
The priority of the route map.
routeMapId This property is required. String
The ID of the route map.
routeTypes This property is required. List<String>
A match statement that indicates the list of route types.
sourceChildInstanceTypes This property is required. List<String>
A match statement that indicates the list of IDs of the source instances.
sourceInstanceIds This property is required. List<String>
A match statement that indicates the list of IDs of the source instances.
sourceInstanceIdsReverseMatch This property is required. Boolean
Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
sourceRegionIds This property is required. List<String>
A match statement that indicates the list of IDs of the source regions.
sourceRouteTableIds This property is required. List<String>
A match statement that indicates the list of IDs of the source route tables.
status This property is required. String
The status of the route map, including Creating, Active and Deleting.
transmitDirection This property is required. String
The direction in which the route map is applied, including RegionIn and RegionOut.
asPathMatchMode This property is required. string
A match statement. It indicates the mode in which the as-path attribute is matched.
cenId This property is required. string
The ID of the CEN instance.
cenRegionId This property is required. string
The ID of the region to which the CEN instance belongs.
cidrMatchMode This property is required. string
A match statement. It indicates the mode in which the prefix attribute is matched.
communityMatchMode This property is required. string
A match statement. It indicates the mode in which the community attribute is matched.
communityOperateMode This property is required. string
An action statement. It indicates the mode in which the community attribute is operated.
description This property is required. string
The description of the route map.
destinationChildInstanceTypes This property is required. string[]
A match statement that indicates the list of IDs of the destination instances.
destinationCidrBlocks This property is required. string[]
A match statement that indicates the prefix list.
destinationInstanceIds This property is required. string[]
A match statement that indicates the list of IDs of the destination instances.
destinationInstanceIdsReverseMatch This property is required. boolean
Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
destinationRouteTableIds This property is required. string[]
A match statement that indicates the list of IDs of the destination route tables.
id This property is required. string
The ID of the route map. It formats as <cen_id>:<route_map_id>. Before 1.161.0, it is route_map_id.
mapResult This property is required. string
The action that is performed to a route if the route meets all the match conditions.
matchAsns This property is required. string[]
A match statement that indicates the As path list.
matchCommunitySets This property is required. string[]
A match statement that indicates the community set.
nextPriority This property is required. number
The priority of the next route map that is associated with the current route map.
operateCommunitySets This property is required. string[]
An action statement that operates the community attribute.
preference This property is required. number
An action statement that modifies the preference of the route.
prependAsPaths This property is required. string[]
Indicates AS Path prepending when a regional gateway receives or publishes a route.
priority This property is required. number
The priority of the route map.
routeMapId This property is required. string
The ID of the route map.
routeTypes This property is required. string[]
A match statement that indicates the list of route types.
sourceChildInstanceTypes This property is required. string[]
A match statement that indicates the list of IDs of the source instances.
sourceInstanceIds This property is required. string[]
A match statement that indicates the list of IDs of the source instances.
sourceInstanceIdsReverseMatch This property is required. boolean
Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
sourceRegionIds This property is required. string[]
A match statement that indicates the list of IDs of the source regions.
sourceRouteTableIds This property is required. string[]
A match statement that indicates the list of IDs of the source route tables.
status This property is required. string
The status of the route map, including Creating, Active and Deleting.
transmitDirection This property is required. string
The direction in which the route map is applied, including RegionIn and RegionOut.
as_path_match_mode This property is required. str
A match statement. It indicates the mode in which the as-path attribute is matched.
cen_id This property is required. str
The ID of the CEN instance.
cen_region_id This property is required. str
The ID of the region to which the CEN instance belongs.
cidr_match_mode This property is required. str
A match statement. It indicates the mode in which the prefix attribute is matched.
community_match_mode This property is required. str
A match statement. It indicates the mode in which the community attribute is matched.
community_operate_mode This property is required. str
An action statement. It indicates the mode in which the community attribute is operated.
description This property is required. str
The description of the route map.
destination_child_instance_types This property is required. Sequence[str]
A match statement that indicates the list of IDs of the destination instances.
destination_cidr_blocks This property is required. Sequence[str]
A match statement that indicates the prefix list.
destination_instance_ids This property is required. Sequence[str]
A match statement that indicates the list of IDs of the destination instances.
destination_instance_ids_reverse_match This property is required. bool
Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
destination_route_table_ids This property is required. Sequence[str]
A match statement that indicates the list of IDs of the destination route tables.
id This property is required. str
The ID of the route map. It formats as <cen_id>:<route_map_id>. Before 1.161.0, it is route_map_id.
map_result This property is required. str
The action that is performed to a route if the route meets all the match conditions.
match_asns This property is required. Sequence[str]
A match statement that indicates the As path list.
match_community_sets This property is required. Sequence[str]
A match statement that indicates the community set.
next_priority This property is required. int
The priority of the next route map that is associated with the current route map.
operate_community_sets This property is required. Sequence[str]
An action statement that operates the community attribute.
preference This property is required. int
An action statement that modifies the preference of the route.
prepend_as_paths This property is required. Sequence[str]
Indicates AS Path prepending when a regional gateway receives or publishes a route.
priority This property is required. int
The priority of the route map.
route_map_id This property is required. str
The ID of the route map.
route_types This property is required. Sequence[str]
A match statement that indicates the list of route types.
source_child_instance_types This property is required. Sequence[str]
A match statement that indicates the list of IDs of the source instances.
source_instance_ids This property is required. Sequence[str]
A match statement that indicates the list of IDs of the source instances.
source_instance_ids_reverse_match This property is required. bool
Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
source_region_ids This property is required. Sequence[str]
A match statement that indicates the list of IDs of the source regions.
source_route_table_ids This property is required. Sequence[str]
A match statement that indicates the list of IDs of the source route tables.
status This property is required. str
The status of the route map, including Creating, Active and Deleting.
transmit_direction This property is required. str
The direction in which the route map is applied, including RegionIn and RegionOut.
asPathMatchMode This property is required. String
A match statement. It indicates the mode in which the as-path attribute is matched.
cenId This property is required. String
The ID of the CEN instance.
cenRegionId This property is required. String
The ID of the region to which the CEN instance belongs.
cidrMatchMode This property is required. String
A match statement. It indicates the mode in which the prefix attribute is matched.
communityMatchMode This property is required. String
A match statement. It indicates the mode in which the community attribute is matched.
communityOperateMode This property is required. String
An action statement. It indicates the mode in which the community attribute is operated.
description This property is required. String
The description of the route map.
destinationChildInstanceTypes This property is required. List<String>
A match statement that indicates the list of IDs of the destination instances.
destinationCidrBlocks This property is required. List<String>
A match statement that indicates the prefix list.
destinationInstanceIds This property is required. List<String>
A match statement that indicates the list of IDs of the destination instances.
destinationInstanceIdsReverseMatch This property is required. Boolean
Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
destinationRouteTableIds This property is required. List<String>
A match statement that indicates the list of IDs of the destination route tables.
id This property is required. String
The ID of the route map. It formats as <cen_id>:<route_map_id>. Before 1.161.0, it is route_map_id.
mapResult This property is required. String
The action that is performed to a route if the route meets all the match conditions.
matchAsns This property is required. List<String>
A match statement that indicates the As path list.
matchCommunitySets This property is required. List<String>
A match statement that indicates the community set.
nextPriority This property is required. Number
The priority of the next route map that is associated with the current route map.
operateCommunitySets This property is required. List<String>
An action statement that operates the community attribute.
preference This property is required. Number
An action statement that modifies the preference of the route.
prependAsPaths This property is required. List<String>
Indicates AS Path prepending when a regional gateway receives or publishes a route.
priority This property is required. Number
The priority of the route map.
routeMapId This property is required. String
The ID of the route map.
routeTypes This property is required. List<String>
A match statement that indicates the list of route types.
sourceChildInstanceTypes This property is required. List<String>
A match statement that indicates the list of IDs of the source instances.
sourceInstanceIds This property is required. List<String>
A match statement that indicates the list of IDs of the source instances.
sourceInstanceIdsReverseMatch This property is required. Boolean
Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
sourceRegionIds This property is required. List<String>
A match statement that indicates the list of IDs of the source regions.
sourceRouteTableIds This property is required. List<String>
A match statement that indicates the list of IDs of the source route tables.
status This property is required. String
The status of the route map, including Creating, Active and Deleting.
transmitDirection This property is required. String
The direction in which the route map is applied, including RegionIn and RegionOut.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.
Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi