resource_tenants
Creates, updates, deletes, gets or lists a resource_tenants resource.
Overview
| Name | resource_tenants |
| Type | Resource |
| Id | aws.sesv2.resource_tenants |
Fields
The following fields are returned by SELECT queries:
- list_resource_tenants
| Name | Datatype | Description |
|---|---|---|
associated_timestamp | string (date-time) | The date and time when the resource was associated with the tenant. |
resource_arn | string | The Amazon Resource Name (ARN) of the resource. |
tenant_id | string | A unique identifier for the tenant associated with the resource. |
tenant_name | string | The name of a tenant. The name can contain up to 64 alphanumeric characters, including letters, numbers, hyphens (-) and underscores (_) only. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_resource_tenants | select | region | List all tenants associated with a specific resource. This operation returns a list of tenants that are associated with the specified resource. This is useful for understanding which tenants are currently using a particular resource such as an email identity, configuration set, or email template. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_resource_tenants
List all tenants associated with a specific resource. This operation returns a list of tenants that are associated with the specified resource. This is useful for understanding which tenants are currently using a particular resource such as an email identity, configuration set, or email template.
SELECT
associated_timestamp,
resource_arn,
tenant_id,
tenant_name
FROM aws.sesv2.resource_tenants
WHERE region = '{{ region }}' -- required
;