Data Source: awsAppmeshRoute
The App Mesh Route data source allows details of an App Mesh Route to be retrieved by its name, mesh_name, virtual_router_name, and optionally the mesh_owner.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsAppmeshVirtualService.DataAwsAppmeshVirtualService(
this,
"test",
{
meshName: "test-mesh",
name: "test-route",
virtual_router_name: "test-router",
}
);
Argument Reference
The following arguments are supported:
name- (Required) Name of the route.meshName- (Required) Name of the service mesh in which the virtual router exists.virtualRouterName- (Required) Name of the virtual router in which the route exists.meshOwner- (Optional) AWS account ID of the service mesh's owner.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn- ARN of the route.createdDate- Creation date of the route.lastUpdatedDate- Last update date of the route.resourceOwner- Resource owner's AWS account ID.spec- Route specification. See theawsAppmeshRouteresource for details.tags- Map of tags.