Class CfnPackagingConfiguration
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.mediapackage.CfnPackagingConfiguration
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:00.315Z")
@Stability(Stable)
public class CfnPackagingConfiguration
extends CfnResource
implements IInspectable
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
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.mediapackage.*; CfnPackagingConfiguration cfnPackagingConfiguration = CfnPackagingConfiguration.Builder.create(this, "MyCfnPackagingConfiguration") .id("id") .packagingGroupId("packagingGroupId") // the properties below are optional .cmafPackage(CmafPackageProperty.builder() .hlsManifests(List.of(HlsManifestProperty.builder() .adMarkers("adMarkers") .includeIframeOnlyStream(false) .manifestName("manifestName") .programDateTimeIntervalSeconds(123) .repeatExtXKey(false) .streamSelection(StreamSelectionProperty.builder() .maxVideoBitsPerSecond(123) .minVideoBitsPerSecond(123) .streamOrder("streamOrder") .build()) .build())) // the properties below are optional .encryption(CmafEncryptionProperty.builder() .spekeKeyProvider(SpekeKeyProviderProperty.builder() .roleArn("roleArn") .systemIds(List.of("systemIds")) .url("url") // the properties below are optional .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder().build()) .build()) .build()) .includeEncoderConfigurationInSegments(false) .segmentDurationSeconds(123) .build()) .dashPackage(DashPackageProperty.builder() .dashManifests(List.of(DashManifestProperty.builder() .manifestLayout("manifestLayout") .manifestName("manifestName") .minBufferTimeSeconds(123) .profile("profile") .scteMarkersSource("scteMarkersSource") .streamSelection(StreamSelectionProperty.builder() .maxVideoBitsPerSecond(123) .minVideoBitsPerSecond(123) .streamOrder("streamOrder") .build()) .build())) // the properties below are optional .encryption(DashEncryptionProperty.builder() .spekeKeyProvider(SpekeKeyProviderProperty.builder() .roleArn("roleArn") .systemIds(List.of("systemIds")) .url("url") // the properties below are optional .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder().build()) .build()) .build()) .includeEncoderConfigurationInSegments(false) .includeIframeOnlyStream(false) .periodTriggers(List.of("periodTriggers")) .segmentDurationSeconds(123) .segmentTemplateFormat("segmentTemplateFormat") .build()) .hlsPackage(HlsPackageProperty.builder() .hlsManifests(List.of(HlsManifestProperty.builder() .adMarkers("adMarkers") .includeIframeOnlyStream(false) .manifestName("manifestName") .programDateTimeIntervalSeconds(123) .repeatExtXKey(false) .streamSelection(StreamSelectionProperty.builder() .maxVideoBitsPerSecond(123) .minVideoBitsPerSecond(123) .streamOrder("streamOrder") .build()) .build())) // the properties below are optional .encryption(HlsEncryptionProperty.builder() .spekeKeyProvider(SpekeKeyProviderProperty.builder() .roleArn("roleArn") .systemIds(List.of("systemIds")) .url("url") // the properties below are optional .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder().build()) .build()) // the properties below are optional .constantInitializationVector("constantInitializationVector") .encryptionMethod("encryptionMethod") .build()) .includeDvbSubtitles(false) .segmentDurationSeconds(123) .useAudioRenditionGroup(false) .build()) .mssPackage(MssPackageProperty.builder() .mssManifests(List.of(MssManifestProperty.builder() .manifestName("manifestName") .streamSelection(StreamSelectionProperty.builder() .maxVideoBitsPerSecond(123) .minVideoBitsPerSecond(123) .streamOrder("streamOrder") .build()) .build())) // the properties below are optional .encryption(MssEncryptionProperty.builder() .spekeKeyProvider(SpekeKeyProviderProperty.builder() .roleArn("roleArn") .systemIds(List.of("systemIds")) .url("url") // the properties below are optional .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder().build()) .build()) .build()) .segmentDurationSeconds(123) .build()) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnPackagingConfiguration
.static interface
Holds encryption information so that access to the content can be controlled by a DRM solution.static interface
Parameters for a packaging configuration that uses Common Media Application Format (CMAF) packaging.static interface
Holds encryption information so that access to the content can be controlled by a DRM solution.static interface
Parameters for a DASH manifest.static interface
Parameters for a packaging configuration that uses Dynamic Adaptive Streaming over HTTP (DASH) packaging.static interface
UseencryptionContractConfiguration
to configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0.static interface
Holds encryption information so that access to the content can be controlled by a DRM solution.static interface
Parameters for an HLS manifest.static interface
Parameters for a packaging configuration that uses HTTP Live Streaming (HLS) packaging.static interface
Holds encryption information so that access to the content can be controlled by a DRM solution.static interface
Parameters for a Microsoft Smooth manifest.static interface
Parameters for a packaging configuration that uses Microsoft Smooth Streaming (MSS) packaging.static interface
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that provides encryption keys.static interface
Limitations for outputs from the endpoint, based on the video bitrate.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnPackagingConfiguration
(Construct scope, String id, CfnPackagingConfigurationProps props) Create a newAWS::MediaPackage::PackagingConfiguration
.protected
CfnPackagingConfiguration
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnPackagingConfiguration
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) for the packaging configuration.Parameters for CMAF packaging.Parameters for DASH-ISO packaging.Parameters for Apple HLS packaging.getId()
Unique identifier that you assign to the packaging configuration.Parameters for Microsoft Smooth Streaming packaging.The ID of the packaging group associated with this packaging configuration.getTags()
The tags to assign to the packaging configuration.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setCmafPackage
(IResolvable value) Parameters for CMAF packaging.void
Parameters for CMAF packaging.void
setDashPackage
(IResolvable value) Parameters for DASH-ISO packaging.void
Parameters for DASH-ISO packaging.void
setHlsPackage
(IResolvable value) Parameters for Apple HLS packaging.void
Parameters for Apple HLS packaging.void
Unique identifier that you assign to the packaging configuration.void
setMssPackage
(IResolvable value) Parameters for Microsoft Smooth Streaming packaging.void
Parameters for Microsoft Smooth Streaming packaging.void
setPackagingGroupId
(String value) The ID of the packaging group associated with this packaging configuration.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnPackagingConfiguration
protected CfnPackagingConfiguration(software.amazon.jsii.JsiiObjectRef objRef) -
CfnPackagingConfiguration
protected CfnPackagingConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnPackagingConfiguration
@Stability(Stable) public CfnPackagingConfiguration(@NotNull Construct scope, @NotNull String id, @NotNull CfnPackagingConfigurationProps props) Create a newAWS::MediaPackage::PackagingConfiguration
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) for the packaging configuration.You can get this from the response to any request to the packaging configuration.
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
The tags to assign to the packaging configuration. -
getId
Unique identifier that you assign to the packaging configuration. -
setId
Unique identifier that you assign to the packaging configuration. -
getPackagingGroupId
The ID of the packaging group associated with this packaging configuration. -
setPackagingGroupId
The ID of the packaging group associated with this packaging configuration. -
getCmafPackage
Parameters for CMAF packaging. -
setCmafPackage
Parameters for CMAF packaging. -
setCmafPackage
@Stability(Stable) public void setCmafPackage(@Nullable CfnPackagingConfiguration.CmafPackageProperty value) Parameters for CMAF packaging. -
getDashPackage
Parameters for DASH-ISO packaging. -
setDashPackage
Parameters for DASH-ISO packaging. -
setDashPackage
@Stability(Stable) public void setDashPackage(@Nullable CfnPackagingConfiguration.DashPackageProperty value) Parameters for DASH-ISO packaging. -
getHlsPackage
Parameters for Apple HLS packaging. -
setHlsPackage
Parameters for Apple HLS packaging. -
setHlsPackage
@Stability(Stable) public void setHlsPackage(@Nullable CfnPackagingConfiguration.HlsPackageProperty value) Parameters for Apple HLS packaging. -
getMssPackage
Parameters for Microsoft Smooth Streaming packaging. -
setMssPackage
Parameters for Microsoft Smooth Streaming packaging. -
setMssPackage
@Stability(Stable) public void setMssPackage(@Nullable CfnPackagingConfiguration.MssPackageProperty value) Parameters for Microsoft Smooth Streaming packaging.
-