InputDestinationProperty Struct
The settings for a PUSH type 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 inputDestinationProperty: medialive.CfnInput.InputDestinationProperty = {
ip: 'ip',
network: 'network',
networkRoutes: [{
cidr: 'cidr',
gateway: 'gateway',
}],
port: 'port',
staticIpAddress: 'staticIpAddress',
streamName: 'streamName',
url: 'url',
vpc: {
availabilityZone: 'availabilityZone',
networkInterfaceId: 'networkInterfaceId',
},
};
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_property = medialive.CfnInput.InputDestinationProperty(
ip="ip",
network="network",
network_routes=[medialive.CfnInput.InputDestinationRouteProperty(
cidr="cidr",
gateway="gateway"
)],
port="port",
static_ip_address="staticIpAddress",
stream_name="streamName",
url="url",
vpc=medialive.CfnInput.InputDestinationVpcProperty(
availability_zone="availabilityZone",
network_interface_id="networkInterfaceId"
)
)
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.*;
InputDestinationProperty inputDestinationProperty = InputDestinationProperty.builder()
.ip("ip")
.network("network")
.networkRoutes(List.of(InputDestinationRouteProperty.builder()
.cidr("cidr")
.gateway("gateway")
.build()))
.port("port")
.staticIpAddress("staticIpAddress")
.streamName("streamName")
.url("url")
.vpc(InputDestinationVpcProperty.builder()
.availabilityZone("availabilityZone")
.networkInterfaceId("networkInterfaceId")
.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.MediaLive;
var inputDestinationProperty = new InputDestinationProperty {
Ip = "ip",
Network = "network",
NetworkRoutes = new [] { new InputDestinationRouteProperty {
Cidr = "cidr",
Gateway = "gateway"
} },
Port = "port",
StaticIpAddress = "staticIpAddress",
StreamName = "streamName",
Url = "url",
Vpc = new InputDestinationVpcProperty {
AvailabilityZone = "availabilityZone",
NetworkInterfaceId = "networkInterfaceId"
}
};
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"
inputDestinationProperty := &InputDestinationProperty{
Ip: jsii.String("ip"),
Network: jsii.String("network"),
NetworkRoutes: []interface{}{
&InputDestinationRouteProperty{
Cidr: jsii.String("cidr"),
Gateway: jsii.String("gateway"),
},
},
Port: jsii.String("port"),
StaticIpAddress: jsii.String("staticIpAddress"),
StreamName: jsii.String("streamName"),
Url: jsii.String("url"),
Vpc: &InputDestinationVpcProperty{
AvailabilityZone: jsii.String("availabilityZone"),
NetworkInterfaceId: jsii.String("networkInterfaceId"),
},
}
Properties
The system-generated static IP address of endpoint.
It remains fixed for the lifetime of the input.
networkoptionalstringnetworkoptionalstrnetworkoptionalStringNetworkoptionalstringNetworkoptional*string #The ID of the attached network.
networkRoutesoptionalIResolvable | IResolvable | CfnInput.network_routesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, InputDestinationRouteProperty]]]networkRoutesoptionalIResolvableNetworkRoutesoptionalIResolvableNetworkRoutesoptionalinterface{} #If the push input has an input location of ON-PREM it's a requirement to specify what the route of the input is going to be on the customer local network.
The port number for the input.
staticIpAddressoptionalstringstatic_ip_addressoptionalstrstaticIpAddressoptionalStringStaticIpAddressoptionalstringStaticIpAddressoptional*string #The static IP address for the input destination.
streamNameoptionalstringstream_nameoptionalstrstreamNameoptionalStringStreamNameoptionalstringStreamNameoptional*string #The stream name for the input destination.
This represents the endpoint that the customer stream will be pushed to.
vpcoptionalIResolvable | CfnInput.vpcoptionaltyping.Union[IResolvable, InputDestinationVpcProperty]vpcoptionalIResolvableVpcoptionalIResolvableVpcoptionalinterface{} #The properties for a VPC type input destination.