ArchiveOutputGroupProps
- class aws_cdk.aws_medialive_alpha.ArchiveOutputGroupProps(*, destinations, name, archive_s3_canned_acl=None, outputs=None, rollover_interval=None)
Bases:
object(experimental) Properties for an Archive (S3) output group.
- Parameters:
destinations (
Sequence[S3OutputDestination]) – (experimental) The destinations for this output group — one per pipeline. Array position determines the pipeline mapping: -destinations[0]→ Pipeline 0 -destinations[1]→ Pipeline 1 (STANDARD channels only) For a SINGLE_PIPELINE channel, provide exactly 1 destination. For a STANDARD channel, provide exactly 2 destinations.name (
str) – (experimental) The name of this output group. Used as the destination reference ID. Underscores are normalised to hyphens internally.archive_s3_canned_acl (
Optional[S3CannedAcl]) – (experimental) The S3 canned ACL to apply to each archive output. Default: - no canned ACLoutputs (
Optional[Sequence[Union[ArchiveOutputDefinition,Dict[str,Any]]]]) – (experimental) The outputs for this Archive output group. Default: - no initial outputsrollover_interval (
Optional[Duration]) – (experimental) The duration of each archive file (rollover interval). Default: Duration.seconds(300)
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# bucket: s3.IBucket # video: medialive.EncodeConfiguration # audio: medialive.EncodeConfiguration medialive.OutputGroupConfiguration.archive( name="archive", destinations=[medialive.S3OutputDestination.to_bucket(bucket, "archive/recording")], rollover_interval=Duration.seconds(600), outputs=[medialive.ArchiveOutputDefinition(encodes=[video, audio], output_name="archive_out")] )
Attributes
- archive_s3_canned_acl
(experimental) The S3 canned ACL to apply to each archive output.
- Default:
no canned ACL
- Stability:
experimental
- destinations
(experimental) The destinations for this output group — one per pipeline.
Array position determines the pipeline mapping:
destinations[0]→ Pipeline 0destinations[1]→ Pipeline 1 (STANDARD channels only)
For a SINGLE_PIPELINE channel, provide exactly 1 destination. For a STANDARD channel, provide exactly 2 destinations.
- Stability:
experimental
- name
(experimental) The name of this output group.
Used as the destination reference ID. Underscores are normalised to hyphens internally.
- Stability:
experimental
- outputs
(experimental) The outputs for this Archive output group.
- Default:
no initial outputs
- Stability:
experimental
- rollover_interval
(experimental) The duration of each archive file (rollover interval).
- Default:
Duration.seconds(300)
- Stability:
experimental