Class CfnPackagingConfiguration
A CloudFormation AWS::MediaPackage::PackagingConfiguration
.
Inherited Members
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.AWS.MediaPackage.dll
Syntax (csharp)
public class CfnPackagingConfiguration : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnPackagingConfiguration
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Creates a packaging configuration in a packaging group.
The packaging configuration represents a single delivery point for an asset. It determines the format and setting for the egressing content. Specify only one package format per configuration, such as HlsPackage
.
CloudformationResource: AWS::MediaPackage::PackagingConfiguration
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 cfnPackagingConfiguration = new CfnPackagingConfiguration(this, "MyCfnPackagingConfiguration", new CfnPackagingConfigurationProps {
Id = "id",
PackagingGroupId = "packagingGroupId",
// the properties below are optional
CmafPackage = new CmafPackageProperty {
HlsManifests = new [] { new HlsManifestProperty {
AdMarkers = "adMarkers",
IncludeIframeOnlyStream = false,
ManifestName = "manifestName",
ProgramDateTimeIntervalSeconds = 123,
RepeatExtXKey = false,
StreamSelection = new StreamSelectionProperty {
MaxVideoBitsPerSecond = 123,
MinVideoBitsPerSecond = 123,
StreamOrder = "streamOrder"
}
} },
// the properties below are optional
Encryption = new CmafEncryptionProperty {
SpekeKeyProvider = new SpekeKeyProviderProperty {
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty { }
}
},
IncludeEncoderConfigurationInSegments = false,
SegmentDurationSeconds = 123
},
DashPackage = new DashPackageProperty {
DashManifests = new [] { new DashManifestProperty {
ManifestLayout = "manifestLayout",
ManifestName = "manifestName",
MinBufferTimeSeconds = 123,
Profile = "profile",
ScteMarkersSource = "scteMarkersSource",
StreamSelection = new StreamSelectionProperty {
MaxVideoBitsPerSecond = 123,
MinVideoBitsPerSecond = 123,
StreamOrder = "streamOrder"
}
} },
// the properties below are optional
Encryption = new DashEncryptionProperty {
SpekeKeyProvider = new SpekeKeyProviderProperty {
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty { }
}
},
IncludeEncoderConfigurationInSegments = false,
IncludeIframeOnlyStream = false,
PeriodTriggers = new [] { "periodTriggers" },
SegmentDurationSeconds = 123,
SegmentTemplateFormat = "segmentTemplateFormat"
},
HlsPackage = new HlsPackageProperty {
HlsManifests = new [] { new HlsManifestProperty {
AdMarkers = "adMarkers",
IncludeIframeOnlyStream = false,
ManifestName = "manifestName",
ProgramDateTimeIntervalSeconds = 123,
RepeatExtXKey = false,
StreamSelection = new StreamSelectionProperty {
MaxVideoBitsPerSecond = 123,
MinVideoBitsPerSecond = 123,
StreamOrder = "streamOrder"
}
} },
// the properties below are optional
Encryption = new HlsEncryptionProperty {
SpekeKeyProvider = new SpekeKeyProviderProperty {
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty { }
},
// the properties below are optional
ConstantInitializationVector = "constantInitializationVector",
EncryptionMethod = "encryptionMethod"
},
IncludeDvbSubtitles = false,
SegmentDurationSeconds = 123,
UseAudioRenditionGroup = false
},
MssPackage = new MssPackageProperty {
MssManifests = new [] { new MssManifestProperty {
ManifestName = "manifestName",
StreamSelection = new StreamSelectionProperty {
MaxVideoBitsPerSecond = 123,
MinVideoBitsPerSecond = 123,
StreamOrder = "streamOrder"
}
} },
// the properties below are optional
Encryption = new MssEncryptionProperty {
SpekeKeyProvider = new SpekeKeyProviderProperty {
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty { }
}
},
SegmentDurationSeconds = 123
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnPackagingConfiguration(Construct, String, ICfnPackagingConfigurationProps) | Create a new |
CfnPackagingConfiguration(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnPackagingConfiguration(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrArn | The Amazon Resource Name (ARN) for the packaging configuration. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
CmafPackage | Parameters for CMAF packaging. |
DashPackage | Parameters for DASH-ISO packaging. |
HlsPackage | Parameters for Apple HLS packaging. |
Id | Unique identifier that you assign to the packaging configuration. |
MssPackage | Parameters for Microsoft Smooth Streaming packaging. |
PackagingGroupId | The ID of the packaging group associated with this packaging configuration. |
Tags | The tags to assign to the packaging configuration. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnPackagingConfiguration(Construct, String, ICfnPackagingConfigurationProps)
Create a new AWS::MediaPackage::PackagingConfiguration
.
public CfnPackagingConfiguration(Construct scope, string id, ICfnPackagingConfigurationProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnPackagingConfigurationProps
- resource properties.
CfnPackagingConfiguration(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnPackagingConfiguration(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnPackagingConfiguration(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnPackagingConfiguration(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrArn
The Amazon Resource Name (ARN) for the packaging configuration.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
You can get this from the response to any request to the packaging configuration.
CloudformationAttribute: Arn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
CmafPackage
Parameters for CMAF packaging.
public virtual object CmafPackage { get; set; }
Property Value
System.Object
Remarks
DashPackage
Parameters for DASH-ISO packaging.
public virtual object DashPackage { get; set; }
Property Value
System.Object
Remarks
HlsPackage
Parameters for Apple HLS packaging.
public virtual object HlsPackage { get; set; }
Property Value
System.Object
Remarks
Id
Unique identifier that you assign to the packaging configuration.
public virtual string Id { get; set; }
Property Value
System.String
Remarks
MssPackage
Parameters for Microsoft Smooth Streaming packaging.
public virtual object MssPackage { get; set; }
Property Value
System.Object
Remarks
PackagingGroupId
The ID of the packaging group associated with this packaging configuration.
public virtual string PackagingGroupId { get; set; }
Property Value
System.String
Remarks
Tags
The tags to assign to the packaging configuration.
public virtual TagManager Tags { get; }
Property Value
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>