Documentation ¶
Index ¶
- func CfnAsset_CFN_RESOURCE_TYPE_NAME() *string
- func CfnAsset_IsCfnElement(x interface{}) *bool
- func CfnAsset_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnAsset_IsConstruct(x interface{}) *bool
- func CfnChannel_CFN_RESOURCE_TYPE_NAME() *string
- func CfnChannel_IsCfnElement(x interface{}) *bool
- func CfnChannel_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnChannel_IsConstruct(x interface{}) *bool
- func CfnOriginEndpoint_CFN_RESOURCE_TYPE_NAME() *string
- func CfnOriginEndpoint_IsCfnElement(x interface{}) *bool
- func CfnOriginEndpoint_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnOriginEndpoint_IsConstruct(x interface{}) *bool
- func CfnPackagingConfiguration_CFN_RESOURCE_TYPE_NAME() *string
- func CfnPackagingConfiguration_IsCfnElement(x interface{}) *bool
- func CfnPackagingConfiguration_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnPackagingConfiguration_IsConstruct(x interface{}) *bool
- func CfnPackagingGroup_CFN_RESOURCE_TYPE_NAME() *string
- func CfnPackagingGroup_IsCfnElement(x interface{}) *bool
- func CfnPackagingGroup_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnPackagingGroup_IsConstruct(x interface{}) *bool
- func NewCfnAsset_Override(c CfnAsset, scope constructs.Construct, id *string, props *CfnAssetProps)
- func NewCfnChannel_Override(c CfnChannel, scope constructs.Construct, id *string, props *CfnChannelProps)
- func NewCfnOriginEndpoint_Override(c CfnOriginEndpoint, scope constructs.Construct, id *string, ...)
- func NewCfnPackagingConfiguration_Override(c CfnPackagingConfiguration, scope constructs.Construct, id *string, ...)
- func NewCfnPackagingGroup_Override(c CfnPackagingGroup, scope constructs.Construct, id *string, ...)
- type CfnAsset
- type CfnAssetProps
- type CfnAsset_EgressEndpointProperty
- type CfnChannel
- type CfnChannelProps
- type CfnChannel_LogConfigurationProperty
- type CfnOriginEndpoint
- type CfnOriginEndpointProps
- type CfnOriginEndpoint_AuthorizationProperty
- type CfnOriginEndpoint_CmafEncryptionProperty
- type CfnOriginEndpoint_CmafPackageProperty
- type CfnOriginEndpoint_DashEncryptionProperty
- type CfnOriginEndpoint_DashPackageProperty
- type CfnOriginEndpoint_HlsEncryptionProperty
- type CfnOriginEndpoint_HlsManifestProperty
- type CfnOriginEndpoint_HlsPackageProperty
- type CfnOriginEndpoint_MssEncryptionProperty
- type CfnOriginEndpoint_MssPackageProperty
- type CfnOriginEndpoint_SpekeKeyProviderProperty
- type CfnOriginEndpoint_StreamSelectionProperty
- type CfnPackagingConfiguration
- type CfnPackagingConfigurationProps
- type CfnPackagingConfiguration_CmafEncryptionProperty
- type CfnPackagingConfiguration_CmafPackageProperty
- type CfnPackagingConfiguration_DashEncryptionProperty
- type CfnPackagingConfiguration_DashManifestProperty
- type CfnPackagingConfiguration_DashPackageProperty
- type CfnPackagingConfiguration_HlsEncryptionProperty
- type CfnPackagingConfiguration_HlsManifestProperty
- type CfnPackagingConfiguration_HlsPackageProperty
- type CfnPackagingConfiguration_MssEncryptionProperty
- type CfnPackagingConfiguration_MssManifestProperty
- type CfnPackagingConfiguration_MssPackageProperty
- type CfnPackagingConfiguration_SpekeKeyProviderProperty
- type CfnPackagingConfiguration_StreamSelectionProperty
- type CfnPackagingGroup
- type CfnPackagingGroupProps
- type CfnPackagingGroup_AuthorizationProperty
- type CfnPackagingGroup_LogConfigurationProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnAsset_CFN_RESOURCE_TYPE_NAME ¶
func CfnAsset_CFN_RESOURCE_TYPE_NAME() *string
func CfnAsset_IsCfnElement ¶
func CfnAsset_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnAsset_IsCfnResource ¶
func CfnAsset_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnAsset_IsConstruct ¶
func CfnAsset_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func CfnChannel_CFN_RESOURCE_TYPE_NAME ¶
func CfnChannel_CFN_RESOURCE_TYPE_NAME() *string
func CfnChannel_IsCfnElement ¶
func CfnChannel_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnChannel_IsCfnResource ¶
func CfnChannel_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnChannel_IsConstruct ¶
func CfnChannel_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func CfnOriginEndpoint_CFN_RESOURCE_TYPE_NAME ¶
func CfnOriginEndpoint_CFN_RESOURCE_TYPE_NAME() *string
func CfnOriginEndpoint_IsCfnElement ¶
func CfnOriginEndpoint_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnOriginEndpoint_IsCfnResource ¶
func CfnOriginEndpoint_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnOriginEndpoint_IsConstruct ¶
func CfnOriginEndpoint_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func CfnPackagingConfiguration_CFN_RESOURCE_TYPE_NAME ¶
func CfnPackagingConfiguration_CFN_RESOURCE_TYPE_NAME() *string
func CfnPackagingConfiguration_IsCfnElement ¶
func CfnPackagingConfiguration_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnPackagingConfiguration_IsCfnResource ¶
func CfnPackagingConfiguration_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnPackagingConfiguration_IsConstruct ¶
func CfnPackagingConfiguration_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func CfnPackagingGroup_CFN_RESOURCE_TYPE_NAME ¶
func CfnPackagingGroup_CFN_RESOURCE_TYPE_NAME() *string
func CfnPackagingGroup_IsCfnElement ¶
func CfnPackagingGroup_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnPackagingGroup_IsCfnResource ¶
func CfnPackagingGroup_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnPackagingGroup_IsConstruct ¶
func CfnPackagingGroup_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func NewCfnAsset_Override ¶
func NewCfnAsset_Override(c CfnAsset, scope constructs.Construct, id *string, props *CfnAssetProps)
Create a new `AWS::MediaPackage::Asset`.
func NewCfnChannel_Override ¶
func NewCfnChannel_Override(c CfnChannel, scope constructs.Construct, id *string, props *CfnChannelProps)
Create a new `AWS::MediaPackage::Channel`.
func NewCfnOriginEndpoint_Override ¶
func NewCfnOriginEndpoint_Override(c CfnOriginEndpoint, scope constructs.Construct, id *string, props *CfnOriginEndpointProps)
Create a new `AWS::MediaPackage::OriginEndpoint`.
func NewCfnPackagingConfiguration_Override ¶
func NewCfnPackagingConfiguration_Override(c CfnPackagingConfiguration, scope constructs.Construct, id *string, props *CfnPackagingConfigurationProps)
Create a new `AWS::MediaPackage::PackagingConfiguration`.
func NewCfnPackagingGroup_Override ¶
func NewCfnPackagingGroup_Override(c CfnPackagingGroup, scope constructs.Construct, id *string, props *CfnPackagingGroupProps)
Create a new `AWS::MediaPackage::PackagingGroup`.
Types ¶
type CfnAsset ¶
type CfnAsset interface { awscdk.CfnResource awscdk.IInspectable AttrArn() *string AttrCreatedAt() *string AttrEgressEndpoints() awscdk.IResolvable CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string Id() *string SetId(val *string) LogicalId() *string Node() constructs.Node PackagingGroupId() *string SetPackagingGroupId(val *string) Ref() *string ResourceId() *string SetResourceId(val *string) SourceArn() *string SetSourceArn(val *string) SourceRoleArn() *string SetSourceRoleArn(val *string) Stack() awscdk.Stack Tags() awscdk.TagManager UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::MediaPackage::Asset`.
Creates an asset to ingest VOD content.
After it's created, the asset starts ingesting content and generates playback URLs for the packaging configurations associated with it. When ingest is complete, downstream devices use the appropriate URL to request VOD content from AWS Elemental MediaPackage .
TODO: EXAMPLE
func NewCfnAsset ¶
func NewCfnAsset(scope constructs.Construct, id *string, props *CfnAssetProps) CfnAsset
Create a new `AWS::MediaPackage::Asset`.
type CfnAssetProps ¶
type CfnAssetProps struct { // Unique identifier that you assign to the asset. Id *string `json:"id" yaml:"id"` // The ID of the packaging group associated with this asset. PackagingGroupId *string `json:"packagingGroupId" yaml:"packagingGroupId"` // The ARN for the source content in Amazon S3. SourceArn *string `json:"sourceArn" yaml:"sourceArn"` // 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} SourceRoleArn *string `json:"sourceRoleArn" yaml:"sourceRoleArn"` // Unique identifier for this asset, as it's configured in the key provider service. ResourceId *string `json:"resourceId" yaml:"resourceId"` // The tags to assign to the asset. Tags *[]*awscdk.CfnTag `json:"tags" yaml:"tags"` }
Properties for defining a `CfnAsset`.
TODO: EXAMPLE
type CfnAsset_EgressEndpointProperty ¶
type CfnAsset_EgressEndpointProperty struct { // The ID of a packaging configuration that's applied to this asset. PackagingConfigurationId *string `json:"packagingConfigurationId" yaml:"packagingConfigurationId"` // The URL that's used to request content from this endpoint. Url *string `json:"url" yaml:"url"` }
The playback endpoint for a packaging configuration on an asset.
TODO: EXAMPLE
type CfnChannel ¶
type CfnChannel interface { awscdk.CfnResource awscdk.IInspectable AttrArn() *string CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string Description() *string SetDescription(val *string) EgressAccessLogs() interface{} SetEgressAccessLogs(val interface{}) Id() *string SetId(val *string) IngressAccessLogs() interface{} SetIngressAccessLogs(val interface{}) LogicalId() *string Node() constructs.Node Ref() *string Stack() awscdk.Stack Tags() awscdk.TagManager UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::MediaPackage::Channel`.
Creates a channel to receive content.
After it's created, a channel provides static input URLs. These URLs remain the same throughout the lifetime of the channel, regardless of any failures or upgrades that might occur. Use these URLs to configure the outputs of your upstream encoder.
TODO: EXAMPLE
func NewCfnChannel ¶
func NewCfnChannel(scope constructs.Construct, id *string, props *CfnChannelProps) CfnChannel
Create a new `AWS::MediaPackage::Channel`.
type CfnChannelProps ¶
type CfnChannelProps struct { // Unique identifier that you assign to the channel. Id *string `json:"id" yaml:"id"` // Any descriptive information that you want to add to the channel for future identification purposes. Description *string `json:"description" yaml:"description"` // Configures egress access logs. EgressAccessLogs interface{} `json:"egressAccessLogs" yaml:"egressAccessLogs"` // Configures ingress access logs. IngressAccessLogs interface{} `json:"ingressAccessLogs" yaml:"ingressAccessLogs"` // The tags to assign to the channel. Tags *[]*awscdk.CfnTag `json:"tags" yaml:"tags"` }
Properties for defining a `CfnChannel`.
TODO: EXAMPLE
type CfnChannel_LogConfigurationProperty ¶
type CfnChannel_LogConfigurationProperty struct { // Sets a custom Amazon CloudWatch log group name. LogGroupName *string `json:"logGroupName" yaml:"logGroupName"` }
The access log configuration parameters for your channel.
TODO: EXAMPLE
type CfnOriginEndpoint ¶
type CfnOriginEndpoint interface { awscdk.CfnResource awscdk.IInspectable AttrArn() *string AttrUrl() *string Authorization() interface{} SetAuthorization(val interface{}) CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string ChannelId() *string SetChannelId(val *string) CmafPackage() interface{} SetCmafPackage(val interface{}) CreationStack() *[]*string DashPackage() interface{} SetDashPackage(val interface{}) Description() *string SetDescription(val *string) HlsPackage() interface{} SetHlsPackage(val interface{}) Id() *string SetId(val *string) LogicalId() *string ManifestName() *string SetManifestName(val *string) MssPackage() interface{} SetMssPackage(val interface{}) Node() constructs.Node Origination() *string SetOrigination(val *string) Ref() *string Stack() awscdk.Stack StartoverWindowSeconds() *float64 SetStartoverWindowSeconds(val *float64) Tags() awscdk.TagManager TimeDelaySeconds() *float64 SetTimeDelaySeconds(val *float64) UpdatedProperites() *map[string]interface{} Whitelist() *[]*string SetWhitelist(val *[]*string) AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::MediaPackage::OriginEndpoint`.
Create an endpoint on an AWS Elemental MediaPackage channel.
An endpoint represents a single delivery point of a channel, and defines content output handling through various components, such as packaging protocols, DRM and encryption integration, and more.
After it's created, an endpoint provides a fixed public URL. This URL remains the same throughout the lifetime of the endpoint, regardless of any failures or upgrades that might occur. Integrate the URL with a downstream CDN (such as Amazon CloudFront) or playback device.
TODO: EXAMPLE
func NewCfnOriginEndpoint ¶
func NewCfnOriginEndpoint(scope constructs.Construct, id *string, props *CfnOriginEndpointProps) CfnOriginEndpoint
Create a new `AWS::MediaPackage::OriginEndpoint`.
type CfnOriginEndpointProps ¶
type CfnOriginEndpointProps struct { // The ID of the channel associated with this endpoint. ChannelId *string `json:"channelId" yaml:"channelId"` // The manifest ID is required and must be unique within the OriginEndpoint. // // The ID can't be changed after the endpoint is created. Id *string `json:"id" yaml:"id"` // Parameters for CDN authorization. Authorization interface{} `json:"authorization" yaml:"authorization"` // Parameters for Common Media Application Format (CMAF) packaging. CmafPackage interface{} `json:"cmafPackage" yaml:"cmafPackage"` // Parameters for DASH packaging. DashPackage interface{} `json:"dashPackage" yaml:"dashPackage"` // Any descriptive information that you want to add to the endpoint for future identification purposes. Description *string `json:"description" yaml:"description"` // Parameters for Apple HLS packaging. HlsPackage interface{} `json:"hlsPackage" yaml:"hlsPackage"` // A short string that's appended to the end of the endpoint URL to create a unique path to this endpoint. ManifestName *string `json:"manifestName" yaml:"manifestName"` // Parameters for Microsoft Smooth Streaming packaging. MssPackage interface{} `json:"mssPackage" yaml:"mssPackage"` // Controls video origination from this endpoint. // // - `ALLOW` - enables this endpoint to serve content to requesting devices. // - `DENY` - prevents this endpoint from serving content. Denying origination is helpful for harvesting live-to-VOD assets. For more information about harvesting and origination, see [Live-to-VOD Requirements](https://docs.aws.amazon.com/mediapackage/latest/ug/ltov-reqmts.html) . Origination *string `json:"origination" yaml:"origination"` // Maximum duration (seconds) of content to retain for startover playback. // // Omit this attribute or enter `0` to indicate that startover playback is disabled for this endpoint. StartoverWindowSeconds *float64 `json:"startoverWindowSeconds" yaml:"startoverWindowSeconds"` // The tags to assign to the endpoint. Tags *[]*awscdk.CfnTag `json:"tags" yaml:"tags"` // Minimum duration (seconds) of delay to enforce on the playback of live content. // // Omit this attribute or enter `0` to indicate that there is no time delay in effect for this endpoint TimeDelaySeconds *float64 `json:"timeDelaySeconds" yaml:"timeDelaySeconds"` // The IP addresses that can access this endpoint. Whitelist *[]*string `json:"whitelist" yaml:"whitelist"` }
Properties for defining a `CfnOriginEndpoint`.
TODO: EXAMPLE
type CfnOriginEndpoint_AuthorizationProperty ¶
type CfnOriginEndpoint_AuthorizationProperty struct { // The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that your Content Distribution Network (CDN) uses for authorization to access your endpoint. CdnIdentifierSecret *string `json:"cdnIdentifierSecret" yaml:"cdnIdentifierSecret"` // The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager . SecretsRoleArn *string `json:"secretsRoleArn" yaml:"secretsRoleArn"` }
Parameters for enabling CDN authorization on the endpoint.
TODO: EXAMPLE
type CfnOriginEndpoint_CmafEncryptionProperty ¶
type CfnOriginEndpoint_CmafEncryptionProperty struct { // Parameters for the SPEKE key provider. SpekeKeyProvider interface{} `json:"spekeKeyProvider" yaml:"spekeKeyProvider"` // An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. // // If you don't specify a value, then MediaPackage creates the constant initialization vector (IV). ConstantInitializationVector *string `json:"constantInitializationVector" yaml:"constantInitializationVector"` // Number of seconds before AWS Elemental MediaPackage rotates to a new key. // // By default, rotation is set to 60 seconds. Set to `0` to disable key rotation. KeyRotationIntervalSeconds *float64 `json:"keyRotationIntervalSeconds" yaml:"keyRotationIntervalSeconds"` }
Holds encryption information so that access to the content can be controlled by a DRM solution.
TODO: EXAMPLE
type CfnOriginEndpoint_CmafPackageProperty ¶
type CfnOriginEndpoint_CmafPackageProperty struct { // Parameters for encrypting content. Encryption interface{} `json:"encryption" yaml:"encryption"` // A list of HLS manifest configurations that are available from this endpoint. HlsManifests interface{} `json:"hlsManifests" yaml:"hlsManifests"` // Duration (in seconds) of each segment. // // Actual segments are rounded to the nearest multiple of the source segment duration. SegmentDurationSeconds *float64 `json:"segmentDurationSeconds" yaml:"segmentDurationSeconds"` // An optional custom string that is prepended to the name of each segment. // // If not specified, the segment prefix defaults to the ChannelId. SegmentPrefix *string `json:"segmentPrefix" yaml:"segmentPrefix"` // Limitations for outputs from the endpoint, based on the video bitrate. StreamSelection interface{} `json:"streamSelection" yaml:"streamSelection"` }
Parameters for Common Media Application Format (CMAF) packaging.
TODO: EXAMPLE
type CfnOriginEndpoint_DashEncryptionProperty ¶
type CfnOriginEndpoint_DashEncryptionProperty struct { // Parameters for the SPEKE key provider. SpekeKeyProvider interface{} `json:"spekeKeyProvider" yaml:"spekeKeyProvider"` // Number of seconds before AWS Elemental MediaPackage rotates to a new key. // // By default, rotation is set to 60 seconds. Set to `0` to disable key rotation. KeyRotationIntervalSeconds *float64 `json:"keyRotationIntervalSeconds" yaml:"keyRotationIntervalSeconds"` }
Holds encryption information so that access to the content can be controlled by a DRM solution.
TODO: EXAMPLE
type CfnOriginEndpoint_DashPackageProperty ¶
type CfnOriginEndpoint_DashPackageProperty struct { // The flags on SCTE-35 segmentation descriptors that have to be present for MediaPackage to insert ad markers in the output manifest. // // For information about SCTE-35 in MediaPackage, see [SCTE-35 Message Options in AWS Elemental MediaPackage](https://docs.aws.amazon.com/mediapackage/latest/ug/scte.html) . AdsOnDeliveryRestrictions *string `json:"adsOnDeliveryRestrictions" yaml:"adsOnDeliveryRestrictions"` // Specifies the SCTE-35 message types that MediaPackage treats as ad markers in the output manifest. // // Valid values: // // - `BREAK` // - `DISTRIBUTOR_ADVERTISEMENT` // - `DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY` . // - `DISTRIBUTOR_PLACEMENT_OPPORTUNITY` . // - `PROVIDER_ADVERTISEMENT` . // - `PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY` . // - `PROVIDER_PLACEMENT_OPPORTUNITY` . // - `SPLICE_INSERT` . AdTriggers *[]*string `json:"adTriggers" yaml:"adTriggers"` // Parameters for encrypting content. Encryption interface{} `json:"encryption" yaml:"encryption"` // Determines the position of some tags in the manifest. // // Options: // // - `FULL` - elements like `SegmentTemplate` and `ContentProtection` are included in each `Representation` . // - `COMPACT` - duplicate elements are combined and presented at the `AdaptationSet` level. ManifestLayout *string `json:"manifestLayout" yaml:"manifestLayout"` // Time window (in seconds) contained in each manifest. ManifestWindowSeconds *float64 `json:"manifestWindowSeconds" yaml:"manifestWindowSeconds"` // Minimum amount of content (measured in seconds) that a player must keep available in the buffer. MinBufferTimeSeconds *float64 `json:"minBufferTimeSeconds" yaml:"minBufferTimeSeconds"` // Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest. MinUpdatePeriodSeconds *float64 `json:"minUpdatePeriodSeconds" yaml:"minUpdatePeriodSeconds"` // Controls whether MediaPackage produces single-period or multi-period DASH manifests. // // For more information about periods, see [Multi-period DASH in AWS Elemental MediaPackage](https://docs.aws.amazon.com/mediapackage/latest/ug/multi-period.html) . // // Valid values: // // - `ADS` - MediaPackage will produce multi-period DASH manifests. Periods are created based on the SCTE-35 ad markers present in the input manifest. // - *No value* - MediaPackage will produce single-period DASH manifests. This is the default setting. PeriodTriggers *[]*string `json:"periodTriggers" yaml:"periodTriggers"` // DASH profile for the output, such as HbbTV. // // Valid values: // // - `NONE` - the output doesn't use a DASH profile. // - `HBBTV_1_5` - the output is HbbTV-compliant. Profile *string `json:"profile" yaml:"profile"` // Duration (in seconds) of each fragment. // // Actual fragments are rounded to the nearest multiple of the source fragment duration. SegmentDurationSeconds *float64 `json:"segmentDurationSeconds" yaml:"segmentDurationSeconds"` // Determines the type of variable used in the `media` URL of the `SegmentTemplate` tag in the manifest. // // Also specifies if segment timeline information is included in `SegmentTimeline` or `SegmentTemplate` . // // - `NUMBER_WITH_TIMELINE` - The `$Number$` variable is used in the `media` URL. The value of this variable is the sequential number of the segment. A full `SegmentTimeline` object is presented in each `SegmentTemplate` . // - `NUMBER_WITH_DURATION` - The `$Number$` variable is used in the `media` URL and a `duration` attribute is added to the segment template. The `SegmentTimeline` object is removed from the representation. // - `TIME_WITH_TIMELINE` - The `$Time$` variable is used in the `media` URL. The value of this variable is the timestamp of when the segment starts. A full `SegmentTimeline` object is presented in each `SegmentTemplate` . SegmentTemplateFormat *string `json:"segmentTemplateFormat" yaml:"segmentTemplateFormat"` // Limitations for outputs from the endpoint, based on the video bitrate. StreamSelection interface{} `json:"streamSelection" yaml:"streamSelection"` // Amount of time (in seconds) that the player should be from the live point at the end of the manifest. SuggestedPresentationDelaySeconds *float64 `json:"suggestedPresentationDelaySeconds" yaml:"suggestedPresentationDelaySeconds"` // Determines the type of UTC timing included in the DASH Media Presentation Description (MPD). UtcTiming *string `json:"utcTiming" yaml:"utcTiming"` // Specifies the value attribute of the UTC timing field when utcTiming is set to HTTP-ISO or HTTP-HEAD. UtcTimingUri *string `json:"utcTimingUri" yaml:"utcTimingUri"` }
Parameters for DASH packaging.
TODO: EXAMPLE
type CfnOriginEndpoint_HlsEncryptionProperty ¶
type CfnOriginEndpoint_HlsEncryptionProperty struct { // Parameters for the SPEKE key provider. SpekeKeyProvider interface{} `json:"spekeKeyProvider" yaml:"spekeKeyProvider"` // A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks. ConstantInitializationVector *string `json:"constantInitializationVector" yaml:"constantInitializationVector"` // HLS encryption type. EncryptionMethod *string `json:"encryptionMethod" yaml:"encryptionMethod"` // Number of seconds before AWS Elemental MediaPackage rotates to a new key. // // By default, rotation is set to 60 seconds. Set to `0` to disable key rotation. KeyRotationIntervalSeconds *float64 `json:"keyRotationIntervalSeconds" yaml:"keyRotationIntervalSeconds"` // Repeat the `EXT-X-KEY` directive for every media segment. // // This might result in an increase in client requests to the DRM server. RepeatExtXKey interface{} `json:"repeatExtXKey" yaml:"repeatExtXKey"` }
Holds encryption information so that access to the content can be controlled by a DRM solution.
TODO: EXAMPLE
type CfnOriginEndpoint_HlsManifestProperty ¶
type CfnOriginEndpoint_HlsManifestProperty struct { // The manifest ID is required and must be unique within the OriginEndpoint. // // The ID can't be changed after the endpoint is created. Id *string `json:"id" yaml:"id"` // Controls how ad markers are included in the packaged endpoint. // // Valid values are `none` , `passthrough` , or `scte35_enhanced` . // // - `NONE` - omits all SCTE-35 ad markers from the output. // - `PASSTHROUGH` - creates a copy in the output of the SCTE-35 ad markers (comments) taken directly from the input manifest. // - `SCTE35_ENHANCED` - generates ad markers and blackout tags in the output based on the SCTE-35 messages from the input manifest. AdMarkers *string `json:"adMarkers" yaml:"adMarkers"` // The flags on SCTE-35 segmentation descriptors that have to be present for MediaPackage to insert ad markers in the output manifest. // // For information about SCTE-35 in MediaPackage, see [SCTE-35 Message Options in AWS Elemental MediaPackage](https://docs.aws.amazon.com/mediapackage/latest/ug/scte.html) . AdsOnDeliveryRestrictions *string `json:"adsOnDeliveryRestrictions" yaml:"adsOnDeliveryRestrictions"` // Specifies the SCTE-35 message types that MediaPackage treats as ad markers in the output manifest. // // Valid values: // // - `BREAK` // - `DISTRIBUTOR_ADVERTISEMENT` // - `DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY` // - `DISTRIBUTOR_PLACEMENT_OPPORTUNITY` // - `PROVIDER_ADVERTISEMENT` // - `PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY` // - `PROVIDER_PLACEMENT_OPPORTUNITY` // - `SPLICE_INSERT` AdTriggers *[]*string `json:"adTriggers" yaml:"adTriggers"` // Applies to stream sets with a single video track only. // // When true, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included. IncludeIframeOnlyStream interface{} `json:"includeIframeOnlyStream" yaml:"includeIframeOnlyStream"` // A short string that's appended to the end of the endpoint URL to create a unique path to this endpoint. // // The manifestName on the HLSManifest object overrides the manifestName that you provided on the originEndpoint object. ManifestName *string `json:"manifestName" yaml:"manifestName"` // When specified as either `event` or `vod` , a corresponding `EXT-X-PLAYLIST-TYPE` entry is included in the media playlist. // // Indicates if the playlist is live-to-VOD content. PlaylistType *string `json:"playlistType" yaml:"playlistType"` // Time window (in seconds) contained in each parent manifest. PlaylistWindowSeconds *float64 `json:"playlistWindowSeconds" yaml:"playlistWindowSeconds"` // Inserts `EXT-X-PROGRAM-DATE-TIME` tags in the output manifest at the interval that you specify. // // Additionally, ID3Timed metadata messages are generated every 5 seconds starting when the content was ingested. // // Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output. // // Omit this attribute or enter `0` to indicate that the `EXT-X-PROGRAM-DATE-TIME` tags are not included in the manifest. ProgramDateTimeIntervalSeconds *float64 `json:"programDateTimeIntervalSeconds" yaml:"programDateTimeIntervalSeconds"` // The URL that's used to request this manifest from this endpoint. Url *string `json:"url" yaml:"url"` }
An HTTP Live Streaming (HLS) manifest configuration on a CMAF endpoint.
TODO: EXAMPLE
type CfnOriginEndpoint_HlsPackageProperty ¶
type CfnOriginEndpoint_HlsPackageProperty struct { // Controls how ad markers are included in the packaged endpoint. // // Valid values are `none` , `passthrough` , or `scte35_enhanced` . // // - `NONE` - omits all SCTE-35 ad markers from the output. // - `PASSTHROUGH` - creates a copy in the output of the SCTE-35 ad markers (comments) taken directly from the input manifest. // - `SCTE35_ENHANCED` - generates ad markers and blackout tags in the output based on the SCTE-35 messages from the input manifest. AdMarkers *string `json:"adMarkers" yaml:"adMarkers"` // The flags on SCTE-35 segmentation descriptors that have to be present for MediaPackage to insert ad markers in the output manifest. // // For information about SCTE-35 in MediaPackage, see [SCTE-35 Message Options in AWS Elemental MediaPackage](https://docs.aws.amazon.com/mediapackage/latest/ug/scte.html) . AdsOnDeliveryRestrictions *string `json:"adsOnDeliveryRestrictions" yaml:"adsOnDeliveryRestrictions"` // Specifies the SCTE-35 message types that MediaPackage treats as ad markers in the output manifest. // // Valid values: // // - `BREAK` // - `DISTRIBUTOR_ADVERTISEMENT` // - `DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY` // - `DISTRIBUTOR_PLACEMENT_OPPORTUNITY` // - `PROVIDER_ADVERTISEMENT` // - `PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY` // - `PROVIDER_PLACEMENT_OPPORTUNITY` // - `SPLICE_INSERT` AdTriggers *[]*string `json:"adTriggers" yaml:"adTriggers"` // Parameters for encrypting content. Encryption interface{} `json:"encryption" yaml:"encryption"` // Only applies to stream sets with a single video track. // // When true, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included. IncludeIframeOnlyStream interface{} `json:"includeIframeOnlyStream" yaml:"includeIframeOnlyStream"` // When specified as either `event` or `vod` , a corresponding `EXT-X-PLAYLIST-TYPE` entry is included in the media playlist. // // Indicates if the playlist is live-to-VOD content. PlaylistType *string `json:"playlistType" yaml:"playlistType"` // Time window (in seconds) contained in each parent manifest. PlaylistWindowSeconds *float64 `json:"playlistWindowSeconds" yaml:"playlistWindowSeconds"` // Inserts `EXT-X-PROGRAM-DATE-TIME` tags in the output manifest at the interval that you specify. // // Additionally, ID3Timed metadata messages are generated every 5 seconds starting when the content was ingested. // // Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output. // // Omit this attribute or enter `0` to indicate that the `EXT-X-PROGRAM-DATE-TIME` tags are not included in the manifest. ProgramDateTimeIntervalSeconds *float64 `json:"programDateTimeIntervalSeconds" yaml:"programDateTimeIntervalSeconds"` // Duration (in seconds) of each fragment. // // Actual fragments are rounded to the nearest multiple of the source fragment duration. SegmentDurationSeconds *float64 `json:"segmentDurationSeconds" yaml:"segmentDurationSeconds"` // Limitations for outputs from the endpoint, based on the video bitrate. StreamSelection interface{} `json:"streamSelection" yaml:"streamSelection"` // When true, AWS Elemental MediaPackage bundles all audio tracks in a rendition group. // // All other tracks in the stream can be used with any audio rendition from the group. UseAudioRenditionGroup interface{} `json:"useAudioRenditionGroup" yaml:"useAudioRenditionGroup"` }
Parameters for Apple HLS packaging.
TODO: EXAMPLE
type CfnOriginEndpoint_MssEncryptionProperty ¶
type CfnOriginEndpoint_MssEncryptionProperty struct {
// Parameters for the SPEKE key provider.
SpekeKeyProvider interface{} `json:"spekeKeyProvider" yaml:"spekeKeyProvider"`
}
Holds encryption information so that access to the content can be controlled by a DRM solution.
TODO: EXAMPLE
type CfnOriginEndpoint_MssPackageProperty ¶
type CfnOriginEndpoint_MssPackageProperty struct { // Parameters for encrypting content. Encryption interface{} `json:"encryption" yaml:"encryption"` // Time window (in seconds) contained in each manifest. ManifestWindowSeconds *float64 `json:"manifestWindowSeconds" yaml:"manifestWindowSeconds"` // Duration (in seconds) of each fragment. // // Actual fragments are rounded to the nearest multiple of the source fragment duration. SegmentDurationSeconds *float64 `json:"segmentDurationSeconds" yaml:"segmentDurationSeconds"` // Limitations for outputs from the endpoint, based on the video bitrate. StreamSelection interface{} `json:"streamSelection" yaml:"streamSelection"` }
Parameters for Microsoft Smooth Streaming packaging.
TODO: EXAMPLE
type CfnOriginEndpoint_SpekeKeyProviderProperty ¶
type CfnOriginEndpoint_SpekeKeyProviderProperty struct { // Unique identifier for this endpoint, as it is configured in the key provider service. ResourceId *string `json:"resourceId" yaml:"resourceId"` // The ARN for the IAM role that's granted by the key provider to provide access to the key provider API. // // This role must have a trust policy that allows AWS Elemental MediaPackage to assume the role, and it must have a sufficient permissions policy to allow access to the specific key retrieval URL. Valid format: arn:aws:iam::{accountID}:role/{name} RoleArn *string `json:"roleArn" yaml:"roleArn"` // List of unique identifiers for the DRM systems to use, as defined in the CPIX specification. SystemIds *[]*string `json:"systemIds" yaml:"systemIds"` // URL for the key provider’s key retrieval API endpoint. // // Must start with https://. Url *string `json:"url" yaml:"url"` // The Amazon Resource Name (ARN) for the certificate that you imported to AWS Certificate Manager to add content key encryption to this endpoint. // // For this feature to work, your DRM key provider must support content key encryption. CertificateArn *string `json:"certificateArn" yaml:"certificateArn"` }
Keyprovider settings for DRM.
TODO: EXAMPLE
type CfnOriginEndpoint_StreamSelectionProperty ¶
type CfnOriginEndpoint_StreamSelectionProperty struct { // The upper limit of the bitrates that this endpoint serves. // // If the video track exceeds this threshold, then AWS Elemental MediaPackage excludes it from output. If you don't specify a value, it defaults to 2147483647 bits per second. MaxVideoBitsPerSecond *float64 `json:"maxVideoBitsPerSecond" yaml:"maxVideoBitsPerSecond"` // The lower limit of the bitrates that this endpoint serves. // // If the video track is below this threshold, then AWS Elemental MediaPackage excludes it from output. If you don't specify a value, it defaults to 0 bits per second. MinVideoBitsPerSecond *float64 `json:"minVideoBitsPerSecond" yaml:"minVideoBitsPerSecond"` // Order in which the different video bitrates are presented to the player. // // Valid values: `ORIGINAL` , `VIDEO_BITRATE_ASCENDING` , `VIDEO_BITRATE_DESCENDING` . StreamOrder *string `json:"streamOrder" yaml:"streamOrder"` }
Limitations for outputs from the endpoint, based on the video bitrate.
TODO: EXAMPLE
type CfnPackagingConfiguration ¶
type CfnPackagingConfiguration interface { awscdk.CfnResource awscdk.IInspectable AttrArn() *string CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CmafPackage() interface{} SetCmafPackage(val interface{}) CreationStack() *[]*string DashPackage() interface{} SetDashPackage(val interface{}) HlsPackage() interface{} SetHlsPackage(val interface{}) Id() *string SetId(val *string) LogicalId() *string MssPackage() interface{} SetMssPackage(val interface{}) Node() constructs.Node PackagingGroupId() *string SetPackagingGroupId(val *string) Ref() *string Stack() awscdk.Stack Tags() awscdk.TagManager UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::MediaPackage::PackagingConfiguration`.
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` .
TODO: EXAMPLE
func NewCfnPackagingConfiguration ¶
func NewCfnPackagingConfiguration(scope constructs.Construct, id *string, props *CfnPackagingConfigurationProps) CfnPackagingConfiguration
Create a new `AWS::MediaPackage::PackagingConfiguration`.
type CfnPackagingConfigurationProps ¶
type CfnPackagingConfigurationProps struct { // Unique identifier that you assign to the packaging configuration. Id *string `json:"id" yaml:"id"` // The ID of the packaging group associated with this packaging configuration. PackagingGroupId *string `json:"packagingGroupId" yaml:"packagingGroupId"` // Parameters for CMAF packaging. CmafPackage interface{} `json:"cmafPackage" yaml:"cmafPackage"` // Parameters for DASH-ISO packaging. DashPackage interface{} `json:"dashPackage" yaml:"dashPackage"` // Parameters for Apple HLS packaging. HlsPackage interface{} `json:"hlsPackage" yaml:"hlsPackage"` // Parameters for Microsoft Smooth Streaming packaging. MssPackage interface{} `json:"mssPackage" yaml:"mssPackage"` // The tags to assign to the packaging configuration. Tags *[]*awscdk.CfnTag `json:"tags" yaml:"tags"` }
Properties for defining a `CfnPackagingConfiguration`.
TODO: EXAMPLE
type CfnPackagingConfiguration_CmafEncryptionProperty ¶
type CfnPackagingConfiguration_CmafEncryptionProperty struct {
// Parameters for the SPEKE key provider.
SpekeKeyProvider interface{} `json:"spekeKeyProvider" yaml:"spekeKeyProvider"`
}
Holds encryption information so that access to the content can be controlled by a DRM solution.
TODO: EXAMPLE
type CfnPackagingConfiguration_CmafPackageProperty ¶
type CfnPackagingConfiguration_CmafPackageProperty struct { // A list of HLS manifest configurations that are available from this endpoint. HlsManifests interface{} `json:"hlsManifests" yaml:"hlsManifests"` // Parameters for encrypting content. Encryption interface{} `json:"encryption" yaml:"encryption"` // When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. // // This lets you use different SPS/PPS/VPS settings for your assets during content playback. IncludeEncoderConfigurationInSegments interface{} `json:"includeEncoderConfigurationInSegments" yaml:"includeEncoderConfigurationInSegments"` // Duration (in seconds) of each segment. // // Actual segments are rounded to the nearest multiple of the source fragment duration. SegmentDurationSeconds *float64 `json:"segmentDurationSeconds" yaml:"segmentDurationSeconds"` }
Parameters for a packaging configuration that uses Common Media Application Format (CMAF) packaging.
TODO: EXAMPLE
type CfnPackagingConfiguration_DashEncryptionProperty ¶
type CfnPackagingConfiguration_DashEncryptionProperty struct {
// Parameters for the SPEKE key provider.
SpekeKeyProvider interface{} `json:"spekeKeyProvider" yaml:"spekeKeyProvider"`
}
Holds encryption information so that access to the content can be controlled by a DRM solution.
TODO: EXAMPLE
type CfnPackagingConfiguration_DashManifestProperty ¶
type CfnPackagingConfiguration_DashManifestProperty struct { // Determines the position of some tags in the Media Presentation Description (MPD). // // When set to `FULL` , elements like `SegmentTemplate` and `ContentProtection` are included in each `Representation` . When set to `COMPACT` , duplicate elements are combined and presented at the AdaptationSet level. ManifestLayout *string `json:"manifestLayout" yaml:"manifestLayout"` // A short string that's appended to the end of the endpoint URL to create a unique path to this packaging configuration. ManifestName *string `json:"manifestName" yaml:"manifestName"` // Minimum amount of content (measured in seconds) that a player must keep available in the buffer. MinBufferTimeSeconds *float64 `json:"minBufferTimeSeconds" yaml:"minBufferTimeSeconds"` // The DASH profile type. // // When set to `HBBTV_1_5` , the content is compliant with HbbTV 1.5. Profile *string `json:"profile" yaml:"profile"` // Limitations for outputs from the endpoint, based on the video bitrate. StreamSelection interface{} `json:"streamSelection" yaml:"streamSelection"` }
Parameters for a DASH manifest.
TODO: EXAMPLE
type CfnPackagingConfiguration_DashPackageProperty ¶
type CfnPackagingConfiguration_DashPackageProperty struct { // A list of DASH manifest configurations that are available from this endpoint. DashManifests interface{} `json:"dashManifests" yaml:"dashManifests"` // Parameters for encrypting content. Encryption interface{} `json:"encryption" yaml:"encryption"` // When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. // // This lets you use different SPS/PPS/VPS settings for your assets during content playback. IncludeEncoderConfigurationInSegments interface{} `json:"includeEncoderConfigurationInSegments" yaml:"includeEncoderConfigurationInSegments"` // Controls whether MediaPackage produces single-period or multi-period DASH manifests. // // For more information about periods, see [Multi-period DASH in AWS Elemental MediaPackage](https://docs.aws.amazon.com/mediapackage/latest/ug/multi-period.html) . // // Valid values: // // - `ADS` - MediaPackage will produce multi-period DASH manifests. Periods are created based on the SCTE-35 ad markers present in the input manifest. // - *No value* - MediaPackage will produce single-period DASH manifests. This is the default setting. PeriodTriggers *[]*string `json:"periodTriggers" yaml:"periodTriggers"` // Duration (in seconds) of each fragment. // // Actual fragments are rounded to the nearest multiple of the source segment duration. SegmentDurationSeconds *float64 `json:"segmentDurationSeconds" yaml:"segmentDurationSeconds"` // Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). // // When set to `NUMBER_WITH_TIMELINE` , a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to `TIME_WITH_TIMELINE` , a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to `NUMBER_WITH_DURATION` , only a duration is included in each SegmentTemplate, with $Number$ media URLs. SegmentTemplateFormat *string `json:"segmentTemplateFormat" yaml:"segmentTemplateFormat"` }
Parameters for a packaging configuration that uses Dynamic Adaptive Streaming over HTTP (DASH) packaging.
TODO: EXAMPLE
type CfnPackagingConfiguration_HlsEncryptionProperty ¶
type CfnPackagingConfiguration_HlsEncryptionProperty struct { // Parameters for the SPEKE key provider. SpekeKeyProvider interface{} `json:"spekeKeyProvider" yaml:"spekeKeyProvider"` // A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks. // // If you don't specify a constant initialization vector (IV), MediaPackage periodically rotates the IV. ConstantInitializationVector *string `json:"constantInitializationVector" yaml:"constantInitializationVector"` // HLS encryption type. EncryptionMethod *string `json:"encryptionMethod" yaml:"encryptionMethod"` }
Holds encryption information so that access to the content can be controlled by a DRM solution.
TODO: EXAMPLE
type CfnPackagingConfiguration_HlsManifestProperty ¶
type CfnPackagingConfiguration_HlsManifestProperty struct { // This setting controls ad markers in the packaged content. // // `NONE` omits SCTE-35 ad markers from the output. `PASSTHROUGH` copies SCTE-35 ad markers from the source content to the output. `SCTE35_ENHANCED` generates ad markers and blackout tags in the output, based on SCTE-35 messages in the source content. AdMarkers *string `json:"adMarkers" yaml:"adMarkers"` // Applies to stream sets with a single video track only. // // When enabled, the output includes an additional I-frame only stream, along with the other tracks. IncludeIframeOnlyStream interface{} `json:"includeIframeOnlyStream" yaml:"includeIframeOnlyStream"` // A short string that's appended to the end of the endpoint URL to create a unique path to this packaging configuration. ManifestName *string `json:"manifestName" yaml:"manifestName"` // Inserts `EXT-X-PROGRAM-DATE-TIME` tags in the output manifest at the interval that you specify. // // Additionally, ID3Timed metadata messages are generated every 5 seconds starting when the content was ingested. // // Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output. // // Omit this attribute or enter `0` to indicate that the `EXT-X-PROGRAM-DATE-TIME` tags are not included in the manifest. ProgramDateTimeIntervalSeconds *float64 `json:"programDateTimeIntervalSeconds" yaml:"programDateTimeIntervalSeconds"` // Repeat the `EXT-X-KEY` directive for every media segment. // // This might result in an increase in client requests to the DRM server. RepeatExtXKey interface{} `json:"repeatExtXKey" yaml:"repeatExtXKey"` // Video bitrate limitations for outputs from this packaging configuration. StreamSelection interface{} `json:"streamSelection" yaml:"streamSelection"` }
Parameters for an HLS manifest.
TODO: EXAMPLE
type CfnPackagingConfiguration_HlsPackageProperty ¶
type CfnPackagingConfiguration_HlsPackageProperty struct { // A list of HLS manifest configurations that are available from this endpoint. HlsManifests interface{} `json:"hlsManifests" yaml:"hlsManifests"` // Parameters for encrypting content. Encryption interface{} `json:"encryption" yaml:"encryption"` // Duration (in seconds) of each fragment. // // Actual fragments are rounded to the nearest multiple of the source fragment duration. SegmentDurationSeconds *float64 `json:"segmentDurationSeconds" yaml:"segmentDurationSeconds"` // When true, AWS Elemental MediaPackage bundles all audio tracks in a rendition group. // // All other tracks in the stream can be used with any audio rendition from the group. UseAudioRenditionGroup interface{} `json:"useAudioRenditionGroup" yaml:"useAudioRenditionGroup"` }
Parameters for a packaging configuration that uses HTTP Live Streaming (HLS) packaging.
TODO: EXAMPLE
type CfnPackagingConfiguration_MssEncryptionProperty ¶
type CfnPackagingConfiguration_MssEncryptionProperty struct {
// Parameters for the SPEKE key provider.
SpekeKeyProvider interface{} `json:"spekeKeyProvider" yaml:"spekeKeyProvider"`
}
Holds encryption information so that access to the content can be controlled by a DRM solution.
TODO: EXAMPLE
type CfnPackagingConfiguration_MssManifestProperty ¶
type CfnPackagingConfiguration_MssManifestProperty struct { // A short string that's appended to the end of the endpoint URL to create a unique path to this packaging configuration. ManifestName *string `json:"manifestName" yaml:"manifestName"` // Video bitrate limitations for outputs from this packaging configuration. StreamSelection interface{} `json:"streamSelection" yaml:"streamSelection"` }
Parameters for a Microsoft Smooth manifest.
TODO: EXAMPLE
type CfnPackagingConfiguration_MssPackageProperty ¶
type CfnPackagingConfiguration_MssPackageProperty struct { // A list of Microsoft Smooth manifest configurations that are available from this endpoint. MssManifests interface{} `json:"mssManifests" yaml:"mssManifests"` // Parameters for encrypting content. Encryption interface{} `json:"encryption" yaml:"encryption"` // Duration (in seconds) of each fragment. // // Actual fragments are rounded to the nearest multiple of the source fragment duration. SegmentDurationSeconds *float64 `json:"segmentDurationSeconds" yaml:"segmentDurationSeconds"` }
Parameters for a packaging configuration that uses Microsoft Smooth Streaming (MSS) packaging.
TODO: EXAMPLE
type CfnPackagingConfiguration_SpekeKeyProviderProperty ¶
type CfnPackagingConfiguration_SpekeKeyProviderProperty struct { // The ARN for the IAM role that's granted by the key provider to provide access to the key provider API. // // Valid format: arn:aws:iam::{accountID}:role/{name} RoleArn *string `json:"roleArn" yaml:"roleArn"` // List of unique identifiers for the DRM systems to use, as defined in the CPIX specification. SystemIds *[]*string `json:"systemIds" yaml:"systemIds"` // URL for the key provider's key retrieval API endpoint. // // Must start with https://. Url *string `json:"url" yaml:"url"` }
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that provides encryption keys.
TODO: EXAMPLE
type CfnPackagingConfiguration_StreamSelectionProperty ¶
type CfnPackagingConfiguration_StreamSelectionProperty struct { // The upper limit of the bitrates that this endpoint serves. // // If the video track exceeds this threshold, then AWS Elemental MediaPackage excludes it from output. If you don't specify a value, it defaults to 2147483647 bits per second. MaxVideoBitsPerSecond *float64 `json:"maxVideoBitsPerSecond" yaml:"maxVideoBitsPerSecond"` // The lower limit of the bitrates that this endpoint serves. // // If the video track is below this threshold, then AWS Elemental MediaPackage excludes it from output. If you don't specify a value, it defaults to 0 bits per second. MinVideoBitsPerSecond *float64 `json:"minVideoBitsPerSecond" yaml:"minVideoBitsPerSecond"` // Order in which the different video bitrates are presented to the player. // // Valid values: `ORIGINAL` , `VIDEO_BITRATE_ASCENDING` , `VIDEO_BITRATE_DESCENDING` . StreamOrder *string `json:"streamOrder" yaml:"streamOrder"` }
Limitations for outputs from the endpoint, based on the video bitrate.
TODO: EXAMPLE
type CfnPackagingGroup ¶
type CfnPackagingGroup interface { awscdk.CfnResource awscdk.IInspectable AttrArn() *string AttrDomainName() *string Authorization() interface{} SetAuthorization(val interface{}) CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string EgressAccessLogs() interface{} SetEgressAccessLogs(val interface{}) Id() *string SetId(val *string) LogicalId() *string Node() constructs.Node Ref() *string Stack() awscdk.Stack Tags() awscdk.TagManager UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::MediaPackage::PackagingGroup`.
Creates a packaging group.
The packaging group holds one or more packaging configurations. When you create an asset, you specify the packaging group associated with the asset. The asset has playback endpoints for each packaging configuration within the group.
TODO: EXAMPLE
func NewCfnPackagingGroup ¶
func NewCfnPackagingGroup(scope constructs.Construct, id *string, props *CfnPackagingGroupProps) CfnPackagingGroup
Create a new `AWS::MediaPackage::PackagingGroup`.
type CfnPackagingGroupProps ¶
type CfnPackagingGroupProps struct { // Unique identifier that you assign to the packaging group. Id *string `json:"id" yaml:"id"` // Parameters for CDN authorization. Authorization interface{} `json:"authorization" yaml:"authorization"` // The configuration parameters for egress access logging. EgressAccessLogs interface{} `json:"egressAccessLogs" yaml:"egressAccessLogs"` // The tags to assign to the packaging group. Tags *[]*awscdk.CfnTag `json:"tags" yaml:"tags"` }
Properties for defining a `CfnPackagingGroup`.
TODO: EXAMPLE
type CfnPackagingGroup_AuthorizationProperty ¶
type CfnPackagingGroup_AuthorizationProperty struct { // The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization. CdnIdentifierSecret *string `json:"cdnIdentifierSecret" yaml:"cdnIdentifierSecret"` // The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager . SecretsRoleArn *string `json:"secretsRoleArn" yaml:"secretsRoleArn"` }
Parameters for enabling CDN authorization.
TODO: EXAMPLE
type CfnPackagingGroup_LogConfigurationProperty ¶
type CfnPackagingGroup_LogConfigurationProperty struct { // Sets a custom Amazon CloudWatch log group name for egress logs. // // If a log group name isn't specified, the default name is used: /aws/MediaPackage/EgressAccessLogs. LogGroupName *string `json:"logGroupName" yaml:"logGroupName"` }
Sets a custom Amazon CloudWatch log group name for egress logs.
If a log group name isn't specified, the default name is used: /aws/MediaPackage/EgressAccessLogs.
TODO: EXAMPLE