1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. cen
  5. RouteMap
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

alicloud.cen.RouteMap

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

    This topic provides an overview of the route map function of Cloud Enterprise Networks (CENs). You can use the route map function to filter routes and modify route attributes. By doing so, you can manage the communication between networks attached to a CEN.

    For information about CEN Route Map and how to use it, see Manage CEN Route Map.

    NOTE: Available since v1.82.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const sourceRegion = config.get("sourceRegion") || "cn-hangzhou";
    const destinationRegion = config.get("destinationRegion") || "cn-shanghai";
    const hz = new alicloud.Provider("hz", {region: sourceRegion});
    const sh = new alicloud.Provider("sh", {region: destinationRegion});
    const exampleHzNetwork = new alicloud.vpc.Network("exampleHzNetwork", {
        vpcName: "tf_example",
        cidrBlock: "192.168.0.0/16",
    }, {
        provider: alicloud.hz,
    });
    const exampleShNetwork = new alicloud.vpc.Network("exampleShNetwork", {
        vpcName: "tf_example",
        cidrBlock: "172.16.0.0/12",
    }, {
        provider: alicloud.sh,
    });
    const example = new alicloud.cen.Instance("example", {
        cenInstanceName: "tf_example",
        description: "an example for cen",
    });
    const exampleHzInstanceAttachment = new alicloud.cen.InstanceAttachment("exampleHzInstanceAttachment", {
        instanceId: example.id,
        childInstanceId: exampleHzNetwork.id,
        childInstanceType: "VPC",
        childInstanceRegionId: sourceRegion,
    });
    const exampleShInstanceAttachment = new alicloud.cen.InstanceAttachment("exampleShInstanceAttachment", {
        instanceId: example.id,
        childInstanceId: exampleShNetwork.id,
        childInstanceType: "VPC",
        childInstanceRegionId: destinationRegion,
    });
    const _default = new alicloud.cen.RouteMap("default", {
        cenRegionId: sourceRegion,
        cenId: example.id,
        description: "tf_example",
        priority: 1,
        transmitDirection: "RegionIn",
        mapResult: "Permit",
        nextPriority: 1,
        sourceRegionIds: [sourceRegion],
        sourceInstanceIds: [exampleHzInstanceAttachment.childInstanceId],
        sourceInstanceIdsReverseMatch: false,
        destinationInstanceIds: [exampleShInstanceAttachment.childInstanceId],
        destinationInstanceIdsReverseMatch: false,
        sourceRouteTableIds: [exampleHzNetwork.routeTableId],
        destinationRouteTableIds: [exampleShNetwork.routeTableId],
        sourceChildInstanceTypes: ["VPC"],
        destinationChildInstanceTypes: ["VPC"],
        destinationCidrBlocks: [exampleShNetwork.cidrBlock],
        cidrMatchMode: "Include",
        routeTypes: ["System"],
        matchAsns: ["65501"],
        asPathMatchMode: "Include",
        matchCommunitySets: ["65501:1"],
        communityMatchMode: "Include",
        communityOperateMode: "Additive",
        operateCommunitySets: ["65501:1"],
        preference: 20,
        prependAsPaths: ["65501"],
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    source_region = config.get("sourceRegion")
    if source_region is None:
        source_region = "cn-hangzhou"
    destination_region = config.get("destinationRegion")
    if destination_region is None:
        destination_region = "cn-shanghai"
    hz = alicloud.Provider("hz", region=source_region)
    sh = alicloud.Provider("sh", region=destination_region)
    example_hz_network = alicloud.vpc.Network("exampleHzNetwork",
        vpc_name="tf_example",
        cidr_block="192.168.0.0/16",
        opts=pulumi.ResourceOptions(provider=alicloud["hz"]))
    example_sh_network = alicloud.vpc.Network("exampleShNetwork",
        vpc_name="tf_example",
        cidr_block="172.16.0.0/12",
        opts=pulumi.ResourceOptions(provider=alicloud["sh"]))
    example = alicloud.cen.Instance("example",
        cen_instance_name="tf_example",
        description="an example for cen")
    example_hz_instance_attachment = alicloud.cen.InstanceAttachment("exampleHzInstanceAttachment",
        instance_id=example.id,
        child_instance_id=example_hz_network.id,
        child_instance_type="VPC",
        child_instance_region_id=source_region)
    example_sh_instance_attachment = alicloud.cen.InstanceAttachment("exampleShInstanceAttachment",
        instance_id=example.id,
        child_instance_id=example_sh_network.id,
        child_instance_type="VPC",
        child_instance_region_id=destination_region)
    default = alicloud.cen.RouteMap("default",
        cen_region_id=source_region,
        cen_id=example.id,
        description="tf_example",
        priority=1,
        transmit_direction="RegionIn",
        map_result="Permit",
        next_priority=1,
        source_region_ids=[source_region],
        source_instance_ids=[example_hz_instance_attachment.child_instance_id],
        source_instance_ids_reverse_match=False,
        destination_instance_ids=[example_sh_instance_attachment.child_instance_id],
        destination_instance_ids_reverse_match=False,
        source_route_table_ids=[example_hz_network.route_table_id],
        destination_route_table_ids=[example_sh_network.route_table_id],
        source_child_instance_types=["VPC"],
        destination_child_instance_types=["VPC"],
        destination_cidr_blocks=[example_sh_network.cidr_block],
        cidr_match_mode="Include",
        route_types=["System"],
        match_asns=["65501"],
        as_path_match_mode="Include",
        match_community_sets=["65501:1"],
        community_match_mode="Include",
        community_operate_mode="Additive",
        operate_community_sets=["65501:1"],
        preference=20,
        prepend_as_paths=["65501"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		sourceRegion := "cn-hangzhou"
    		if param := cfg.Get("sourceRegion"); param != "" {
    			sourceRegion = param
    		}
    		destinationRegion := "cn-shanghai"
    		if param := cfg.Get("destinationRegion"); param != "" {
    			destinationRegion = param
    		}
    		_, err := alicloud.NewProvider(ctx, "hz", &alicloud.ProviderArgs{
    			Region: pulumi.String(sourceRegion),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = alicloud.NewProvider(ctx, "sh", &alicloud.ProviderArgs{
    			Region: pulumi.String(destinationRegion),
    		})
    		if err != nil {
    			return err
    		}
    		exampleHzNetwork, err := vpc.NewNetwork(ctx, "exampleHzNetwork", &vpc.NetworkArgs{
    			VpcName:   pulumi.String("tf_example"),
    			CidrBlock: pulumi.String("192.168.0.0/16"),
    		}, pulumi.Provider(alicloud.Hz))
    		if err != nil {
    			return err
    		}
    		exampleShNetwork, err := vpc.NewNetwork(ctx, "exampleShNetwork", &vpc.NetworkArgs{
    			VpcName:   pulumi.String("tf_example"),
    			CidrBlock: pulumi.String("172.16.0.0/12"),
    		}, pulumi.Provider(alicloud.Sh))
    		if err != nil {
    			return err
    		}
    		example, err := cen.NewInstance(ctx, "example", &cen.InstanceArgs{
    			CenInstanceName: pulumi.String("tf_example"),
    			Description:     pulumi.String("an example for cen"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleHzInstanceAttachment, err := cen.NewInstanceAttachment(ctx, "exampleHzInstanceAttachment", &cen.InstanceAttachmentArgs{
    			InstanceId:            example.ID(),
    			ChildInstanceId:       exampleHzNetwork.ID(),
    			ChildInstanceType:     pulumi.String("VPC"),
    			ChildInstanceRegionId: pulumi.String(sourceRegion),
    		})
    		if err != nil {
    			return err
    		}
    		exampleShInstanceAttachment, err := cen.NewInstanceAttachment(ctx, "exampleShInstanceAttachment", &cen.InstanceAttachmentArgs{
    			InstanceId:            example.ID(),
    			ChildInstanceId:       exampleShNetwork.ID(),
    			ChildInstanceType:     pulumi.String("VPC"),
    			ChildInstanceRegionId: pulumi.String(destinationRegion),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cen.NewRouteMap(ctx, "default", &cen.RouteMapArgs{
    			CenRegionId:       pulumi.String(sourceRegion),
    			CenId:             example.ID(),
    			Description:       pulumi.String("tf_example"),
    			Priority:          pulumi.Int(1),
    			TransmitDirection: pulumi.String("RegionIn"),
    			MapResult:         pulumi.String("Permit"),
    			NextPriority:      pulumi.Int(1),
    			SourceRegionIds: pulumi.StringArray{
    				pulumi.String(sourceRegion),
    			},
    			SourceInstanceIds: pulumi.StringArray{
    				exampleHzInstanceAttachment.ChildInstanceId,
    			},
    			SourceInstanceIdsReverseMatch: pulumi.Bool(false),
    			DestinationInstanceIds: pulumi.StringArray{
    				exampleShInstanceAttachment.ChildInstanceId,
    			},
    			DestinationInstanceIdsReverseMatch: pulumi.Bool(false),
    			SourceRouteTableIds: pulumi.StringArray{
    				exampleHzNetwork.RouteTableId,
    			},
    			DestinationRouteTableIds: pulumi.StringArray{
    				exampleShNetwork.RouteTableId,
    			},
    			SourceChildInstanceTypes: pulumi.StringArray{
    				pulumi.String("VPC"),
    			},
    			DestinationChildInstanceTypes: pulumi.StringArray{
    				pulumi.String("VPC"),
    			},
    			DestinationCidrBlocks: pulumi.StringArray{
    				exampleShNetwork.CidrBlock,
    			},
    			CidrMatchMode: pulumi.String("Include"),
    			RouteTypes: pulumi.StringArray{
    				pulumi.String("System"),
    			},
    			MatchAsns: pulumi.StringArray{
    				pulumi.String("65501"),
    			},
    			AsPathMatchMode: pulumi.String("Include"),
    			MatchCommunitySets: pulumi.StringArray{
    				pulumi.String("65501:1"),
    			},
    			CommunityMatchMode:   pulumi.String("Include"),
    			CommunityOperateMode: pulumi.String("Additive"),
    			OperateCommunitySets: pulumi.StringArray{
    				pulumi.String("65501:1"),
    			},
    			Preference: pulumi.Int(20),
    			PrependAsPaths: pulumi.StringArray{
    				pulumi.String("65501"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var sourceRegion = config.Get("sourceRegion") ?? "cn-hangzhou";
        var destinationRegion = config.Get("destinationRegion") ?? "cn-shanghai";
        var hz = new AliCloud.Provider("hz", new()
        {
            Region = sourceRegion,
        });
    
        var sh = new AliCloud.Provider("sh", new()
        {
            Region = destinationRegion,
        });
    
        var exampleHzNetwork = new AliCloud.Vpc.Network("exampleHzNetwork", new()
        {
            VpcName = "tf_example",
            CidrBlock = "192.168.0.0/16",
        }, new CustomResourceOptions
        {
            Provider = alicloud.Hz,
        });
    
        var exampleShNetwork = new AliCloud.Vpc.Network("exampleShNetwork", new()
        {
            VpcName = "tf_example",
            CidrBlock = "172.16.0.0/12",
        }, new CustomResourceOptions
        {
            Provider = alicloud.Sh,
        });
    
        var example = new AliCloud.Cen.Instance("example", new()
        {
            CenInstanceName = "tf_example",
            Description = "an example for cen",
        });
    
        var exampleHzInstanceAttachment = new AliCloud.Cen.InstanceAttachment("exampleHzInstanceAttachment", new()
        {
            InstanceId = example.Id,
            ChildInstanceId = exampleHzNetwork.Id,
            ChildInstanceType = "VPC",
            ChildInstanceRegionId = sourceRegion,
        });
    
        var exampleShInstanceAttachment = new AliCloud.Cen.InstanceAttachment("exampleShInstanceAttachment", new()
        {
            InstanceId = example.Id,
            ChildInstanceId = exampleShNetwork.Id,
            ChildInstanceType = "VPC",
            ChildInstanceRegionId = destinationRegion,
        });
    
        var @default = new AliCloud.Cen.RouteMap("default", new()
        {
            CenRegionId = sourceRegion,
            CenId = example.Id,
            Description = "tf_example",
            Priority = 1,
            TransmitDirection = "RegionIn",
            MapResult = "Permit",
            NextPriority = 1,
            SourceRegionIds = new[]
            {
                sourceRegion,
            },
            SourceInstanceIds = new[]
            {
                exampleHzInstanceAttachment.ChildInstanceId,
            },
            SourceInstanceIdsReverseMatch = false,
            DestinationInstanceIds = new[]
            {
                exampleShInstanceAttachment.ChildInstanceId,
            },
            DestinationInstanceIdsReverseMatch = false,
            SourceRouteTableIds = new[]
            {
                exampleHzNetwork.RouteTableId,
            },
            DestinationRouteTableIds = new[]
            {
                exampleShNetwork.RouteTableId,
            },
            SourceChildInstanceTypes = new[]
            {
                "VPC",
            },
            DestinationChildInstanceTypes = new[]
            {
                "VPC",
            },
            DestinationCidrBlocks = new[]
            {
                exampleShNetwork.CidrBlock,
            },
            CidrMatchMode = "Include",
            RouteTypes = new[]
            {
                "System",
            },
            MatchAsns = new[]
            {
                "65501",
            },
            AsPathMatchMode = "Include",
            MatchCommunitySets = new[]
            {
                "65501:1",
            },
            CommunityMatchMode = "Include",
            CommunityOperateMode = "Additive",
            OperateCommunitySets = new[]
            {
                "65501:1",
            },
            Preference = 20,
            PrependAsPaths = new[]
            {
                "65501",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.Provider;
    import com.pulumi.alicloud.ProviderArgs;
    import com.pulumi.alicloud.vpc.Network;
    import com.pulumi.alicloud.vpc.NetworkArgs;
    import com.pulumi.alicloud.cen.Instance;
    import com.pulumi.alicloud.cen.InstanceArgs;
    import com.pulumi.alicloud.cen.InstanceAttachment;
    import com.pulumi.alicloud.cen.InstanceAttachmentArgs;
    import com.pulumi.alicloud.cen.RouteMap;
    import com.pulumi.alicloud.cen.RouteMapArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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 config = ctx.config();
            final var sourceRegion = config.get("sourceRegion").orElse("cn-hangzhou");
            final var destinationRegion = config.get("destinationRegion").orElse("cn-shanghai");
            var hz = new Provider("hz", ProviderArgs.builder()        
                .region(sourceRegion)
                .build());
    
            var sh = new Provider("sh", ProviderArgs.builder()        
                .region(destinationRegion)
                .build());
    
            var exampleHzNetwork = new Network("exampleHzNetwork", NetworkArgs.builder()        
                .vpcName("tf_example")
                .cidrBlock("192.168.0.0/16")
                .build(), CustomResourceOptions.builder()
                    .provider(alicloud.hz())
                    .build());
    
            var exampleShNetwork = new Network("exampleShNetwork", NetworkArgs.builder()        
                .vpcName("tf_example")
                .cidrBlock("172.16.0.0/12")
                .build(), CustomResourceOptions.builder()
                    .provider(alicloud.sh())
                    .build());
    
            var example = new Instance("example", InstanceArgs.builder()        
                .cenInstanceName("tf_example")
                .description("an example for cen")
                .build());
    
            var exampleHzInstanceAttachment = new InstanceAttachment("exampleHzInstanceAttachment", InstanceAttachmentArgs.builder()        
                .instanceId(example.id())
                .childInstanceId(exampleHzNetwork.id())
                .childInstanceType("VPC")
                .childInstanceRegionId(sourceRegion)
                .build());
    
            var exampleShInstanceAttachment = new InstanceAttachment("exampleShInstanceAttachment", InstanceAttachmentArgs.builder()        
                .instanceId(example.id())
                .childInstanceId(exampleShNetwork.id())
                .childInstanceType("VPC")
                .childInstanceRegionId(destinationRegion)
                .build());
    
            var default_ = new RouteMap("default", RouteMapArgs.builder()        
                .cenRegionId(sourceRegion)
                .cenId(example.id())
                .description("tf_example")
                .priority("1")
                .transmitDirection("RegionIn")
                .mapResult("Permit")
                .nextPriority("1")
                .sourceRegionIds(sourceRegion)
                .sourceInstanceIds(exampleHzInstanceAttachment.childInstanceId())
                .sourceInstanceIdsReverseMatch("false")
                .destinationInstanceIds(exampleShInstanceAttachment.childInstanceId())
                .destinationInstanceIdsReverseMatch("false")
                .sourceRouteTableIds(exampleHzNetwork.routeTableId())
                .destinationRouteTableIds(exampleShNetwork.routeTableId())
                .sourceChildInstanceTypes("VPC")
                .destinationChildInstanceTypes("VPC")
                .destinationCidrBlocks(exampleShNetwork.cidrBlock())
                .cidrMatchMode("Include")
                .routeTypes("System")
                .matchAsns("65501")
                .asPathMatchMode("Include")
                .matchCommunitySets("65501:1")
                .communityMatchMode("Include")
                .communityOperateMode("Additive")
                .operateCommunitySets("65501:1")
                .preference("20")
                .prependAsPaths("65501")
                .build());
    
        }
    }
    
    configuration:
      sourceRegion:
        type: string
        default: cn-hangzhou
      destinationRegion:
        type: string
        default: cn-shanghai
    resources:
      hz:
        type: pulumi:providers:alicloud
        properties:
          region: ${sourceRegion}
      sh:
        type: pulumi:providers:alicloud
        properties:
          region: ${destinationRegion}
      exampleHzNetwork:
        type: alicloud:vpc:Network
        properties:
          vpcName: tf_example
          cidrBlock: 192.168.0.0/16
        options:
          provider: ${alicloud.hz}
      exampleShNetwork:
        type: alicloud:vpc:Network
        properties:
          vpcName: tf_example
          cidrBlock: 172.16.0.0/12
        options:
          provider: ${alicloud.sh}
      example:
        type: alicloud:cen:Instance
        properties:
          cenInstanceName: tf_example
          description: an example for cen
      exampleHzInstanceAttachment:
        type: alicloud:cen:InstanceAttachment
        properties:
          instanceId: ${example.id}
          childInstanceId: ${exampleHzNetwork.id}
          childInstanceType: VPC
          childInstanceRegionId: ${sourceRegion}
      exampleShInstanceAttachment:
        type: alicloud:cen:InstanceAttachment
        properties:
          instanceId: ${example.id}
          childInstanceId: ${exampleShNetwork.id}
          childInstanceType: VPC
          childInstanceRegionId: ${destinationRegion}
      default:
        type: alicloud:cen:RouteMap
        properties:
          cenRegionId: ${sourceRegion}
          cenId: ${example.id}
          description: tf_example
          priority: '1'
          transmitDirection: RegionIn
          mapResult: Permit
          nextPriority: '1'
          sourceRegionIds:
            - ${sourceRegion}
          sourceInstanceIds:
            - ${exampleHzInstanceAttachment.childInstanceId}
          sourceInstanceIdsReverseMatch: 'false'
          destinationInstanceIds:
            - ${exampleShInstanceAttachment.childInstanceId}
          destinationInstanceIdsReverseMatch: 'false'
          sourceRouteTableIds:
            - ${exampleHzNetwork.routeTableId}
          destinationRouteTableIds:
            - ${exampleShNetwork.routeTableId}
          sourceChildInstanceTypes:
            - VPC
          destinationChildInstanceTypes:
            - VPC
          destinationCidrBlocks:
            - ${exampleShNetwork.cidrBlock}
          cidrMatchMode: Include
          routeTypes:
            - System
          matchAsns:
            - '65501'
          asPathMatchMode: Include
          matchCommunitySets:
            - 65501:1
          communityMatchMode: Include
          communityOperateMode: Additive
          operateCommunitySets:
            - 65501:1
          preference: '20'
          prependAsPaths:
            - '65501'
    

    Create RouteMap Resource

    new RouteMap(name: string, args: RouteMapArgs, opts?: CustomResourceOptions);
    @overload
    def RouteMap(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 as_path_match_mode: Optional[str] = None,
                 cen_id: Optional[str] = None,
                 cen_region_id: Optional[str] = None,
                 cidr_match_mode: Optional[str] = None,
                 community_match_mode: Optional[str] = None,
                 community_operate_mode: Optional[str] = None,
                 description: Optional[str] = None,
                 destination_child_instance_types: Optional[Sequence[str]] = None,
                 destination_cidr_blocks: Optional[Sequence[str]] = None,
                 destination_instance_ids: Optional[Sequence[str]] = None,
                 destination_instance_ids_reverse_match: Optional[bool] = None,
                 destination_route_table_ids: Optional[Sequence[str]] = None,
                 map_result: Optional[str] = None,
                 match_asns: Optional[Sequence[str]] = None,
                 match_community_sets: Optional[Sequence[str]] = None,
                 next_priority: Optional[int] = None,
                 operate_community_sets: Optional[Sequence[str]] = None,
                 preference: Optional[int] = None,
                 prepend_as_paths: Optional[Sequence[str]] = None,
                 priority: Optional[int] = None,
                 route_types: Optional[Sequence[str]] = None,
                 source_child_instance_types: Optional[Sequence[str]] = None,
                 source_instance_ids: Optional[Sequence[str]] = None,
                 source_instance_ids_reverse_match: Optional[bool] = None,
                 source_region_ids: Optional[Sequence[str]] = None,
                 source_route_table_ids: Optional[Sequence[str]] = None,
                 transit_router_route_table_id: Optional[str] = None,
                 transmit_direction: Optional[str] = None)
    @overload
    def RouteMap(resource_name: str,
                 args: RouteMapArgs,
                 opts: Optional[ResourceOptions] = None)
    func NewRouteMap(ctx *Context, name string, args RouteMapArgs, opts ...ResourceOption) (*RouteMap, error)
    public RouteMap(string name, RouteMapArgs args, CustomResourceOptions? opts = null)
    public RouteMap(String name, RouteMapArgs args)
    public RouteMap(String name, RouteMapArgs args, CustomResourceOptions options)
    
    type: alicloud:cen:RouteMap
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args RouteMapArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RouteMapArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RouteMapArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RouteMapArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RouteMapArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    RouteMap Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The RouteMap resource accepts the following input properties:

    CenId string
    The ID of the CEN instance.
    CenRegionId string
    The ID of the region to which the CEN instance belongs.
    MapResult string
    The action that is performed to a route if the route matches all the match conditions. Valid values: ["Permit", "Deny"].
    Priority int
    The priority of the route map. Value range: 1 to 100. A lower value indicates a higher priority.
    TransmitDirection string
    The direction in which the route map is applied. Valid values: ["RegionIn", "RegionOut"].
    AsPathMatchMode string
    A match statement. It indicates the mode in which the AS path attribute is matched. Valid values: ["Include", "Complete"].
    CidrMatchMode string
    A match statement. It indicates the mode in which the prefix attribute is matched. Valid values: ["Include", "Complete"].
    CommunityMatchMode string
    A match statement. It indicates the mode in which the community attribute is matched. Valid values: ["Include", "Complete"].
    CommunityOperateMode string
    An action statement. It indicates the mode in which the community attribute is operated. Valid values: ["Additive", "Replace"].
    Description string
    The description of the route map.
    DestinationChildInstanceTypes List<string>
    A match statement that indicates the list of destination instance types. Valid values: ["VPC", "VBR", "CCN", "VPN"].
    DestinationCidrBlocks List<string>
    A match statement that indicates the prefix list. The prefix is in the CIDR format. You can enter a maximum of 32 CIDR blocks.
    DestinationInstanceIds List<string>
    A match statement that indicates the list of IDs of the destination instances.
    DestinationInstanceIdsReverseMatch bool
    Indicates whether to enable the reverse match method for the DestinationInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    DestinationRouteTableIds List<string>
    A match statement that indicates the list of IDs of the destination route tables. You can enter a maximum of 32 route table IDs.
    MatchAsns List<string>
    A match statement that indicates the AS path list. The AS path is a well-known mandatory attribute, which describes the numbers of the ASs that a BGP route passes through during transmission.
    MatchCommunitySets List<string>
    A match statement that indicates the community set. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    NextPriority int
    The priority of the next route map that is associated with the current route map. Value range: 1 to 100.
    OperateCommunitySets List<string>
    An action statement that operates the community attribute. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    Preference int
    An action statement that modifies the priority of the route. Value range: 1 to 100. The default priority of a route is 50. A lower value indicates a higher preference.
    PrependAsPaths List<string>
    An action statement that indicates an AS path is prepended when the regional gateway receives or advertises a route.
    RouteTypes List<string>
    A match statement that indicates the list of route types. Valid values: ["System", "Custom", "BGP"].
    SourceChildInstanceTypes List<string>
    A match statement that indicates the list of source instance types. Valid values: ["VPC", "VBR", "CCN"].
    SourceInstanceIds List<string>
    A match statement that indicates the list of IDs of the source instances.
    SourceInstanceIdsReverseMatch bool
    Indicates whether to enable the reverse match method for the SourceInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    SourceRegionIds List<string>
    A match statement that indicates the list of IDs of the source regions. You can enter a maximum of 32 region IDs.
    SourceRouteTableIds List<string>
    A match statement that indicates the list of IDs of the source route tables. You can enter a maximum of 32 route table IDs.
    TransitRouterRouteTableId string
    The routing table ID of the forwarding router. If you do not enter the routing table ID, the routing policy is automatically associated with the default routing table of the forwarding router.
    CenId string
    The ID of the CEN instance.
    CenRegionId string
    The ID of the region to which the CEN instance belongs.
    MapResult string
    The action that is performed to a route if the route matches all the match conditions. Valid values: ["Permit", "Deny"].
    Priority int
    The priority of the route map. Value range: 1 to 100. A lower value indicates a higher priority.
    TransmitDirection string
    The direction in which the route map is applied. Valid values: ["RegionIn", "RegionOut"].
    AsPathMatchMode string
    A match statement. It indicates the mode in which the AS path attribute is matched. Valid values: ["Include", "Complete"].
    CidrMatchMode string
    A match statement. It indicates the mode in which the prefix attribute is matched. Valid values: ["Include", "Complete"].
    CommunityMatchMode string
    A match statement. It indicates the mode in which the community attribute is matched. Valid values: ["Include", "Complete"].
    CommunityOperateMode string
    An action statement. It indicates the mode in which the community attribute is operated. Valid values: ["Additive", "Replace"].
    Description string
    The description of the route map.
    DestinationChildInstanceTypes []string
    A match statement that indicates the list of destination instance types. Valid values: ["VPC", "VBR", "CCN", "VPN"].
    DestinationCidrBlocks []string
    A match statement that indicates the prefix list. The prefix is in the CIDR format. You can enter a maximum of 32 CIDR blocks.
    DestinationInstanceIds []string
    A match statement that indicates the list of IDs of the destination instances.
    DestinationInstanceIdsReverseMatch bool
    Indicates whether to enable the reverse match method for the DestinationInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    DestinationRouteTableIds []string
    A match statement that indicates the list of IDs of the destination route tables. You can enter a maximum of 32 route table IDs.
    MatchAsns []string
    A match statement that indicates the AS path list. The AS path is a well-known mandatory attribute, which describes the numbers of the ASs that a BGP route passes through during transmission.
    MatchCommunitySets []string
    A match statement that indicates the community set. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    NextPriority int
    The priority of the next route map that is associated with the current route map. Value range: 1 to 100.
    OperateCommunitySets []string
    An action statement that operates the community attribute. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    Preference int
    An action statement that modifies the priority of the route. Value range: 1 to 100. The default priority of a route is 50. A lower value indicates a higher preference.
    PrependAsPaths []string
    An action statement that indicates an AS path is prepended when the regional gateway receives or advertises a route.
    RouteTypes []string
    A match statement that indicates the list of route types. Valid values: ["System", "Custom", "BGP"].
    SourceChildInstanceTypes []string
    A match statement that indicates the list of source instance types. Valid values: ["VPC", "VBR", "CCN"].
    SourceInstanceIds []string
    A match statement that indicates the list of IDs of the source instances.
    SourceInstanceIdsReverseMatch bool
    Indicates whether to enable the reverse match method for the SourceInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    SourceRegionIds []string
    A match statement that indicates the list of IDs of the source regions. You can enter a maximum of 32 region IDs.
    SourceRouteTableIds []string
    A match statement that indicates the list of IDs of the source route tables. You can enter a maximum of 32 route table IDs.
    TransitRouterRouteTableId string
    The routing table ID of the forwarding router. If you do not enter the routing table ID, the routing policy is automatically associated with the default routing table of the forwarding router.
    cenId String
    The ID of the CEN instance.
    cenRegionId String
    The ID of the region to which the CEN instance belongs.
    mapResult String
    The action that is performed to a route if the route matches all the match conditions. Valid values: ["Permit", "Deny"].
    priority Integer
    The priority of the route map. Value range: 1 to 100. A lower value indicates a higher priority.
    transmitDirection String
    The direction in which the route map is applied. Valid values: ["RegionIn", "RegionOut"].
    asPathMatchMode String
    A match statement. It indicates the mode in which the AS path attribute is matched. Valid values: ["Include", "Complete"].
    cidrMatchMode String
    A match statement. It indicates the mode in which the prefix attribute is matched. Valid values: ["Include", "Complete"].
    communityMatchMode String
    A match statement. It indicates the mode in which the community attribute is matched. Valid values: ["Include", "Complete"].
    communityOperateMode String
    An action statement. It indicates the mode in which the community attribute is operated. Valid values: ["Additive", "Replace"].
    description String
    The description of the route map.
    destinationChildInstanceTypes List<String>
    A match statement that indicates the list of destination instance types. Valid values: ["VPC", "VBR", "CCN", "VPN"].
    destinationCidrBlocks List<String>
    A match statement that indicates the prefix list. The prefix is in the CIDR format. You can enter a maximum of 32 CIDR blocks.
    destinationInstanceIds List<String>
    A match statement that indicates the list of IDs of the destination instances.
    destinationInstanceIdsReverseMatch Boolean
    Indicates whether to enable the reverse match method for the DestinationInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    destinationRouteTableIds List<String>
    A match statement that indicates the list of IDs of the destination route tables. You can enter a maximum of 32 route table IDs.
    matchAsns List<String>
    A match statement that indicates the AS path list. The AS path is a well-known mandatory attribute, which describes the numbers of the ASs that a BGP route passes through during transmission.
    matchCommunitySets List<String>
    A match statement that indicates the community set. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    nextPriority Integer
    The priority of the next route map that is associated with the current route map. Value range: 1 to 100.
    operateCommunitySets List<String>
    An action statement that operates the community attribute. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    preference Integer
    An action statement that modifies the priority of the route. Value range: 1 to 100. The default priority of a route is 50. A lower value indicates a higher preference.
    prependAsPaths List<String>
    An action statement that indicates an AS path is prepended when the regional gateway receives or advertises a route.
    routeTypes List<String>
    A match statement that indicates the list of route types. Valid values: ["System", "Custom", "BGP"].
    sourceChildInstanceTypes List<String>
    A match statement that indicates the list of source instance types. Valid values: ["VPC", "VBR", "CCN"].
    sourceInstanceIds List<String>
    A match statement that indicates the list of IDs of the source instances.
    sourceInstanceIdsReverseMatch Boolean
    Indicates whether to enable the reverse match method for the SourceInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    sourceRegionIds List<String>
    A match statement that indicates the list of IDs of the source regions. You can enter a maximum of 32 region IDs.
    sourceRouteTableIds List<String>
    A match statement that indicates the list of IDs of the source route tables. You can enter a maximum of 32 route table IDs.
    transitRouterRouteTableId String
    The routing table ID of the forwarding router. If you do not enter the routing table ID, the routing policy is automatically associated with the default routing table of the forwarding router.
    cenId string
    The ID of the CEN instance.
    cenRegionId string
    The ID of the region to which the CEN instance belongs.
    mapResult string
    The action that is performed to a route if the route matches all the match conditions. Valid values: ["Permit", "Deny"].
    priority number
    The priority of the route map. Value range: 1 to 100. A lower value indicates a higher priority.
    transmitDirection string
    The direction in which the route map is applied. Valid values: ["RegionIn", "RegionOut"].
    asPathMatchMode string
    A match statement. It indicates the mode in which the AS path attribute is matched. Valid values: ["Include", "Complete"].
    cidrMatchMode string
    A match statement. It indicates the mode in which the prefix attribute is matched. Valid values: ["Include", "Complete"].
    communityMatchMode string
    A match statement. It indicates the mode in which the community attribute is matched. Valid values: ["Include", "Complete"].
    communityOperateMode string
    An action statement. It indicates the mode in which the community attribute is operated. Valid values: ["Additive", "Replace"].
    description string
    The description of the route map.
    destinationChildInstanceTypes string[]
    A match statement that indicates the list of destination instance types. Valid values: ["VPC", "VBR", "CCN", "VPN"].
    destinationCidrBlocks string[]
    A match statement that indicates the prefix list. The prefix is in the CIDR format. You can enter a maximum of 32 CIDR blocks.
    destinationInstanceIds string[]
    A match statement that indicates the list of IDs of the destination instances.
    destinationInstanceIdsReverseMatch boolean
    Indicates whether to enable the reverse match method for the DestinationInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    destinationRouteTableIds string[]
    A match statement that indicates the list of IDs of the destination route tables. You can enter a maximum of 32 route table IDs.
    matchAsns string[]
    A match statement that indicates the AS path list. The AS path is a well-known mandatory attribute, which describes the numbers of the ASs that a BGP route passes through during transmission.
    matchCommunitySets string[]
    A match statement that indicates the community set. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    nextPriority number
    The priority of the next route map that is associated with the current route map. Value range: 1 to 100.
    operateCommunitySets string[]
    An action statement that operates the community attribute. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    preference number
    An action statement that modifies the priority of the route. Value range: 1 to 100. The default priority of a route is 50. A lower value indicates a higher preference.
    prependAsPaths string[]
    An action statement that indicates an AS path is prepended when the regional gateway receives or advertises a route.
    routeTypes string[]
    A match statement that indicates the list of route types. Valid values: ["System", "Custom", "BGP"].
    sourceChildInstanceTypes string[]
    A match statement that indicates the list of source instance types. Valid values: ["VPC", "VBR", "CCN"].
    sourceInstanceIds string[]
    A match statement that indicates the list of IDs of the source instances.
    sourceInstanceIdsReverseMatch boolean
    Indicates whether to enable the reverse match method for the SourceInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    sourceRegionIds string[]
    A match statement that indicates the list of IDs of the source regions. You can enter a maximum of 32 region IDs.
    sourceRouteTableIds string[]
    A match statement that indicates the list of IDs of the source route tables. You can enter a maximum of 32 route table IDs.
    transitRouterRouteTableId string
    The routing table ID of the forwarding router. If you do not enter the routing table ID, the routing policy is automatically associated with the default routing table of the forwarding router.
    cen_id str
    The ID of the CEN instance.
    cen_region_id str
    The ID of the region to which the CEN instance belongs.
    map_result str
    The action that is performed to a route if the route matches all the match conditions. Valid values: ["Permit", "Deny"].
    priority int
    The priority of the route map. Value range: 1 to 100. A lower value indicates a higher priority.
    transmit_direction str
    The direction in which the route map is applied. Valid values: ["RegionIn", "RegionOut"].
    as_path_match_mode str
    A match statement. It indicates the mode in which the AS path attribute is matched. Valid values: ["Include", "Complete"].
    cidr_match_mode str
    A match statement. It indicates the mode in which the prefix attribute is matched. Valid values: ["Include", "Complete"].
    community_match_mode str
    A match statement. It indicates the mode in which the community attribute is matched. Valid values: ["Include", "Complete"].
    community_operate_mode str
    An action statement. It indicates the mode in which the community attribute is operated. Valid values: ["Additive", "Replace"].
    description str
    The description of the route map.
    destination_child_instance_types Sequence[str]
    A match statement that indicates the list of destination instance types. Valid values: ["VPC", "VBR", "CCN", "VPN"].
    destination_cidr_blocks Sequence[str]
    A match statement that indicates the prefix list. The prefix is in the CIDR format. You can enter a maximum of 32 CIDR blocks.
    destination_instance_ids Sequence[str]
    A match statement that indicates the list of IDs of the destination instances.
    destination_instance_ids_reverse_match bool
    Indicates whether to enable the reverse match method for the DestinationInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    destination_route_table_ids Sequence[str]
    A match statement that indicates the list of IDs of the destination route tables. You can enter a maximum of 32 route table IDs.
    match_asns Sequence[str]
    A match statement that indicates the AS path list. The AS path is a well-known mandatory attribute, which describes the numbers of the ASs that a BGP route passes through during transmission.
    match_community_sets Sequence[str]
    A match statement that indicates the community set. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    next_priority int
    The priority of the next route map that is associated with the current route map. Value range: 1 to 100.
    operate_community_sets Sequence[str]
    An action statement that operates the community attribute. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    preference int
    An action statement that modifies the priority of the route. Value range: 1 to 100. The default priority of a route is 50. A lower value indicates a higher preference.
    prepend_as_paths Sequence[str]
    An action statement that indicates an AS path is prepended when the regional gateway receives or advertises a route.
    route_types Sequence[str]
    A match statement that indicates the list of route types. Valid values: ["System", "Custom", "BGP"].
    source_child_instance_types Sequence[str]
    A match statement that indicates the list of source instance types. Valid values: ["VPC", "VBR", "CCN"].
    source_instance_ids Sequence[str]
    A match statement that indicates the list of IDs of the source instances.
    source_instance_ids_reverse_match bool
    Indicates whether to enable the reverse match method for the SourceInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    source_region_ids Sequence[str]
    A match statement that indicates the list of IDs of the source regions. You can enter a maximum of 32 region IDs.
    source_route_table_ids Sequence[str]
    A match statement that indicates the list of IDs of the source route tables. You can enter a maximum of 32 route table IDs.
    transit_router_route_table_id str
    The routing table ID of the forwarding router. If you do not enter the routing table ID, the routing policy is automatically associated with the default routing table of the forwarding router.
    cenId String
    The ID of the CEN instance.
    cenRegionId String
    The ID of the region to which the CEN instance belongs.
    mapResult String
    The action that is performed to a route if the route matches all the match conditions. Valid values: ["Permit", "Deny"].
    priority Number
    The priority of the route map. Value range: 1 to 100. A lower value indicates a higher priority.
    transmitDirection String
    The direction in which the route map is applied. Valid values: ["RegionIn", "RegionOut"].
    asPathMatchMode String
    A match statement. It indicates the mode in which the AS path attribute is matched. Valid values: ["Include", "Complete"].
    cidrMatchMode String
    A match statement. It indicates the mode in which the prefix attribute is matched. Valid values: ["Include", "Complete"].
    communityMatchMode String
    A match statement. It indicates the mode in which the community attribute is matched. Valid values: ["Include", "Complete"].
    communityOperateMode String
    An action statement. It indicates the mode in which the community attribute is operated. Valid values: ["Additive", "Replace"].
    description String
    The description of the route map.
    destinationChildInstanceTypes List<String>
    A match statement that indicates the list of destination instance types. Valid values: ["VPC", "VBR", "CCN", "VPN"].
    destinationCidrBlocks List<String>
    A match statement that indicates the prefix list. The prefix is in the CIDR format. You can enter a maximum of 32 CIDR blocks.
    destinationInstanceIds List<String>
    A match statement that indicates the list of IDs of the destination instances.
    destinationInstanceIdsReverseMatch Boolean
    Indicates whether to enable the reverse match method for the DestinationInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    destinationRouteTableIds List<String>
    A match statement that indicates the list of IDs of the destination route tables. You can enter a maximum of 32 route table IDs.
    matchAsns List<String>
    A match statement that indicates the AS path list. The AS path is a well-known mandatory attribute, which describes the numbers of the ASs that a BGP route passes through during transmission.
    matchCommunitySets List<String>
    A match statement that indicates the community set. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    nextPriority Number
    The priority of the next route map that is associated with the current route map. Value range: 1 to 100.
    operateCommunitySets List<String>
    An action statement that operates the community attribute. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    preference Number
    An action statement that modifies the priority of the route. Value range: 1 to 100. The default priority of a route is 50. A lower value indicates a higher preference.
    prependAsPaths List<String>
    An action statement that indicates an AS path is prepended when the regional gateway receives or advertises a route.
    routeTypes List<String>
    A match statement that indicates the list of route types. Valid values: ["System", "Custom", "BGP"].
    sourceChildInstanceTypes List<String>
    A match statement that indicates the list of source instance types. Valid values: ["VPC", "VBR", "CCN"].
    sourceInstanceIds List<String>
    A match statement that indicates the list of IDs of the source instances.
    sourceInstanceIdsReverseMatch Boolean
    Indicates whether to enable the reverse match method for the SourceInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    sourceRegionIds List<String>
    A match statement that indicates the list of IDs of the source regions. You can enter a maximum of 32 region IDs.
    sourceRouteTableIds List<String>
    A match statement that indicates the list of IDs of the source route tables. You can enter a maximum of 32 route table IDs.
    transitRouterRouteTableId String
    The routing table ID of the forwarding router. If you do not enter the routing table ID, the routing policy is automatically associated with the default routing table of the forwarding router.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RouteMap resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    RouteMapId string
    ID of the RouteMap. It is available in 1.161.0+.
    Status string
    (Computed) The status of route map. Valid values: ["Creating", "Active", "Deleting"].
    Id string
    The provider-assigned unique ID for this managed resource.
    RouteMapId string
    ID of the RouteMap. It is available in 1.161.0+.
    Status string
    (Computed) The status of route map. Valid values: ["Creating", "Active", "Deleting"].
    id String
    The provider-assigned unique ID for this managed resource.
    routeMapId String
    ID of the RouteMap. It is available in 1.161.0+.
    status String
    (Computed) The status of route map. Valid values: ["Creating", "Active", "Deleting"].
    id string
    The provider-assigned unique ID for this managed resource.
    routeMapId string
    ID of the RouteMap. It is available in 1.161.0+.
    status string
    (Computed) The status of route map. Valid values: ["Creating", "Active", "Deleting"].
    id str
    The provider-assigned unique ID for this managed resource.
    route_map_id str
    ID of the RouteMap. It is available in 1.161.0+.
    status str
    (Computed) The status of route map. Valid values: ["Creating", "Active", "Deleting"].
    id String
    The provider-assigned unique ID for this managed resource.
    routeMapId String
    ID of the RouteMap. It is available in 1.161.0+.
    status String
    (Computed) The status of route map. Valid values: ["Creating", "Active", "Deleting"].

    Look up Existing RouteMap Resource

    Get an existing RouteMap resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RouteMapState, opts?: CustomResourceOptions): RouteMap
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            as_path_match_mode: Optional[str] = None,
            cen_id: Optional[str] = None,
            cen_region_id: Optional[str] = None,
            cidr_match_mode: Optional[str] = None,
            community_match_mode: Optional[str] = None,
            community_operate_mode: Optional[str] = None,
            description: Optional[str] = None,
            destination_child_instance_types: Optional[Sequence[str]] = None,
            destination_cidr_blocks: Optional[Sequence[str]] = None,
            destination_instance_ids: Optional[Sequence[str]] = None,
            destination_instance_ids_reverse_match: Optional[bool] = None,
            destination_route_table_ids: Optional[Sequence[str]] = None,
            map_result: Optional[str] = None,
            match_asns: Optional[Sequence[str]] = None,
            match_community_sets: Optional[Sequence[str]] = None,
            next_priority: Optional[int] = None,
            operate_community_sets: Optional[Sequence[str]] = None,
            preference: Optional[int] = None,
            prepend_as_paths: Optional[Sequence[str]] = None,
            priority: Optional[int] = None,
            route_map_id: Optional[str] = None,
            route_types: Optional[Sequence[str]] = None,
            source_child_instance_types: Optional[Sequence[str]] = None,
            source_instance_ids: Optional[Sequence[str]] = None,
            source_instance_ids_reverse_match: Optional[bool] = None,
            source_region_ids: Optional[Sequence[str]] = None,
            source_route_table_ids: Optional[Sequence[str]] = None,
            status: Optional[str] = None,
            transit_router_route_table_id: Optional[str] = None,
            transmit_direction: Optional[str] = None) -> RouteMap
    func GetRouteMap(ctx *Context, name string, id IDInput, state *RouteMapState, opts ...ResourceOption) (*RouteMap, error)
    public static RouteMap Get(string name, Input<string> id, RouteMapState? state, CustomResourceOptions? opts = null)
    public static RouteMap get(String name, Output<String> id, RouteMapState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AsPathMatchMode string
    A match statement. It indicates the mode in which the AS path attribute is matched. Valid values: ["Include", "Complete"].
    CenId string
    The ID of the CEN instance.
    CenRegionId string
    The ID of the region to which the CEN instance belongs.
    CidrMatchMode string
    A match statement. It indicates the mode in which the prefix attribute is matched. Valid values: ["Include", "Complete"].
    CommunityMatchMode string
    A match statement. It indicates the mode in which the community attribute is matched. Valid values: ["Include", "Complete"].
    CommunityOperateMode string
    An action statement. It indicates the mode in which the community attribute is operated. Valid values: ["Additive", "Replace"].
    Description string
    The description of the route map.
    DestinationChildInstanceTypes List<string>
    A match statement that indicates the list of destination instance types. Valid values: ["VPC", "VBR", "CCN", "VPN"].
    DestinationCidrBlocks List<string>
    A match statement that indicates the prefix list. The prefix is in the CIDR format. You can enter a maximum of 32 CIDR blocks.
    DestinationInstanceIds List<string>
    A match statement that indicates the list of IDs of the destination instances.
    DestinationInstanceIdsReverseMatch bool
    Indicates whether to enable the reverse match method for the DestinationInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    DestinationRouteTableIds List<string>
    A match statement that indicates the list of IDs of the destination route tables. You can enter a maximum of 32 route table IDs.
    MapResult string
    The action that is performed to a route if the route matches all the match conditions. Valid values: ["Permit", "Deny"].
    MatchAsns List<string>
    A match statement that indicates the AS path list. The AS path is a well-known mandatory attribute, which describes the numbers of the ASs that a BGP route passes through during transmission.
    MatchCommunitySets List<string>
    A match statement that indicates the community set. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    NextPriority int
    The priority of the next route map that is associated with the current route map. Value range: 1 to 100.
    OperateCommunitySets List<string>
    An action statement that operates the community attribute. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    Preference int
    An action statement that modifies the priority of the route. Value range: 1 to 100. The default priority of a route is 50. A lower value indicates a higher preference.
    PrependAsPaths List<string>
    An action statement that indicates an AS path is prepended when the regional gateway receives or advertises a route.
    Priority int
    The priority of the route map. Value range: 1 to 100. A lower value indicates a higher priority.
    RouteMapId string
    ID of the RouteMap. It is available in 1.161.0+.
    RouteTypes List<string>
    A match statement that indicates the list of route types. Valid values: ["System", "Custom", "BGP"].
    SourceChildInstanceTypes List<string>
    A match statement that indicates the list of source instance types. Valid values: ["VPC", "VBR", "CCN"].
    SourceInstanceIds List<string>
    A match statement that indicates the list of IDs of the source instances.
    SourceInstanceIdsReverseMatch bool
    Indicates whether to enable the reverse match method for the SourceInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    SourceRegionIds List<string>
    A match statement that indicates the list of IDs of the source regions. You can enter a maximum of 32 region IDs.
    SourceRouteTableIds List<string>
    A match statement that indicates the list of IDs of the source route tables. You can enter a maximum of 32 route table IDs.
    Status string
    (Computed) The status of route map. Valid values: ["Creating", "Active", "Deleting"].
    TransitRouterRouteTableId string
    The routing table ID of the forwarding router. If you do not enter the routing table ID, the routing policy is automatically associated with the default routing table of the forwarding router.
    TransmitDirection string
    The direction in which the route map is applied. Valid values: ["RegionIn", "RegionOut"].
    AsPathMatchMode string
    A match statement. It indicates the mode in which the AS path attribute is matched. Valid values: ["Include", "Complete"].
    CenId string
    The ID of the CEN instance.
    CenRegionId string
    The ID of the region to which the CEN instance belongs.
    CidrMatchMode string
    A match statement. It indicates the mode in which the prefix attribute is matched. Valid values: ["Include", "Complete"].
    CommunityMatchMode string
    A match statement. It indicates the mode in which the community attribute is matched. Valid values: ["Include", "Complete"].
    CommunityOperateMode string
    An action statement. It indicates the mode in which the community attribute is operated. Valid values: ["Additive", "Replace"].
    Description string
    The description of the route map.
    DestinationChildInstanceTypes []string
    A match statement that indicates the list of destination instance types. Valid values: ["VPC", "VBR", "CCN", "VPN"].
    DestinationCidrBlocks []string
    A match statement that indicates the prefix list. The prefix is in the CIDR format. You can enter a maximum of 32 CIDR blocks.
    DestinationInstanceIds []string
    A match statement that indicates the list of IDs of the destination instances.
    DestinationInstanceIdsReverseMatch bool
    Indicates whether to enable the reverse match method for the DestinationInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    DestinationRouteTableIds []string
    A match statement that indicates the list of IDs of the destination route tables. You can enter a maximum of 32 route table IDs.
    MapResult string
    The action that is performed to a route if the route matches all the match conditions. Valid values: ["Permit", "Deny"].
    MatchAsns []string
    A match statement that indicates the AS path list. The AS path is a well-known mandatory attribute, which describes the numbers of the ASs that a BGP route passes through during transmission.
    MatchCommunitySets []string
    A match statement that indicates the community set. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    NextPriority int
    The priority of the next route map that is associated with the current route map. Value range: 1 to 100.
    OperateCommunitySets []string
    An action statement that operates the community attribute. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    Preference int
    An action statement that modifies the priority of the route. Value range: 1 to 100. The default priority of a route is 50. A lower value indicates a higher preference.
    PrependAsPaths []string
    An action statement that indicates an AS path is prepended when the regional gateway receives or advertises a route.
    Priority int
    The priority of the route map. Value range: 1 to 100. A lower value indicates a higher priority.
    RouteMapId string
    ID of the RouteMap. It is available in 1.161.0+.
    RouteTypes []string
    A match statement that indicates the list of route types. Valid values: ["System", "Custom", "BGP"].
    SourceChildInstanceTypes []string
    A match statement that indicates the list of source instance types. Valid values: ["VPC", "VBR", "CCN"].
    SourceInstanceIds []string
    A match statement that indicates the list of IDs of the source instances.
    SourceInstanceIdsReverseMatch bool
    Indicates whether to enable the reverse match method for the SourceInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    SourceRegionIds []string
    A match statement that indicates the list of IDs of the source regions. You can enter a maximum of 32 region IDs.
    SourceRouteTableIds []string
    A match statement that indicates the list of IDs of the source route tables. You can enter a maximum of 32 route table IDs.
    Status string
    (Computed) The status of route map. Valid values: ["Creating", "Active", "Deleting"].
    TransitRouterRouteTableId string
    The routing table ID of the forwarding router. If you do not enter the routing table ID, the routing policy is automatically associated with the default routing table of the forwarding router.
    TransmitDirection string
    The direction in which the route map is applied. Valid values: ["RegionIn", "RegionOut"].
    asPathMatchMode String
    A match statement. It indicates the mode in which the AS path attribute is matched. Valid values: ["Include", "Complete"].
    cenId String
    The ID of the CEN instance.
    cenRegionId String
    The ID of the region to which the CEN instance belongs.
    cidrMatchMode String
    A match statement. It indicates the mode in which the prefix attribute is matched. Valid values: ["Include", "Complete"].
    communityMatchMode String
    A match statement. It indicates the mode in which the community attribute is matched. Valid values: ["Include", "Complete"].
    communityOperateMode String
    An action statement. It indicates the mode in which the community attribute is operated. Valid values: ["Additive", "Replace"].
    description String
    The description of the route map.
    destinationChildInstanceTypes List<String>
    A match statement that indicates the list of destination instance types. Valid values: ["VPC", "VBR", "CCN", "VPN"].
    destinationCidrBlocks List<String>
    A match statement that indicates the prefix list. The prefix is in the CIDR format. You can enter a maximum of 32 CIDR blocks.
    destinationInstanceIds List<String>
    A match statement that indicates the list of IDs of the destination instances.
    destinationInstanceIdsReverseMatch Boolean
    Indicates whether to enable the reverse match method for the DestinationInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    destinationRouteTableIds List<String>
    A match statement that indicates the list of IDs of the destination route tables. You can enter a maximum of 32 route table IDs.
    mapResult String
    The action that is performed to a route if the route matches all the match conditions. Valid values: ["Permit", "Deny"].
    matchAsns List<String>
    A match statement that indicates the AS path list. The AS path is a well-known mandatory attribute, which describes the numbers of the ASs that a BGP route passes through during transmission.
    matchCommunitySets List<String>
    A match statement that indicates the community set. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    nextPriority Integer
    The priority of the next route map that is associated with the current route map. Value range: 1 to 100.
    operateCommunitySets List<String>
    An action statement that operates the community attribute. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    preference Integer
    An action statement that modifies the priority of the route. Value range: 1 to 100. The default priority of a route is 50. A lower value indicates a higher preference.
    prependAsPaths List<String>
    An action statement that indicates an AS path is prepended when the regional gateway receives or advertises a route.
    priority Integer
    The priority of the route map. Value range: 1 to 100. A lower value indicates a higher priority.
    routeMapId String
    ID of the RouteMap. It is available in 1.161.0+.
    routeTypes List<String>
    A match statement that indicates the list of route types. Valid values: ["System", "Custom", "BGP"].
    sourceChildInstanceTypes List<String>
    A match statement that indicates the list of source instance types. Valid values: ["VPC", "VBR", "CCN"].
    sourceInstanceIds List<String>
    A match statement that indicates the list of IDs of the source instances.
    sourceInstanceIdsReverseMatch Boolean
    Indicates whether to enable the reverse match method for the SourceInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    sourceRegionIds List<String>
    A match statement that indicates the list of IDs of the source regions. You can enter a maximum of 32 region IDs.
    sourceRouteTableIds List<String>
    A match statement that indicates the list of IDs of the source route tables. You can enter a maximum of 32 route table IDs.
    status String
    (Computed) The status of route map. Valid values: ["Creating", "Active", "Deleting"].
    transitRouterRouteTableId String
    The routing table ID of the forwarding router. If you do not enter the routing table ID, the routing policy is automatically associated with the default routing table of the forwarding router.
    transmitDirection String
    The direction in which the route map is applied. Valid values: ["RegionIn", "RegionOut"].
    asPathMatchMode string
    A match statement. It indicates the mode in which the AS path attribute is matched. Valid values: ["Include", "Complete"].
    cenId string
    The ID of the CEN instance.
    cenRegionId string
    The ID of the region to which the CEN instance belongs.
    cidrMatchMode string
    A match statement. It indicates the mode in which the prefix attribute is matched. Valid values: ["Include", "Complete"].
    communityMatchMode string
    A match statement. It indicates the mode in which the community attribute is matched. Valid values: ["Include", "Complete"].
    communityOperateMode string
    An action statement. It indicates the mode in which the community attribute is operated. Valid values: ["Additive", "Replace"].
    description string
    The description of the route map.
    destinationChildInstanceTypes string[]
    A match statement that indicates the list of destination instance types. Valid values: ["VPC", "VBR", "CCN", "VPN"].
    destinationCidrBlocks string[]
    A match statement that indicates the prefix list. The prefix is in the CIDR format. You can enter a maximum of 32 CIDR blocks.
    destinationInstanceIds string[]
    A match statement that indicates the list of IDs of the destination instances.
    destinationInstanceIdsReverseMatch boolean
    Indicates whether to enable the reverse match method for the DestinationInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    destinationRouteTableIds string[]
    A match statement that indicates the list of IDs of the destination route tables. You can enter a maximum of 32 route table IDs.
    mapResult string
    The action that is performed to a route if the route matches all the match conditions. Valid values: ["Permit", "Deny"].
    matchAsns string[]
    A match statement that indicates the AS path list. The AS path is a well-known mandatory attribute, which describes the numbers of the ASs that a BGP route passes through during transmission.
    matchCommunitySets string[]
    A match statement that indicates the community set. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    nextPriority number
    The priority of the next route map that is associated with the current route map. Value range: 1 to 100.
    operateCommunitySets string[]
    An action statement that operates the community attribute. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    preference number
    An action statement that modifies the priority of the route. Value range: 1 to 100. The default priority of a route is 50. A lower value indicates a higher preference.
    prependAsPaths string[]
    An action statement that indicates an AS path is prepended when the regional gateway receives or advertises a route.
    priority number
    The priority of the route map. Value range: 1 to 100. A lower value indicates a higher priority.
    routeMapId string
    ID of the RouteMap. It is available in 1.161.0+.
    routeTypes string[]
    A match statement that indicates the list of route types. Valid values: ["System", "Custom", "BGP"].
    sourceChildInstanceTypes string[]
    A match statement that indicates the list of source instance types. Valid values: ["VPC", "VBR", "CCN"].
    sourceInstanceIds string[]
    A match statement that indicates the list of IDs of the source instances.
    sourceInstanceIdsReverseMatch boolean
    Indicates whether to enable the reverse match method for the SourceInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    sourceRegionIds string[]
    A match statement that indicates the list of IDs of the source regions. You can enter a maximum of 32 region IDs.
    sourceRouteTableIds string[]
    A match statement that indicates the list of IDs of the source route tables. You can enter a maximum of 32 route table IDs.
    status string
    (Computed) The status of route map. Valid values: ["Creating", "Active", "Deleting"].
    transitRouterRouteTableId string
    The routing table ID of the forwarding router. If you do not enter the routing table ID, the routing policy is automatically associated with the default routing table of the forwarding router.
    transmitDirection string
    The direction in which the route map is applied. Valid values: ["RegionIn", "RegionOut"].
    as_path_match_mode str
    A match statement. It indicates the mode in which the AS path attribute is matched. Valid values: ["Include", "Complete"].
    cen_id str
    The ID of the CEN instance.
    cen_region_id str
    The ID of the region to which the CEN instance belongs.
    cidr_match_mode str
    A match statement. It indicates the mode in which the prefix attribute is matched. Valid values: ["Include", "Complete"].
    community_match_mode str
    A match statement. It indicates the mode in which the community attribute is matched. Valid values: ["Include", "Complete"].
    community_operate_mode str
    An action statement. It indicates the mode in which the community attribute is operated. Valid values: ["Additive", "Replace"].
    description str
    The description of the route map.
    destination_child_instance_types Sequence[str]
    A match statement that indicates the list of destination instance types. Valid values: ["VPC", "VBR", "CCN", "VPN"].
    destination_cidr_blocks Sequence[str]
    A match statement that indicates the prefix list. The prefix is in the CIDR format. You can enter a maximum of 32 CIDR blocks.
    destination_instance_ids Sequence[str]
    A match statement that indicates the list of IDs of the destination instances.
    destination_instance_ids_reverse_match bool
    Indicates whether to enable the reverse match method for the DestinationInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    destination_route_table_ids Sequence[str]
    A match statement that indicates the list of IDs of the destination route tables. You can enter a maximum of 32 route table IDs.
    map_result str
    The action that is performed to a route if the route matches all the match conditions. Valid values: ["Permit", "Deny"].
    match_asns Sequence[str]
    A match statement that indicates the AS path list. The AS path is a well-known mandatory attribute, which describes the numbers of the ASs that a BGP route passes through during transmission.
    match_community_sets Sequence[str]
    A match statement that indicates the community set. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    next_priority int
    The priority of the next route map that is associated with the current route map. Value range: 1 to 100.
    operate_community_sets Sequence[str]
    An action statement that operates the community attribute. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    preference int
    An action statement that modifies the priority of the route. Value range: 1 to 100. The default priority of a route is 50. A lower value indicates a higher preference.
    prepend_as_paths Sequence[str]
    An action statement that indicates an AS path is prepended when the regional gateway receives or advertises a route.
    priority int
    The priority of the route map. Value range: 1 to 100. A lower value indicates a higher priority.
    route_map_id str
    ID of the RouteMap. It is available in 1.161.0+.
    route_types Sequence[str]
    A match statement that indicates the list of route types. Valid values: ["System", "Custom", "BGP"].
    source_child_instance_types Sequence[str]
    A match statement that indicates the list of source instance types. Valid values: ["VPC", "VBR", "CCN"].
    source_instance_ids Sequence[str]
    A match statement that indicates the list of IDs of the source instances.
    source_instance_ids_reverse_match bool
    Indicates whether to enable the reverse match method for the SourceInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    source_region_ids Sequence[str]
    A match statement that indicates the list of IDs of the source regions. You can enter a maximum of 32 region IDs.
    source_route_table_ids Sequence[str]
    A match statement that indicates the list of IDs of the source route tables. You can enter a maximum of 32 route table IDs.
    status str
    (Computed) The status of route map. Valid values: ["Creating", "Active", "Deleting"].
    transit_router_route_table_id str
    The routing table ID of the forwarding router. If you do not enter the routing table ID, the routing policy is automatically associated with the default routing table of the forwarding router.
    transmit_direction str
    The direction in which the route map is applied. Valid values: ["RegionIn", "RegionOut"].
    asPathMatchMode String
    A match statement. It indicates the mode in which the AS path attribute is matched. Valid values: ["Include", "Complete"].
    cenId String
    The ID of the CEN instance.
    cenRegionId String
    The ID of the region to which the CEN instance belongs.
    cidrMatchMode String
    A match statement. It indicates the mode in which the prefix attribute is matched. Valid values: ["Include", "Complete"].
    communityMatchMode String
    A match statement. It indicates the mode in which the community attribute is matched. Valid values: ["Include", "Complete"].
    communityOperateMode String
    An action statement. It indicates the mode in which the community attribute is operated. Valid values: ["Additive", "Replace"].
    description String
    The description of the route map.
    destinationChildInstanceTypes List<String>
    A match statement that indicates the list of destination instance types. Valid values: ["VPC", "VBR", "CCN", "VPN"].
    destinationCidrBlocks List<String>
    A match statement that indicates the prefix list. The prefix is in the CIDR format. You can enter a maximum of 32 CIDR blocks.
    destinationInstanceIds List<String>
    A match statement that indicates the list of IDs of the destination instances.
    destinationInstanceIdsReverseMatch Boolean
    Indicates whether to enable the reverse match method for the DestinationInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    destinationRouteTableIds List<String>
    A match statement that indicates the list of IDs of the destination route tables. You can enter a maximum of 32 route table IDs.
    mapResult String
    The action that is performed to a route if the route matches all the match conditions. Valid values: ["Permit", "Deny"].
    matchAsns List<String>
    A match statement that indicates the AS path list. The AS path is a well-known mandatory attribute, which describes the numbers of the ASs that a BGP route passes through during transmission.
    matchCommunitySets List<String>
    A match statement that indicates the community set. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    nextPriority Number
    The priority of the next route map that is associated with the current route map. Value range: 1 to 100.
    operateCommunitySets List<String>
    An action statement that operates the community attribute. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
    preference Number
    An action statement that modifies the priority of the route. Value range: 1 to 100. The default priority of a route is 50. A lower value indicates a higher preference.
    prependAsPaths List<String>
    An action statement that indicates an AS path is prepended when the regional gateway receives or advertises a route.
    priority Number
    The priority of the route map. Value range: 1 to 100. A lower value indicates a higher priority.
    routeMapId String
    ID of the RouteMap. It is available in 1.161.0+.
    routeTypes List<String>
    A match statement that indicates the list of route types. Valid values: ["System", "Custom", "BGP"].
    sourceChildInstanceTypes List<String>
    A match statement that indicates the list of source instance types. Valid values: ["VPC", "VBR", "CCN"].
    sourceInstanceIds List<String>
    A match statement that indicates the list of IDs of the source instances.
    sourceInstanceIdsReverseMatch Boolean
    Indicates whether to enable the reverse match method for the SourceInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
    sourceRegionIds List<String>
    A match statement that indicates the list of IDs of the source regions. You can enter a maximum of 32 region IDs.
    sourceRouteTableIds List<String>
    A match statement that indicates the list of IDs of the source route tables. You can enter a maximum of 32 route table IDs.
    status String
    (Computed) The status of route map. Valid values: ["Creating", "Active", "Deleting"].
    transitRouterRouteTableId String
    The routing table ID of the forwarding router. If you do not enter the routing table ID, the routing policy is automatically associated with the default routing table of the forwarding router.
    transmitDirection String
    The direction in which the route map is applied. Valid values: ["RegionIn", "RegionOut"].

    Import

    CEN RouteMap can be imported using the id, e.g.

    $ pulumi import alicloud:cen/routeMap:RouteMap default <cen_id>:<route_map_id>.
    

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi