AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::MediaPackage::Asset

CfnAsset

Creates an asset to ingest VOD content. After it's created, the asset starts ingesting content and generates playback URLs for the packaging configurations associated with it. When ingest is complete, downstream devices use the appropriate URL to request VOD content from AWS Elemental MediaPackage .

Import

import { CfnAsset } from 'aws-cdk-lib/aws-mediapackage';

Or use the module namespace:

import * as mediapackage from 'aws-cdk-lib/aws-mediapackage';
// mediapackage.CfnAsset

Properties

Configuration passed to the constructor as CfnAssetProps.

idRequired
string

Unique identifier that you assign to the asset.

packagingGroupIdRequired
string

The ID of the packaging group associated with this asset.

sourceArnRequired
string

The ARN for the source content in Amazon S3.

sourceRoleArnRequired
string

The ARN for the IAM role that provides AWS Elemental MediaPackage access to the Amazon S3 bucket where the source content is stored. Valid format: arn:aws:iam::{accountID}:role/{name}

egressEndpointsOptional
IResolvable | IResolvable | EgressEndpointProperty[]

List of playback endpoints that are available for this asset.

resourceIdOptional
string

Unique identifier for this asset, as it's configured in the key provider service.

tagsOptional
CfnTag[]

The tags to assign to the asset.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-mediapackage
CFN TypeAWS::MediaPackage::Asset
Properties7

External Links