interface FileLocationOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.FileLocationOptions |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#FileLocationOptions |
Java | software.amazon.awscdk.services.medialive.alpha.FileLocationOptions |
Python | aws_cdk.aws_medialive_alpha.FileLocationOptions |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป FileLocationOptions |
Options for a URL-based file location (FileLocation.url).
Example
import { StringParameter } from 'aws-cdk-lib/aws-ssm';
declare const bucket: s3.IBucket;
declare const passwordParam: StringParameter;
// From an S3 bucket โ the channel role is granted read access automatically
const fromS3 = medialive.FileLocation.fromBucket(bucket, 'assets/slate.png');
// From a URL with optional credentials (SSM parameter read access auto-granted)
const fromUrl = medialive.FileLocation.url('https://origin.example.com/font.ttf', {
username: 'ingest-user',
password: passwordParam,
});
Properties
| Name | Type | Description |
|---|---|---|
| password? | IString | The SSM parameter that holds the password for accessing the upstream system. |
| username? | string | The username for accessing the upstream system. |
password?
Type:
IString
(optional, default: no credentials)
The SSM parameter that holds the password for accessing the upstream system.
The channel role is granted read access to the parameter automatically.
username?
Type:
string
(optional, default: no credentials)
The username for accessing the upstream system.

.NET
Go
Java
Python
TypeScript (