Resource: awsEmrcontainersVirtualCluster
Manages an EMR Containers (EMR on EKS) Virtual Cluster.
Example Usage
Basic 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.emrcontainersVirtualCluster.EmrcontainersVirtualCluster(
this,
"example",
{
containerProvider: {
id: "${aws_eks_cluster.example.name}",
info: {
eksInfo: {
namespace: "default",
},
},
type: "EKS",
},
name: "example",
}
);
Argument Reference
The following arguments are required:
containerProvider
- (Required) Configuration block for the container provider associated with your cluster.name
– (Required) Name of the virtual cluster.tags
- (Optional) Key-value mapping of resource tags. If configured with a providerdefaultTags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
container_provider Arguments
id
- The name of the container provider that is running your EMR Containers clusterinfo
- Nested list containing information about the configuration of the container providereksInfo
- Nested list containing EKS-specific information about the cluster where the EMR Containers cluster is runningnamespace
- The namespace where the EMR Containers cluster is running
type
- The type of the container provider
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn
- ARN of the cluster.id
- The ID of the cluster.tagsAll
- Map of tags assigned to the resource, including those inherited from the providerdefaultTags
configuration block.
Import
EKS Clusters can be imported using the id
, e.g.