Class Gateway
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.mediaconnect.alpha.Gateway
- All Implemented Interfaces:
IEnvironmentAware,IGatewayRef,IResource,IGateway,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-07-31T10:49:55.169Z")
@Stability(Experimental)
public class Gateway
extends Resource
implements IGateway
(experimental) AWS Elemental MediaConnect Gateway is a feature of MediaConnect that allows the deployment of on-premises resources for transporting live video to and from the AWS Cloud.
MediaConnect Gateway allows you to contribute live video to the AWS Cloud from on-premises hardware, as well as distribute live video from the AWS Cloud to your local data center.
Example:
Stack stack;
GatewayNetwork productionNetwork = GatewayNetwork.define(GatewayNetworkDefineProps.builder()
.cidrBlock("192.168.1.0/24")
.name("production-network")
.build());
Gateway gateway = Gateway.Builder.create(stack, "MyGateway")
.gatewayName("my-gateway")
.egressCidrBlocks(List.of("10.0.0.0/16"))
.networks(List.of(productionNetwork))
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.mediaconnect.alpha.IGateway
IGateway.Jsii$Default, IGateway.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(experimental) Uniquely identifies this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGateway(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedGateway(software.amazon.jsii.JsiiObjectRef objRef) Gateway(software.constructs.Construct scope, String id, GatewayProps props) -
Method Summary
Modifier and TypeMethodDescriptionaddNetwork(GatewayNetwork network) (experimental) Add a network to this gateway.static IGatewayfromGatewayArn(software.constructs.Construct scope, String id, String gatewayArn) (experimental) Creates a MediaConnect Gateway construct that represents an external (imported) MediaConnect Gateway.(experimental) The Amazon Resource Name (ARN) of the gateway.(experimental) A reference to a Gateway resource.(experimental) The current state of the gateway.(experimental) Create a CloudWatch metric for this gateway.metric(String metricName, MetricOptions props) (experimental) Create a CloudWatch metric for this gateway.(experimental) Metric for the number of packets dropped by egress bridges hosted on this gateway.(experimental) Metric for the number of packets dropped by egress bridges hosted on this gateway.(experimental) Metric for the total number of packets sent from egress bridges hosted on this gateway.(experimental) Metric for the total number of packets sent from egress bridges hosted on this gateway.(experimental) Metric for the number of packets dropped by ingress bridges hosted on this gateway.(experimental) Metric for the number of packets dropped by ingress bridges hosted on this gateway.(experimental) Metric for the total number of packets received by ingress bridges hosted on this gateway.(experimental) Metric for the total number of packets received by ingress bridges hosted on this gateway.Methods inherited from class software.amazon.awscdk.Resource
applyCrossStackReferenceStrength, applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource, withMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
-
-
Constructor Details
-
Gateway
protected Gateway(software.amazon.jsii.JsiiObjectRef objRef) -
Gateway
protected Gateway(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Gateway
@Stability(Experimental) public Gateway(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull GatewayProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
fromGatewayArn
@Stability(Experimental) @NotNull public static IGateway fromGatewayArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String gatewayArn) (experimental) Creates a MediaConnect Gateway construct that represents an external (imported) MediaConnect Gateway.- Parameters:
scope- This parameter is required.id- This parameter is required.gatewayArn- This parameter is required.
-
addNetwork
(experimental) Add a network to this gateway.- Parameters:
network- This parameter is required.
-
metric
@Stability(Experimental) @NotNull public Metric metric(@NotNull String metricName, @Nullable MetricOptions props) (experimental) Create a CloudWatch metric for this gateway. -
metric
(experimental) Create a CloudWatch metric for this gateway. -
metricEgressBridgeDroppedPackets
@Stability(Experimental) @NotNull public Metric metricEgressBridgeDroppedPackets(@Nullable MetricOptions props) (experimental) Metric for the number of packets dropped by egress bridges hosted on this gateway.- Specified by:
metricEgressBridgeDroppedPacketsin interfaceIGateway- Parameters:
props-
-
metricEgressBridgeDroppedPackets
(experimental) Metric for the number of packets dropped by egress bridges hosted on this gateway.- Specified by:
metricEgressBridgeDroppedPacketsin interfaceIGateway
-
metricEgressBridgeTotalPackets
@Stability(Experimental) @NotNull public Metric metricEgressBridgeTotalPackets(@Nullable MetricOptions props) (experimental) Metric for the total number of packets sent from egress bridges hosted on this gateway.- Specified by:
metricEgressBridgeTotalPacketsin interfaceIGateway- Parameters:
props-
-
metricEgressBridgeTotalPackets
(experimental) Metric for the total number of packets sent from egress bridges hosted on this gateway.- Specified by:
metricEgressBridgeTotalPacketsin interfaceIGateway
-
metricIngressBridgeDroppedPackets
@Stability(Experimental) @NotNull public Metric metricIngressBridgeDroppedPackets(@Nullable MetricOptions props) (experimental) Metric for the number of packets dropped by ingress bridges hosted on this gateway.- Specified by:
metricIngressBridgeDroppedPacketsin interfaceIGateway- Parameters:
props-
-
metricIngressBridgeDroppedPackets
(experimental) Metric for the number of packets dropped by ingress bridges hosted on this gateway.- Specified by:
metricIngressBridgeDroppedPacketsin interfaceIGateway
-
metricIngressBridgeTotalPackets
@Stability(Experimental) @NotNull public Metric metricIngressBridgeTotalPackets(@Nullable MetricOptions props) (experimental) Metric for the total number of packets received by ingress bridges hosted on this gateway.- Specified by:
metricIngressBridgeTotalPacketsin interfaceIGateway- Parameters:
props-
-
metricIngressBridgeTotalPackets
(experimental) Metric for the total number of packets received by ingress bridges hosted on this gateway.- Specified by:
metricIngressBridgeTotalPacketsin interfaceIGateway
-
getGatewayArn
(experimental) The Amazon Resource Name (ARN) of the gateway.- Specified by:
getGatewayArnin interfaceIGateway
-
getGatewayRef
(experimental) A reference to a Gateway resource.- Specified by:
getGatewayRefin interfaceIGatewayRef
-
getGatewayState
(experimental) The current state of the gateway.- Specified by:
getGatewayStatein interfaceIGateway
-