class S3OutputDestination
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.S3OutputDestination |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#S3OutputDestination |
Java | software.amazon.awscdk.services.medialive.alpha.S3OutputDestination |
Python | aws_cdk.aws_medialive_alpha.S3OutputDestination |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป S3OutputDestination |
A destination for an Archive or Frame Capture output group โ always an S3 bucket.
Example
declare const bucket: s3.IBucket;
declare const video: medialive.EncodeConfiguration;
declare const audio: medialive.EncodeConfiguration;
medialive.OutputGroupConfiguration.archive({
name: 'archive',
destinations: [medialive.S3OutputDestination.toBucket(bucket, 'archive/recording')],
rolloverInterval: Duration.seconds(600),
outputs: [{ encodes: [video, audio], outputName: 'archive_out' }],
});
Methods
| Name | Description |
|---|---|
| static to | Deliver to an S3 bucket (auto-grants write to the channel role). |
| static url(url) | Deliver to a raw s3ssl:// path (escape hatch when you don't have a bucket construct). |
static toBucket(bucket, prefix?)
public static toBucket(bucket: IBucket, prefix?: string): S3OutputDestination
Parameters
- bucket
IBucket - prefix
string
Returns
Deliver to an S3 bucket (auto-grants write to the channel role).
static url(url)
public static url(url: string): S3OutputDestination
Parameters
- url
string
Returns
Deliver to a raw s3ssl:// path (escape hatch when you don't have a bucket construct).

.NET
Go
Java
Python
TypeScript (