RtmpPushSettingsProperty Struct Added in v2.278.0
The settings for the RTMP (Real-Time Messaging Protocol) source.
| 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 rtmpPushSettingsProperty: mediaconnect.CfnFlowSource.RtmpPushSettingsProperty = {
namingConfiguration: {
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_settings_property = mediaconnect.CfnFlowSource.RtmpPushSettingsProperty(
naming_configuration=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;
RtmpPushSettingsProperty rtmpPushSettingsProperty = RtmpPushSettingsProperty.builder()
.namingConfiguration(RtmpPushNamingConfigurationProperty.builder()
.automatic(automatic)
.manual(ManualRtmpPushNamingConfigurationProperty.builder()
.applicationName("applicationName")
.streamName("streamName")
.build())
.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 rtmpPushSettingsProperty = new RtmpPushSettingsProperty {
NamingConfiguration = 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{}
rtmpPushSettingsProperty := &RtmpPushSettingsProperty{
NamingConfiguration: &RtmpPushNamingConfigurationProperty{
Automatic: automatic,
Manual: &ManualRtmpPushNamingConfigurationProperty{
ApplicationName: jsii.String("applicationName"),
StreamName: jsii.String("streamName"),
},
},
}
Properties
namingConfigurationIResolvable | CfnFlowSource.naming_configurationtyping.Union[IResolvable, RtmpPushNamingConfigurationProperty]namingConfigurationIResolvableNamingConfigurationIResolvableNamingConfigurationinterface{} required #The configuration settings for the RTMP (Real-Time Messaging Protocol) application and stream names.