Class GatewayProps
(experimental) Properties for the MediaConnect Gateway.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.MediaConnect.Alpha
Assembly: Amazon.CDK.AWS.MediaConnect.Alpha.dll
Syntax (csharp)
public class GatewayProps : IGatewayProps
Syntax (vb)
Public Class GatewayProps Implements IGatewayProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Stack stack;
var productionNetwork = GatewayNetwork.Define(new GatewayNetworkDefineProps {
CidrBlock = "192.168.1.0/24",
Name = "production-network"
});
var gateway = new Gateway(stack, "MyGateway", new GatewayProps {
GatewayName = "my-gateway",
EgressCidrBlocks = new [] { "10.0.0.0/16" },
Networks = new [] { productionNetwork }
});
Synopsis
Constructors
| GatewayProps() | (experimental) Properties for the MediaConnect Gateway. |
Properties
| EgressCidrBlocks | (experimental) The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway. |
| GatewayName | (experimental) The name of the gateway. |
| Networks | (experimental) The list of networks in the gateway. |
Constructors
GatewayProps()
(experimental) Properties for the MediaConnect Gateway.
public GatewayProps()
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Stack stack;
var productionNetwork = GatewayNetwork.Define(new GatewayNetworkDefineProps {
CidrBlock = "192.168.1.0/24",
Name = "production-network"
});
var gateway = new Gateway(stack, "MyGateway", new GatewayProps {
GatewayName = "my-gateway",
EgressCidrBlocks = new [] { "10.0.0.0/16" },
Networks = new [] { productionNetwork }
});
Properties
EgressCidrBlocks
(experimental) The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway.
public string[] EgressCidrBlocks { get; set; }
Property Value
string[]
Remarks
These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
Stability: Experimental
GatewayName
(experimental) The name of the gateway.
public string? GatewayName { get; set; }
Property Value
Remarks
This name can not be modified after the gateway is created.
Default: - autogenerated
Stability: Experimental
Networks
(experimental) The list of networks in the gateway.
public GatewayNetwork[] Networks { get; set; }
Property Value
Remarks
A gateway must have between 1 and 4 networks.
Provide the initial set here; use addNetwork() to add more (up to 4 total).
Stability: Experimental