@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.929Z") @Stability(value=Stable) public class CfnPackagingConfiguration extends CfnResource implements IInspectable
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")
.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")
.build())
.build())
.includeEncoderConfigurationInSegments(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")
.build())
// the properties below are optional
.constantInitializationVector("constantInitializationVector")
.encryptionMethod("encryptionMethod")
.build())
.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")
.build())
.build())
.segmentDurationSeconds(123)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnPackagingConfiguration.Builder
A fluent builder for
CfnPackagingConfiguration. |
static interface |
CfnPackagingConfiguration.CmafEncryptionProperty
Holds encryption information so that access to the content can be controlled by a DRM solution.
|
static interface |
CfnPackagingConfiguration.CmafPackageProperty
Parameters for a packaging configuration that uses Common Media Application Format (CMAF) packaging.
|
static interface |
CfnPackagingConfiguration.DashEncryptionProperty
Holds encryption information so that access to the content can be controlled by a DRM solution.
|
static interface |
CfnPackagingConfiguration.DashManifestProperty
Parameters for a DASH manifest.
|
static interface |
CfnPackagingConfiguration.DashPackageProperty
Parameters for a packaging configuration that uses Dynamic Adaptive Streaming over HTTP (DASH) packaging.
|
static interface |
CfnPackagingConfiguration.HlsEncryptionProperty
Holds encryption information so that access to the content can be controlled by a DRM solution.
|
static interface |
CfnPackagingConfiguration.HlsManifestProperty
Parameters for an HLS manifest.
|
static interface |
CfnPackagingConfiguration.HlsPackageProperty
Parameters for a packaging configuration that uses HTTP Live Streaming (HLS) packaging.
|
static interface |
CfnPackagingConfiguration.MssEncryptionProperty
Holds encryption information so that access to the content can be controlled by a DRM solution.
|
static interface |
CfnPackagingConfiguration.MssManifestProperty
Parameters for a Microsoft Smooth manifest.
|
static interface |
CfnPackagingConfiguration.MssPackageProperty
Parameters for a packaging configuration that uses Microsoft Smooth Streaming (MSS) packaging.
|
static interface |
CfnPackagingConfiguration.SpekeKeyProviderProperty
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that provides encryption keys.
|
static interface |
CfnPackagingConfiguration.StreamSelectionProperty
Limitations for outputs from the endpoint, based on the video bitrate.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnPackagingConfiguration(software.constructs.Construct scope,
String id,
CfnPackagingConfigurationProps props)
Create a new `AWS::MediaPackage::PackagingConfiguration`.
|
protected |
CfnPackagingConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnPackagingConfiguration(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The Amazon Resource Name (ARN) for the packaging configuration.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getCmafPackage()
Parameters for CMAF packaging.
|
Object |
getDashPackage()
Parameters for DASH-ISO packaging.
|
Object |
getHlsPackage()
Parameters for Apple HLS packaging.
|
String |
getId()
Unique identifier that you assign to the packaging configuration.
|
Object |
getMssPackage()
Parameters for Microsoft Smooth Streaming packaging.
|
String |
getPackagingGroupId()
The ID of the packaging group associated with this packaging configuration.
|
TagManager |
getTags()
The tags to assign to the packaging configuration.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCmafPackage(CfnPackagingConfiguration.CmafPackageProperty value)
Parameters for CMAF packaging.
|
void |
setCmafPackage(IResolvable value)
Parameters for CMAF packaging.
|
void |
setDashPackage(CfnPackagingConfiguration.DashPackageProperty value)
Parameters for DASH-ISO packaging.
|
void |
setDashPackage(IResolvable value)
Parameters for DASH-ISO packaging.
|
void |
setHlsPackage(CfnPackagingConfiguration.HlsPackageProperty value)
Parameters for Apple HLS packaging.
|
void |
setHlsPackage(IResolvable value)
Parameters for Apple HLS packaging.
|
void |
setId(String value)
Unique identifier that you assign to the packaging configuration.
|
void |
setMssPackage(CfnPackagingConfiguration.MssPackageProperty value)
Parameters for Microsoft Smooth Streaming packaging.
|
void |
setMssPackage(IResolvable value)
Parameters for Microsoft Smooth Streaming packaging.
|
void |
setPackagingGroupId(String value)
The ID of the packaging group associated with this packaging configuration.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnPackagingConfiguration(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnPackagingConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnPackagingConfiguration(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnPackagingConfigurationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
You can get this from the response to any request to the packaging configuration.
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getId()
@Stability(value=Stable)
public void setId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getPackagingGroupId()
@Stability(value=Stable)
public void setPackagingGroupId(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getCmafPackage()
@Stability(value=Stable)
public void setCmafPackage(@Nullable
CfnPackagingConfiguration.CmafPackageProperty value)
@Stability(value=Stable)
public void setCmafPackage(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getDashPackage()
@Stability(value=Stable)
public void setDashPackage(@Nullable
CfnPackagingConfiguration.DashPackageProperty value)
@Stability(value=Stable)
public void setDashPackage(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getHlsPackage()
@Stability(value=Stable)
public void setHlsPackage(@Nullable
CfnPackagingConfiguration.HlsPackageProperty value)
@Stability(value=Stable)
public void setHlsPackage(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getMssPackage()
@Stability(value=Stable)
public void setMssPackage(@Nullable
CfnPackagingConfiguration.MssPackageProperty value)
@Stability(value=Stable)
public void setMssPackage(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.