Class CfnAssetProps
Properties for defining a CfnAsset
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAssetProps : Object, ICfnAssetProps
Syntax (vb)
Public Class CfnAssetProps
Inherits Object
Implements ICfnAssetProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaPackage;
var cfnAssetProps = new CfnAssetProps {
Id = "id",
PackagingGroupId = "packagingGroupId",
SourceArn = "sourceArn",
SourceRoleArn = "sourceRoleArn",
// the properties below are optional
EgressEndpoints = new [] { new EgressEndpointProperty {
PackagingConfigurationId = "packagingConfigurationId",
Url = "url"
} },
ResourceId = "resourceId",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnAssetProps() |
Properties
EgressEndpoints | List of playback endpoints that are available for this asset. |
Id | Unique identifier that you assign to the asset. |
PackagingGroupId | The ID of the packaging group associated with this asset. |
ResourceId | Unique identifier for this asset, as it's configured in the key provider service. |
SourceArn | The ARN for the source content in Amazon S3. |
SourceRoleArn | The ARN for the IAM role that provides AWS Elemental MediaPackage access to the Amazon S3 bucket where the source content is stored. |
Tags | The tags to assign to the asset. |
Constructors
CfnAssetProps()
public CfnAssetProps()
Properties
EgressEndpoints
List of playback endpoints that are available for this asset.
public object EgressEndpoints { get; set; }
Property Value
System.Object
Remarks
Id
Unique identifier that you assign to the asset.
public string Id { get; set; }
Property Value
System.String
Remarks
PackagingGroupId
The ID of the packaging group associated with this asset.
public string PackagingGroupId { get; set; }
Property Value
System.String
Remarks
ResourceId
Unique identifier for this asset, as it's configured in the key provider service.
public string ResourceId { get; set; }
Property Value
System.String
Remarks
SourceArn
The ARN for the source content in Amazon S3.
public string SourceArn { get; set; }
Property Value
System.String
Remarks
SourceRoleArn
The ARN for the IAM role that provides AWS Elemental MediaPackage access to the Amazon S3 bucket where the source content is stored.
public string SourceRoleArn { get; set; }
Property Value
System.String
Remarks
Valid format: arn:aws:iam::{accountID}:role/{name}
Tags
The tags to assign to the asset.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]