AWS::MediaConnect::Gateway - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


The AWS::MediaConnect::Gateway resource is used to create a new gateway. Amazon Elemental MediaConnect Gateway is a feature of MediaConnect that allows the deployment of on-premises resources for transporting live video to and from the Amazon Cloud. MediaConnect Gateway allows you to contribute live video to the Amazon Cloud from on-premises hardware, as well as distribute live video from the Amazon Cloud to your local data center.


To declare this entity in your Amazon CloudFormation template, use the following syntax:


{ "Type" : "AWS::MediaConnect::Gateway", "Properties" : { "EgressCidrBlocks" : [ String, ... ], "Name" : String, "Networks" : [ GatewayNetwork, ... ] } }


Type: AWS::MediaConnect::Gateway Properties: EgressCidrBlocks: - String Name: String Networks: - GatewayNetwork



The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example,

Required: Yes

Type: Array of String

Update requires: Replacement


The name of the network. This name is used to reference the network and must be unique among networks in this gateway.

Required: Yes

Type: String

Update requires: Replacement


The list of networks that you want to add.

Required: Yes

Type: Array of GatewayNetwork

Minimum: 1

Maximum: 4

Update requires: Replacement

Return values


When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the gateway ARN. For example:

{ "Ref": "arn:aws:mediaconnect:us-east-1:111122223333:gateway:1-23aBC45dEF67hiJ8-12AbC34DE5fG:WestOffice" }

For more information about using the Ref function, see Ref.


The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.


The Amazon Resource Name (ARN) of the gateway.


The current state of the gateway. Possible values are: CREATING, ACTIVE, UPDATING, ERROR, DELETING, DELETED.