AWS::MediaPackage::Asset - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::MediaPackage::Asset

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.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::MediaPackage::Asset", "Properties" : { "EgressEndpoints" : [ EgressEndpoint, ... ], "Id" : String, "PackagingGroupId" : String, "ResourceId" : String, "SourceArn" : String, "SourceRoleArn" : String, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::MediaPackage::Asset Properties: EgressEndpoints: - EgressEndpoint Id: String PackagingGroupId: String ResourceId: String SourceArn: String SourceRoleArn: String Tags: - Tag

Properties

EgressEndpoints

List of playback endpoints that are available for this asset.

Required: No

Type: Array of EgressEndpoint

Update requires: No interruption

Id

Unique identifier that you assign to the asset.

Required: Yes

Type: String

Update requires: No interruption

PackagingGroupId

The ID of the packaging group associated with this asset.

Required: Yes

Type: String

Update requires: No interruption

ResourceId

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

Required: No

Type: String

Update requires: No interruption

SourceArn

The ARN for the source content in Amazon S3.

Required: Yes

Type: String

Update requires: No interruption

SourceRoleArn

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}

Required: Yes

Type: String

Update requires: No interruption

Tags

The tags to assign to the asset.

Required: No

Type: Array of Tag

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the name of the asset.

For example: { "Ref": "myAsset" }

For more information about using the Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

Arn

The Amazon Resource Name (ARN) for the asset. You can get this from the response to any request to the asset.

CreatedAt

The date and time that the asset was initially submitted for ingest.