interface CfnAssetProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.MediaPackage.CfnAssetProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsmediapackage#CfnAssetProps |
![]() | software.amazon.awscdk.services.mediapackage.CfnAssetProps |
![]() | aws_cdk.aws_mediapackage.CfnAssetProps |
![]() | aws-cdk-lib » aws_mediapackage » CfnAssetProps |
Properties for defining a CfnAsset
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackage as mediapackage } from 'aws-cdk-lib';
const cfnAssetProps: mediapackage.CfnAssetProps = {
id: 'id',
packagingGroupId: 'packagingGroupId',
sourceArn: 'sourceArn',
sourceRoleArn: 'sourceRoleArn',
// the properties below are optional
egressEndpoints: [{
packagingConfigurationId: 'packagingConfigurationId',
url: 'url',
}],
resourceId: 'resourceId',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
id | string | Unique identifier that you assign to the asset. |
packaging | string | The ID of the packaging group associated with this asset. |
source | string | The ARN for the source content in Amazon S3. |
source | string | The ARN for the IAM role that provides AWS Elemental MediaPackage access to the Amazon S3 bucket where the source content is stored. |
egress | IResolvable | IResolvable | Egress [] | List of playback endpoints that are available for this asset. |
resource | string | Unique identifier for this asset, as it's configured in the key provider service. |
tags? | Cfn [] | The tags to assign to the asset. |
id
Type:
string
Unique identifier that you assign to the asset.
packagingGroupId
Type:
string
The ID of the packaging group associated with this asset.
sourceArn
Type:
string
The ARN for the source content in Amazon S3.
sourceRoleArn
Type:
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}
egressEndpoints?
Type:
IResolvable
|
IResolvable
|
Egress
[]
(optional)
List of playback endpoints that are available for this asset.
resourceId?
Type:
string
(optional)
Unique identifier for this asset, as it's configured in the key provider service.
tags?
Type:
Cfn
[]
(optional)
The tags to assign to the asset.