{"token_count": 818}

# TeleportCrownJewelV1

This guide lists the fields in the `TeleportCrownJewelV1` resource, which you can apply after installing the Teleport Kubernetes operator.

## resources.teleport.dev/v1

**apiVersion:** resources.teleport.dev/v1

| Field      | Type            | Description                                                                                                                                                                                                                                                                                          |
| ---------- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| apiVersion | string          | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: <https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources>  |
| kind       | string          | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: <https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds> |
| metadata   | object          |                                                                                                                                                                                                                                                                                                      |
| spec       | [object](#spec) | CrownJewel resource definition v1 from Teleport                                                                                                                                                                                                                                                      |

### spec

| Field              | Type                                      | Description                                                                     |
| ------------------ | ----------------------------------------- | ------------------------------------------------------------------------------- |
| aws\_matchers      | \[][object](#specaws_matchers-items)      | AWSMatchers is a list of AWS matchers. DEPRECATED: Use query instead.           |
| query              | string                                    | Query is a Access Graph query to match resources.                               |
| teleport\_matchers | \[][object](#specteleport_matchers-items) | TeleportMatchers is a list of teleport matchers. DEPRECATED: Use query instead. |

### spec.aws\_matchers items

| Field   | Type                                           | Description                                                     |
| ------- | ---------------------------------------------- | --------------------------------------------------------------- |
| arns    | \[]string                                      | ARNs are AWS resources ARN to match.                            |
| regions | \[]string                                      | Regions are AWS regions to query for resources.                 |
| tags    | \[][object](#specaws_matchers-itemstags-items) | Tags are AWS resource Tags to match. labels is a set of labels. |
| types   | \[]string                                      | Types are AWS database types to match, "ec2", "rds", "s3", etc  |

### spec.aws\_matchers items.tags items

| Field  | Type      | Description                    |
| ------ | --------- | ------------------------------ |
| key    | string    | Key is the key of the tag.     |
| values | \[]string | Value is the value of the tag. |

### spec.teleport\_matchers items

| Field  | Type                                                  | Description                                                                                                 |
| ------ | ----------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| kinds  | \[]string                                             | Kind is the kind of the resource: ssh, k8s, db, etc Multiple kinds can be provided to match multiple kinds. |
| labels | \[][object](#specteleport_matchers-itemslabels-items) | Labels is a set of labels.                                                                                  |
| names  | \[]string                                             | Names are the name of resources. When the name is provided, it will match resources with the same name.     |

### spec.teleport\_matchers items.labels items

| Field  | Type      | Description                           |
| ------ | --------- | ------------------------------------- |
| name   | string    | The name of the label.                |
| values | \[]string | The values associated with the label. |
