Table: aws_media_store_container - Query AWS MediaStore Container using SQL
The AWS MediaStore Container is a high-performance storage service for media data. It offers the performance, consistency, and low latency required to deliver live streaming video content. MediaStore Container is designed to enable you to deliver video content to consumers more quickly and reliably.
Table Usage Guide
The aws_media_store_container
table in Steampipe provides you with information about containers within AWS Elemental MediaStore. This table allows you, as a DevOps engineer, to query container-specific details, such as ARN, creation time, status, and access logging details. You can utilize this table to gather insights on containers, such as the container's lifecycle policy, CORS policy, and more. The schema outlines the various attributes of the MediaStore container for you, including the container ARN, creation time, status, access logging details, and associated tags.
Examples
Basic info
Explore the status and settings of your AWS Media Store containers to assess their accessibility and operational status. This is beneficial in understanding the overall health and configuration of your media storage infrastructure.
select name, arn, status, access_logging_enabled, creation_time, endpointfrom aws_media_store_container;
select name, arn, status, access_logging_enabled, creation_time, endpointfrom aws_media_store_container;
List containers which are in 'CREATING' state
Identify instances where AWS Media Store containers are still in the process of being created. This can be useful in managing resources and troubleshooting potential issues with container creation.
select name, arn, status, access_logging_enabled, creation_time, endpointfrom aws_media_store_containerwhere status = 'CREATING';
select name, arn, status, access_logging_enabled, creation_time, endpointfrom aws_media_store_containerwhere status = 'CREATING';
List policy details for the containers
Gain insights into the policy details associated with your containers to better understand their configuration and ensure adherence to your organization's security standards. This can be particularly useful for auditing purposes or to identify any potential areas of risk.
select name, jsonb_pretty(policy) as policy, jsonb_pretty(policy_std) as policy_stdfrom aws_media_store_container;
select name, policy, policy_stdfrom aws_media_store_container;
List containers with access logging enabled
Identify instances where access logging is enabled for AWS Media Store containers. This could be beneficial for auditing purposes or to ensure compliance with data access policies.
select name, arn, access_logging_enabledfrom aws_media_store_containerwhere access_logging_enabled;
select name, arn, access_logging_enabledfrom aws_media_store_containerwhere access_logging_enabled = 1;
Query examples
Schema for aws_media_store_container
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
access_logging_enabled | boolean | The state of access logging on the container. This value is false by default, indicating that AWS Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access logging on the container, MediaStore changes this value to true, indicating that the service delivers access logs for objects stored in that container to CloudWatch Logs. | |
account_id | text | =, !=, ~~, ~~*, !~~, !~~* | The AWS Account ID in which the resource is located. |
akas | jsonb | Array of globally unique identifier strings (also known as) for the resource. | |
arn | text | The Amazon Resource Name (ARN) of the container. | |
creation_time | timestamp with time zone | The Unix timestamp that the container was created. | |
endpoint | text | The DNS endpoint of the container. | |
name | text | = | The name of the container. |
partition | text | The AWS partition in which the resource is located (aws, aws-cn, or aws-us-gov). | |
policy | jsonb | The contents of the access policy. | |
policy_std | jsonb | Contains the contents of the access policy in a canonical form for easier searching. | |
region | text | The AWS Region in which the resource is located. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
status | text | The status of container creation or deletion. The status is one of the following: 'CREATING', 'ACTIVE', or 'DELETING'. | |
tags | jsonb | A map of tags for the resource. | |
tags_src | jsonb | A list of tags associated with the container | |
title | text | Title of the resource. |
Export
This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.
You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh
script:
/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- aws
You can pass the configuration to the command with the --config
argument:
steampipe_export_aws --config '<your_config>' aws_media_store_container