Data Source: awsPrometheusWorkspace
Provides an Amazon Managed Prometheus workspace data source.
Example Usage
Basic configuration
/*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.dataAwsPrometheusWorkspace.DataAwsPrometheusWorkspace(this, "example", {
workspaceId: "ws-41det8a1-2c67-6a1a-9381-9b83d3d78ef7",
});
Argument Reference
The following arguments are required:
workspaceId
- (Required) Prometheus workspace ID.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn
- ARN of the Prometheus workspace.createdDate
- Creation date of the Prometheus workspace.prometheusEndpoint
- Endpoint of the Prometheus workspace.alias
- Prometheus workspace alias.status
- Status of the Prometheus workspace.tags
- Tags assigned to the resource.