Show / Hide Table of Contents

Class CfnAssetProps

Properties for defining a CfnAsset.

Inheritance
object
CfnAssetProps
Implements
ICfnAssetProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAssetProps : ICfnAssetProps
Syntax (vb)
Public Class CfnAssetProps 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 for defining a CfnAsset.

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()

Properties for defining a CfnAsset.

public CfnAssetProps()
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"
                 } }
             };

Properties

EgressEndpoints

List of playback endpoints that are available for this asset.

public object? EgressEndpoints { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-egressendpoints

Type union: either IResolvable or (either IResolvable or CfnAsset.IEgressEndpointProperty)[]

Id

Unique identifier that you assign to the asset.

public string Id { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-id

PackagingGroupId

The ID of the packaging group associated with this asset.

public string PackagingGroupId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-packaginggroupid

ResourceId

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

public string? ResourceId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-resourceid

SourceArn

The ARN for the source content in Amazon S3.

public string SourceArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-sourcearn

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

string

Remarks

Valid format: arn:aws:iam::{accountID}:role/{name}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-sourcerolearn

Tags

The tags to assign to the asset.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-tags

Implements

ICfnAssetProps
Back to top Generated by DocFX