HlsIngestProperty Struct
HLS ingest configuration.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackage as mediapackage } from 'aws-cdk-lib';
const hlsIngestProperty: mediapackage.CfnChannel.HlsIngestProperty = {
ingestEndpoints: [{
id: 'id',
password: 'password',
url: 'url',
username: 'username',
}],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediapackage as mediapackage
hls_ingest_property = mediapackage.CfnChannel.HlsIngestProperty(
ingest_endpoints=[mediapackage.CfnChannel.IngestEndpointProperty(
id="id",
password="password",
url="url",
username="username"
)]
)
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.mediapackage.*;
HlsIngestProperty hlsIngestProperty = HlsIngestProperty.builder()
.ingestEndpoints(List.of(IngestEndpointProperty.builder()
.id("id")
.password("password")
.url("url")
.username("username")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaPackage;
var hlsIngestProperty = new HlsIngestProperty {
IngestEndpoints = new [] { new IngestEndpointProperty {
Id = "id",
Password = "password",
Url = "url",
Username = "username"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
hlsIngestProperty := &HlsIngestProperty{
IngestEndpoints: []interface{}{
&IngestEndpointProperty{
Id: jsii.String("id"),
Password: jsii.String("password"),
Url: jsii.String("url"),
Username: jsii.String("username"),
},
},
}
Properties
ingestEndpointsoptionalIResolvable | IResolvable | CfnChannel.ingest_endpointsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, IngestEndpointProperty]]]ingestEndpointsoptionalIResolvableIngestEndpointsoptionalIResolvableIngestEndpointsoptionalinterface{} #The input URL where the source stream should be sent.