Experimental
@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
MediaStreamBase Struct
Base configuration for Media Stream.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediaconnect_alpha from '@aws-cdk/aws-mediaconnect-alpha';
const mediaStreamBase: mediaconnect_alpha.MediaStreamBase = {
mediaStreamId: 123,
mediaStreamName: 'mediaStreamName',
// the properties below are optional
description: 'description',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediaconnect_alpha as mediaconnect_alpha
media_stream_base = mediaconnect_alpha.MediaStreamBase(
media_stream_id=123,
media_stream_name="mediaStreamName",
# the properties below are optional
description="description"
)
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.mediaconnect.alpha.*;
MediaStreamBase mediaStreamBase = MediaStreamBase.builder()
.mediaStreamId(123)
.mediaStreamName("mediaStreamName")
// the properties below are optional
.description("description")
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaConnect.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect.Alpha;
var mediaStreamBase = new MediaStreamBase {
MediaStreamId = 123,
MediaStreamName = "mediaStreamName",
// the properties below are optional
Description = "description"
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import mediaconnect_alpha "github.com/aws/aws-cdk-go/awsmediaconnectalpha"
mediaStreamBase := &MediaStreamBase{
MediaStreamId: jsii.Number(123),
MediaStreamName: jsii.String("mediaStreamName"),
// the properties below are optional
Description: jsii.String("description"),
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#A description that can help you quickly identify what your media stream is used for.
Default: no description
mediaStreamIdnumbermedia_stream_idint | floatmediaStreamIdNumberMediaStreamIddoubleMediaStreamId*float64required#A unique identifier for the media stream.
mediaStreamNamestringmedia_stream_namestrmediaStreamNameStringMediaStreamNamestringMediaStreamName*stringrequired#A name that helps you distinguish one media stream from another.