Data Source: awsAppmeshGatewayRoute
The App Mesh Gateway Route data source allows details of an App Mesh Gateway Route to be retrieved by its name, mesh_name, virtual_gateway_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.dataAwsAppmeshGatewayRoute.DataAwsAppmeshGatewayRoute(this, "test", {
mesh_name: "test-mesh",
name: "test-route",
virtual_gateway_name: "test-gateway",
});
Argument Reference
The following arguments are supported:
name
- (Required) Name of the gateway route.meshName
- (Required) Name of the service mesh in which the virtual gateway exists.virtualGatewayName
- (Required) Name of the virtual gateway 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 gateway route.createdDate
- Creation date of the gateway route.lastUpdatedDate
- Last update date of the gateway route.resourceOwner
- Resource owner's AWS account ID.spec
- Gateway route specification. See theawsAppmeshGatewayRoute
resource for details.tags
- Map of tags.