Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
ArchiveContainer Class
The container (transport stream) for an Archive output.
Use the static factory methods to select between an MPEG-TS (M2TS) container or a raw container.
| Stability | Experimental |
|---|---|
| Source | lib/outputs.ts |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
declare const m2tsSettings: medialive_alpha.M2tsSettings;
const archiveContainer = medialive_alpha.ArchiveContainer.m2ts(/* all optional props */ m2tsSettings);
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha
# m2ts_settings: medialive_alpha.M2tsSettings
archive_container = medialive_alpha.ArchiveContainer.m2ts(m2ts_settings)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.alpha.*;
M2tsSettings m2tsSettings;
ArchiveContainer archiveContainer = ArchiveContainer.m2ts(m2tsSettings);
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;
M2tsSettings m2tsSettings;
var archiveContainer = ArchiveContainer.M2ts(m2tsSettings);
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"
var m2tsSettings M2tsSettings
archiveContainer := medialive_alpha.ArchiveContainer_M2ts(m2tsSettings)
Initializer
ts
new ArchiveContainer()
python
ArchiveContainer()
java
new ArchiveContainer()
csharp
new ArchiveContainer()
go
NewArchiveContainer()
Methods
m2ts(settings?: M2tsSettings): ArchiveContainer // chainable@staticmethod def m2ts(settings: typing.Optional[M2tsSettings] = None) -> ArchiveContainerpublic static ArchiveContainer m2ts(M2tsSettings settings)public static ArchiveContainer M2ts(M2tsSettings? settings = null)func M2ts(Settings M2tsSettings) ArchiveContainer static #An MPEG-TS (M2TS) container, optionally configured via `M2tsSettings`.
raw(): ArchiveContainer // chainable@staticmethod def raw() -> ArchiveContainerpublic static ArchiveContainer raw()public static ArchiveContainer Raw()func Raw() ArchiveContainer static #A raw container (no transport-stream wrapping).