Interface ICfnAssetProps
Properties for defining a CfnAsset
.
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnAssetProps
Syntax (vb)
Public Interface 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
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. |
Properties
EgressEndpoints
List of playback endpoints that are available for this asset.
virtual object EgressEndpoints { get; }
Property Value
System.Object
Remarks
Id
Unique identifier that you assign to the asset.
string Id { get; }
Property Value
System.String
Remarks
PackagingGroupId
The ID of the packaging group associated with this asset.
string PackagingGroupId { get; }
Property Value
System.String
Remarks
ResourceId
Unique identifier for this asset, as it's configured in the key provider service.
virtual string ResourceId { get; }
Property Value
System.String
Remarks
SourceArn
The ARN for the source content in Amazon S3.
string SourceArn { get; }
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.
string SourceRoleArn { get; }
Property Value
System.String
Remarks
Valid format: arn:aws:iam::{accountID}:role/{name}