Skip to main content

s3_table_integrations

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

Overview

Names3_table_integrations
TypeResource
Idaws.observabilityadmin.s3_table_integrations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the S3 Table integration. (pattern: <code>arn:aws([a-z0-9-]+)?:([a-zA-Z0-9-]+):([a-z0-9-]+)?:([0-9]{12})?:(.+)</code>)
created_time_stampinteger (int64)The timestamp when the S3 Table integration was created.
destination_table_bucket_arnstringThe Amazon Resource Name (ARN) of the S3 bucket used as the destination for the table data. (pattern: <code>arn:aws([a-z0-9-]+)?:([a-zA-Z0-9-]+):([a-z0-9-]+)?:([0-9]{12})?:(.+)</code>)
encryptionobjectDefines the encryption configuration for S3 Table integrations, including the encryption algorithm and KMS key settings.
role_arnstringThe Amazon Resource Name (ARN) of the IAM role used by the S3 Table integration. (pattern: <code>arn:aws([a-z0-9-]+)?:([a-zA-Z0-9-]+):([a-z0-9-]+)?:([0-9]{12})?:(.+)</code>)
statusstringThe current status of the S3 Table integration. (ACTIVE, DELETING)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_s3_table_integrationselectregionRetrieves information about a specific S3 Table integration, including its configuration, status, and metadata.
create_s3_table_integrationinsertregion, RoleArnCreates an integration between CloudWatch and S3 Tables for analytics. This integration enables querying CloudWatch telemetry data using analytics engines like Amazon Athena, Amazon Redshift, and Apache Spark.
delete_s3_table_integrationdeleteregionDeletes an S3 Table integration and its associated data. This operation removes the connection between CloudWatch Observability Admin and S3 Tables.
list_s3_table_integrationsexecregionLists all S3 Table integrations in your account. We recommend using pagination to ensure that the operation returns quickly and successfully.

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

Retrieves information about a specific S3 Table integration, including its configuration, status, and metadata.

SELECT
arn,
created_time_stamp,
destination_table_bucket_arn,
encryption,
role_arn,
status
FROM aws.observabilityadmin.s3_table_integrations
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates an integration between CloudWatch and S3 Tables for analytics. This integration enables querying CloudWatch telemetry data using analytics engines like Amazon Athena, Amazon Redshift, and Apache Spark.

INSERT INTO aws.observabilityadmin.s3_table_integrations (
Encryption,
RoleArn,
Tags,
region
)
SELECT
'{{ Encryption }}',
'{{ RoleArn }}' /* required */,
'{{ Tags }}',
'{{ region }}'
RETURNING
arn
;

DELETE examples

Deletes an S3 Table integration and its associated data. This operation removes the connection between CloudWatch Observability Admin and S3 Tables.

DELETE FROM aws.observabilityadmin.s3_table_integrations
WHERE region = '{{ region }}' --required
;

Lifecycle Methods

Lists all S3 Table integrations in your account. We recommend using pagination to ensure that the operation returns quickly and successfully.

EXEC aws.observabilityadmin.s3_table_integrations.list_s3_table_integrations
@region='{{ region }}' --required
@@json=
'{
"MaxResults": {{ MaxResults }},
"NextToken": "{{ NextToken }}"
}'
;