Experimental
@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
RouterNetworkConfiguration Class
Factory class for creating Router Network configurations.
Example
ts
declare const stack: Stack;
declare const securityGroup: ec2.ISecurityGroup;
declare const subnet: ec2.ISubnet;
const privateInterface = new RouterNetworkInterface(stack, 'PrivateInterface', {
routerNetworkInterfaceName: 'private-interface',
configuration: RouterNetworkConfiguration.vpc({
securityGroups: [securityGroup],
subnet: subnet,
}),
});
Methods
publicNetwork(props?: PublicNetworkConfigurationProps): RouterNetworkConfiguration // chainable@staticmethod def public_network(props: typing.Optional[PublicNetworkConfigurationProps] = None) -> RouterNetworkConfigurationpublic static RouterNetworkConfiguration publicNetwork(PublicNetworkConfigurationProps props)public static RouterNetworkConfiguration PublicNetwork(PublicNetworkConfigurationProps? props = null)func PublicNetwork(Props PublicNetworkConfigurationProps) RouterNetworkConfigurationstatic#Create a public network configuration.
1 parameter · returns
Parameters
propspropspropspropsProps— Public network configuration properties.
Returns: RouterNetworkConfiguration instance for public setup
vpc(props: VpcNetworkConfigurationProps): RouterNetworkConfiguration // chainable@staticmethod def vpc(props: VpcNetworkConfigurationProps) -> RouterNetworkConfigurationpublic static RouterNetworkConfiguration vpc(VpcNetworkConfigurationProps props)public static RouterNetworkConfiguration Vpc(VpcNetworkConfigurationProps props)func Vpc(Props VpcNetworkConfigurationProps) RouterNetworkConfigurationstatic#Create a VPC network configuration.
1 parameter · returns
Parameters
propspropspropspropsProps— VPC network configuration properties.
Returns: RouterNetworkConfiguration instance for VPC setup