Interface ICfnOriginEndpointProps
Properties for defining a CfnOriginEndpoint
.
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnOriginEndpointProps
Syntax (vb)
Public Interface ICfnOriginEndpointProps
Remarks
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 cfnOriginEndpointProps = new CfnOriginEndpointProps {
ChannelId = "channelId",
Id = "id",
// the properties below are optional
Authorization = new AuthorizationProperty {
CdnIdentifierSecret = "cdnIdentifierSecret",
SecretsRoleArn = "secretsRoleArn"
},
CmafPackage = new CmafPackageProperty {
Encryption = new CmafEncryptionProperty {
SpekeKeyProvider = new SpekeKeyProviderProperty {
ResourceId = "resourceId",
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
CertificateArn = "certificateArn",
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
}
},
// the properties below are optional
ConstantInitializationVector = "constantInitializationVector",
EncryptionMethod = "encryptionMethod",
KeyRotationIntervalSeconds = 123
},
HlsManifests = new [] { new HlsManifestProperty {
Id = "id",
// the properties below are optional
AdMarkers = "adMarkers",
AdsOnDeliveryRestrictions = "adsOnDeliveryRestrictions",
AdTriggers = new [] { "adTriggers" },
IncludeIframeOnlyStream = false,
ManifestName = "manifestName",
PlaylistType = "playlistType",
PlaylistWindowSeconds = 123,
ProgramDateTimeIntervalSeconds = 123,
Url = "url"
} },
SegmentDurationSeconds = 123,
SegmentPrefix = "segmentPrefix",
StreamSelection = new StreamSelectionProperty {
MaxVideoBitsPerSecond = 123,
MinVideoBitsPerSecond = 123,
StreamOrder = "streamOrder"
}
},
DashPackage = new DashPackageProperty {
AdsOnDeliveryRestrictions = "adsOnDeliveryRestrictions",
AdTriggers = new [] { "adTriggers" },
Encryption = new DashEncryptionProperty {
SpekeKeyProvider = new SpekeKeyProviderProperty {
ResourceId = "resourceId",
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
CertificateArn = "certificateArn",
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
}
},
// the properties below are optional
KeyRotationIntervalSeconds = 123
},
IncludeIframeOnlyStream = false,
ManifestLayout = "manifestLayout",
ManifestWindowSeconds = 123,
MinBufferTimeSeconds = 123,
MinUpdatePeriodSeconds = 123,
PeriodTriggers = new [] { "periodTriggers" },
Profile = "profile",
SegmentDurationSeconds = 123,
SegmentTemplateFormat = "segmentTemplateFormat",
StreamSelection = new StreamSelectionProperty {
MaxVideoBitsPerSecond = 123,
MinVideoBitsPerSecond = 123,
StreamOrder = "streamOrder"
},
SuggestedPresentationDelaySeconds = 123,
UtcTiming = "utcTiming",
UtcTimingUri = "utcTimingUri"
},
Description = "description",
HlsPackage = new HlsPackageProperty {
AdMarkers = "adMarkers",
AdsOnDeliveryRestrictions = "adsOnDeliveryRestrictions",
AdTriggers = new [] { "adTriggers" },
Encryption = new HlsEncryptionProperty {
SpekeKeyProvider = new SpekeKeyProviderProperty {
ResourceId = "resourceId",
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
CertificateArn = "certificateArn",
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
}
},
// the properties below are optional
ConstantInitializationVector = "constantInitializationVector",
EncryptionMethod = "encryptionMethod",
KeyRotationIntervalSeconds = 123,
RepeatExtXKey = false
},
IncludeDvbSubtitles = false,
IncludeIframeOnlyStream = false,
PlaylistType = "playlistType",
PlaylistWindowSeconds = 123,
ProgramDateTimeIntervalSeconds = 123,
SegmentDurationSeconds = 123,
StreamSelection = new StreamSelectionProperty {
MaxVideoBitsPerSecond = 123,
MinVideoBitsPerSecond = 123,
StreamOrder = "streamOrder"
},
UseAudioRenditionGroup = false
},
ManifestName = "manifestName",
MssPackage = new MssPackageProperty {
Encryption = new MssEncryptionProperty {
SpekeKeyProvider = new SpekeKeyProviderProperty {
ResourceId = "resourceId",
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
CertificateArn = "certificateArn",
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
}
}
},
ManifestWindowSeconds = 123,
SegmentDurationSeconds = 123,
StreamSelection = new StreamSelectionProperty {
MaxVideoBitsPerSecond = 123,
MinVideoBitsPerSecond = 123,
StreamOrder = "streamOrder"
}
},
Origination = "origination",
StartoverWindowSeconds = 123,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TimeDelaySeconds = 123,
Whitelist = new [] { "whitelist" }
};
Synopsis
Properties
Authorization | Parameters for CDN authorization. |
ChannelId | The ID of the channel associated with this endpoint. |
CmafPackage | Parameters for Common Media Application Format (CMAF) packaging. |
DashPackage | Parameters for DASH packaging. |
Description | Any descriptive information that you want to add to the endpoint for future identification purposes. |
HlsPackage | Parameters for Apple HLS packaging. |
Id | The manifest ID is required and must be unique within the OriginEndpoint. |
ManifestName | A short string that's appended to the end of the endpoint URL to create a unique path to this endpoint. |
MssPackage | Parameters for Microsoft Smooth Streaming packaging. |
Origination | Controls video origination from this endpoint. |
StartoverWindowSeconds | Maximum duration (seconds) of content to retain for startover playback. |
Tags | The tags to assign to the endpoint. |
TimeDelaySeconds | Minimum duration (seconds) of delay to enforce on the playback of live content. |
Whitelist | The IP addresses that can access this endpoint. |
Properties
Authorization
Parameters for CDN authorization.
virtual object Authorization { get; }
Property Value
System.Object
Remarks
ChannelId
The ID of the channel associated with this endpoint.
string ChannelId { get; }
Property Value
System.String
Remarks
CmafPackage
Parameters for Common Media Application Format (CMAF) packaging.
virtual object CmafPackage { get; }
Property Value
System.Object
Remarks
DashPackage
Parameters for DASH packaging.
virtual object DashPackage { get; }
Property Value
System.Object
Remarks
Description
Any descriptive information that you want to add to the endpoint for future identification purposes.
virtual string Description { get; }
Property Value
System.String
Remarks
HlsPackage
Parameters for Apple HLS packaging.
virtual object HlsPackage { get; }
Property Value
System.Object
Remarks
Id
The manifest ID is required and must be unique within the OriginEndpoint.
string Id { get; }
Property Value
System.String
Remarks
The ID can't be changed after the endpoint is created.
ManifestName
A short string that's appended to the end of the endpoint URL to create a unique path to this endpoint.
virtual string ManifestName { get; }
Property Value
System.String
Remarks
MssPackage
Parameters for Microsoft Smooth Streaming packaging.
virtual object MssPackage { get; }
Property Value
System.Object
Remarks
Origination
Controls video origination from this endpoint.
virtual string Origination { get; }
Property Value
System.String
Remarks
StartoverWindowSeconds
Maximum duration (seconds) of content to retain for startover playback.
virtual Nullable<double> StartoverWindowSeconds { get; }
Property Value
System.Nullable<System.Double>
Remarks
Omit this attribute or enter 0
to indicate that startover playback is disabled for this endpoint.
Tags
The tags to assign to the endpoint.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
TimeDelaySeconds
Minimum duration (seconds) of delay to enforce on the playback of live content.
virtual Nullable<double> TimeDelaySeconds { get; }
Property Value
System.Nullable<System.Double>
Remarks
Omit this attribute or enter 0
to indicate that there is no time delay in effect for this endpoint.
Whitelist
The IP addresses that can access this endpoint.
virtual string[] Whitelist { get; }
Property Value
System.String[]