asset
Gets an individual asset
resource
Overview
Name | asset |
Type | Resource |
Description | asset |
Id | awscc.mediapackage.asset |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | The ARN of the Asset. |
created_at | string | The time the Asset was initially submitted for Ingest. |
egress_endpoints | array | The list of egress endpoints available for the Asset. |
id | string | The unique identifier for the Asset. |
packaging_group_id | string | The ID of the PackagingGroup for the Asset. |
resource_id | string | The resource ID to include in SPEKE key requests. |
source_arn | string | ARN of the source object in S3. |
source_role_arn | string | The IAM role_arn used to access the source S3 bucket. |
tags | array | A collection of tags associated with a resource |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
arn,
created_at,
egress_endpoints,
id,
packaging_group_id,
resource_id,
source_arn,
source_role_arn,
tags
FROM awscc.mediapackage.asset
WHERE data__Identifier = '<Id>';
Permissions
To operate on the asset
resource, the following permissions are required:
Read
mediapackage-vod:DescribeAsset
Delete
mediapackage-vod:DescribeAsset,
mediapackage-vod:DeleteAsset