Skip to content

Data Source: awsEmrcontainersVirtualCluster

Retrieve information about an EMR Containers (EMR on EKS) Virtual Cluster.

Example Usage

import * as cdktf from "cdktf";
/*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 dataAwsEmrcontainersVirtualClusterExample =
  new aws.dataAwsEmrcontainersVirtualCluster.DataAwsEmrcontainersVirtualCluster(
    this,
    "example",
    {
      virtualClusterId: "example id",
    }
  );
new cdktf.TerraformOutput(this, "arn", {
  value: dataAwsEmrcontainersVirtualClusterExample.arn,
});
new cdktf.TerraformOutput(this, "name", {
  value: dataAwsEmrcontainersVirtualClusterExample.name,
});

Argument Reference

  • virtualClusterId - (Required) ID of the cluster.

Attributes Reference

  • id - ID of the cluster.
  • name - Name of the cluster.
  • arn - ARN of the cluster.
  • containerProvider - Nested attribute containing information about the underlying container provider (EKS cluster) for your EMR Containers cluster.
  • id - The name of the container provider that is running your EMR Containers cluster
  • info - Nested list containing information about the configuration of the container provider
    • eksInfo - Nested list containing EKS-specific information about the cluster where the EMR Containers cluster is running
    • namespace - The namespace where the EMR Containers cluster is running
  • type - The type of the container provider
  • createdAt - Unix epoch time stamp in seconds for when the cluster was created.
  • state - Status of the EKS cluster. One of running, terminating, terminated, arrested.
  • tags - Key-value mapping of resource tags.