RtmpPushNamingConfigurationProperty Struct Added in v2.278.0
| 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_mediaconnect as mediaconnect } from 'aws-cdk-lib';
declare const automatic: any;
const rtmpPushNamingConfigurationProperty: mediaconnect.CfnFlowSource.RtmpPushNamingConfigurationProperty = {
automatic: automatic,
manual: {
applicationName: 'applicationName',
streamName: 'streamName',
},
};
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_mediaconnect as mediaconnect
# automatic: Any
rtmp_push_naming_configuration_property = mediaconnect.CfnFlowSource.RtmpPushNamingConfigurationProperty(
automatic=automatic,
manual=mediaconnect.CfnFlowSource.ManualRtmpPushNamingConfigurationProperty(
application_name="applicationName",
stream_name="streamName"
)
)
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.*;
Object automatic;
RtmpPushNamingConfigurationProperty rtmpPushNamingConfigurationProperty = RtmpPushNamingConfigurationProperty.builder()
.automatic(automatic)
.manual(ManualRtmpPushNamingConfigurationProperty.builder()
.applicationName("applicationName")
.streamName("streamName")
.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.MediaConnect;
var automatic;
var rtmpPushNamingConfigurationProperty = new RtmpPushNamingConfigurationProperty {
Automatic = automatic,
Manual = new ManualRtmpPushNamingConfigurationProperty {
ApplicationName = "applicationName",
StreamName = "streamName"
}
};
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"
var automatic interface{}
rtmpPushNamingConfigurationProperty := &RtmpPushNamingConfigurationProperty{
Automatic: automatic,
Manual: &ManualRtmpPushNamingConfigurationProperty{
ApplicationName: jsii.String("applicationName"),
StreamName: jsii.String("streamName"),
},
}
Properties
automaticoptionalanyautomaticoptionalAnyautomaticoptionalObjectAutomaticoptionalobjectAutomaticoptionalinterface{} #The automatic RTMP naming configuration, where MediaConnect generates the application and stream names.
This type does not require any additional settings.
manualoptionalIResolvable | CfnFlowSource.manualoptionaltyping.Union[IResolvable, ManualRtmpPushNamingConfigurationProperty]manualoptionalIResolvableManualoptionalIResolvableManualoptionalinterface{} #The manual RTMP naming configuration, where you specify the application and stream names.