Skip to main content

resource_tenants

Creates, updates, deletes, gets or lists a resource_tenants resource.

Overview

Nameresource_tenants
TypeResource
Idaws.sesv2.resource_tenants

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
associated_timestampstring (date-time)The date and time when the resource was associated with the tenant.
resource_arnstringThe Amazon Resource Name (ARN) of the resource.
tenant_idstringA unique identifier for the tenant associated with the resource.
tenant_namestringThe 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:

NameAccessible byRequired ParamsOptional ParamsDescription
list_resource_tenantsselectregionList 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;