AWS::MediaPackage::AssetCreates 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 { CfnAsset } from 'aws-cdk-lib/aws-mediapackage';Or use the module namespace:
import * as mediapackage from 'aws-cdk-lib/aws-mediapackage';
// mediapackage.CfnAssetConfiguration passed to the constructor as CfnAssetProps.
idRequiredstringUnique identifier that you assign to the asset.
packagingGroupIdRequiredstringThe ID of the packaging group associated with this asset.
sourceArnRequiredstringThe ARN for the source content in Amazon S3.
sourceRoleArnRequiredstringThe 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}
egressEndpointsOptionalIResolvable | IResolvable | EgressEndpointProperty[]List of playback endpoints that are available for this asset.
resourceIdOptionalstringUnique identifier for this asset, as it's configured in the key provider service.
tagsOptionalCfnTag[]The tags to assign to the asset.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-mediapackageAWS::MediaPackage::Asset