InputDestinationRequestProperty Struct
Settings that apply only if the input is a push type of input.
The parent of this entity is Input.
| 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_medialive as medialive } from 'aws-cdk-lib';
const inputDestinationRequestProperty: medialive.CfnInput.InputDestinationRequestProperty = {
network: 'network',
networkRoutes: [{
cidr: 'cidr',
gateway: 'gateway',
}],
staticIpAddress: 'staticIpAddress',
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_medialive as medialive
input_destination_request_property = medialive.CfnInput.InputDestinationRequestProperty(
network="network",
network_routes=[medialive.CfnInput.InputRequestDestinationRouteProperty(
cidr="cidr",
gateway="gateway"
)],
static_ip_address="staticIpAddress",
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.medialive.*;
InputDestinationRequestProperty inputDestinationRequestProperty = InputDestinationRequestProperty.builder()
.network("network")
.networkRoutes(List.of(InputRequestDestinationRouteProperty.builder()
.cidr("cidr")
.gateway("gateway")
.build()))
.staticIpAddress("staticIpAddress")
.streamName("streamName")
.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.MediaLive;
var inputDestinationRequestProperty = new InputDestinationRequestProperty {
Network = "network",
NetworkRoutes = new [] { new InputRequestDestinationRouteProperty {
Cidr = "cidr",
Gateway = "gateway"
} },
StaticIpAddress = "staticIpAddress",
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"
inputDestinationRequestProperty := &InputDestinationRequestProperty{
Network: jsii.String("network"),
NetworkRoutes: []interface{}{
&InputRequestDestinationRouteProperty{
Cidr: jsii.String("cidr"),
Gateway: jsii.String("gateway"),
},
},
StaticIpAddress: jsii.String("staticIpAddress"),
StreamName: jsii.String("streamName"),
}
Properties
networkoptionalstringnetworkoptionalstrnetworkoptionalStringNetworkoptionalstringNetworkoptional*string #networkRoutesoptionalIResolvable | IResolvable | CfnInput.network_routesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, InputRequestDestinationRouteProperty]]]networkRoutesoptionalIResolvableNetworkRoutesoptionalIResolvableNetworkRoutesoptionalinterface{} #staticIpAddressoptionalstringstatic_ip_addressoptionalstrstaticIpAddressoptionalStringStaticIpAddressoptionalstringStaticIpAddressoptional*string #streamNameoptionalstringstream_nameoptionalstrstreamNameoptionalStringStreamNameoptionalstringStreamNameoptional*string #The stream name (application name/application instance) for the location the RTMP source content will be pushed to in MediaLive.