Data Source: awsAppmeshMesh
The App Mesh Mesh data source allows details of an App Mesh Mesh to be retrieved by its 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.dataAwsAppmeshMesh.DataAwsAppmeshMesh(this, "simple", {
name: "simpleapp",
});
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
const dataAwsCallerIdentityCurrent =
new aws.dataAwsCallerIdentity.DataAwsCallerIdentity(this, "current", {});
new aws.dataAwsAppmeshMesh.DataAwsAppmeshMesh(this, "simple", {
meshOwner: dataAwsCallerIdentityCurrent.accountId,
name: "simpleapp",
});
Argument Reference
The following arguments are supported:
name- (Required) Name of the service mesh.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 service mesh.createdDate- Creation date of the service mesh.lastUpdatedDate- Last update date of the service mesh.resourceOwner- Resource owner's AWS account ID.spec- Service mesh specification. See theawsAppmeshMeshresource for details.tags- Map of tags.